This warning is triggered multiple times in my code by the same declaration, which reads :
// Spreadsheet structure typedef struct SPREADSHEET { int ID
Just remove "typedef". You declare a new struct and the typedef keyword isn't used for that. You would use typedef to define a new name for an existing type, like this:
typedef
typedef int number;