This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
64-Bit Operator Overloading Adventure
- From: "Brian D. McGrew" <brian at visionpro dot com>
- To: <gcc-help at gcc dot gnu dot org>, <gcc at gcc dot gnu dot org>
- Date: Fri, 11 Jan 2008 09:59:41 -0800
- Subject: 64-Bit Operator Overloading Adventure
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