103 | @@ -117,7 +104,7 @@ inline void MilliSleep(int64_t n)
104 | * Parameters count from 1.
105 | */
106 | #ifdef __GNUC__
107 | -#define ATTR_WARN_PRINTF(X,Y) __attribute__((format(printf,X,Y)))
108 | +#define ATTR_WARN_PRINTF(X,Y) __attribute__((format(gnu_printf,X,Y)))
It seems this did the final magic, I get no more warning with MinGW on Win7 x64. Drawback could be that we broke MSVC support? I really dunno, as I never tried that compiler and wont in the near future...
In theory, yes. But as I understand it, newer MSVCs (on Vista and newer) also support C99 syntax for printf format characters.
Though I'm sure there are many small things that would have the be changed to successfully build in MSVC.
No one is bothering with that anyway at the moment.
@laanwj Perhaps we should remove MSVC compatibility changes that are all over the code then? No one is maintaining them, so what benefit have they?
Don't bother. I don't want to intentionally make it harder to build with MSVC.