Size of basic types

Allan Sandfeld Jensen linux@carewolf.com
Fri Dec 3 08:38:00 GMT 2004


On Thursday 02 December 2004 22:04, Jean-Eric Cuendet wrote:
> So I changed OurInt to int instead of long. But then, I have problems
> because we have overloaded methods with OurInt and OurBool, which were
> different in 32bits mode (int and long) but are the same now in 64bits
> (the 2 are int)...
> Any idea how to resolve that?
>
You have use long where you should have used int, so:
#define long int

`Allan



More information about the Gcc mailing list