Hello list,
The following compiler warning annoyed the crap out of me:
json.cc:224:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
Because the actual minint in C for a 32-bit integer appears to be -214748364
7, the compiler raises this warning.
It does however fix it properly, so really no big deal..
But as I said, it anoyed the crap out of me, so I did a little research on how to get rid of this and I believe that in structures.h we should define MININT as:
#define MININT ((int32) -
2147483648UL)
Any thoughts on this are appreciated.
Cheers, Tim