I have a place where in my code the following line: long long maxCPUTime = 4294967296;
(the largest number of the long type may be 4294967296 -1, so I used long long)
The problem is that when compiling I get the following error:
error: integer constant is too large for 'long' type
As if the eclipses did not recognize that I wrote "long long", and he believes that I wrote "long".
(I am using linux os)
Does anyone know why I am getting this error?
source share