int problems on amd64



Hi,

I have just switched to a brand new AMD 64, but I am experiencing some
problems in compiling my software.
Basically, gcc complains that my "int" is smaller than "void *" and that
the cast is dangerous. I know that int is just 32bit while "void *" on
AMD64 is 64bit but this is quite a problem :-(
Expecially, functions like setjmp() takes an int as argument and this is
*wrong* given the 64bit addressing.

What am I missing? Is there any gcc flag or something I could do to
remove these warnings?

Thanks,

        Fabio



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]