64-Bit Operator Overloading Adventure

Brian D. McGrew brian@visionpro.com
Sat Jan 12 22:55:00 GMT 2008


Good morning,

I've got a codebase that's a hundred years old, started in life on Sun3
and have evolved to 32-Bit X86 Linux (Fedora 5).  We're trying to move
to 64-Bit now and this same code that has compiled for years is barking
about operators cannot be overloaded.

This is a Fedora 8 x86-64 machine using gcc-4.1.2 (stock Fedora).  I'm
brand new to 64-Bit but all of this compiles and runs just fine on
32-Bit using the same compiler!  

I've already changed long to int in many places to maintain 32-bit where
I know I need it but I don't think that has anything to do with the
errors from overloaded operators.

Can anyone offer me some help or point me in the right direction?

Thanks,

-brian



More information about the Gcc-help mailing list