This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Size of basic types


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]