Checking long long type limits using
std::cout << std::numeric_limits<long long>::min();
I get -9223372036854775808
However, when compiling the following code:
int main() { long long l; l=-9223372036854775808LL; }
I get warnings:
test.cpp:3:7: warning: integer constant is so large that it is unsigned. test.cpp:3: warning: this decimal constant is unsigned only in ISO C90
What am I missing? Thanks so much in advance for your help.
Giorgio
source share