This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Override functions (Migrating C++ source from Microsoft Windows NT to SCO Unix)
- To: gcc at gcc dot gnu dot org
- Subject: Override functions (Migrating C++ source from Microsoft Windows NT to SCO Unix)
- From: Timothy_Ko at nag dot national dot com dot au
- Date: Thu, 29 Mar 2001 11:30:41 +1000
- cc: Mark_Hansen at nag dot national dot com dot au, Peter_Eros at nag dot national dot com dot au
Hi,
I get around the "__int64" by using extra coding "#ifdef UNIX" with replacing
"__int64" to "long" .
However, the problem with "sstream: No such file or directory" still exists,
although <iostream>, <fstream>, <string> used without complaint.
On the other hand, on the orginal source in NT, we have a NabString class which
override isalnum function by
public:
virtual const bool NabString::isalnum() const;
that was working in NT.
but in Unix, g++ returns
NabString.h:622: macro `isalpha' used without args
I works if I rename the function to something else, but this is not what we
want.
Thanks
Tim
__________________________________________________________________________
The information contained in this email communication may be confidential. You
should only read, disclose, re-transmit, copy, distribute, act in reliance on or
commercialise the information if you are authorised to do so. If you are not the
intended recipient of this email communication, please notify us immediately by
email to NABpost@nag.national.com.au or reply by email direct to the sender
and then destroy any electronic or paper copy of this message. Any views
expressed in this email communication are those of the individual sender, except
where the sender specifically states them to be the views of a member of the
National Australia Bank Group of companies. The National Australia Bank Group
of companies does not represent, warrant or guarantee that the integrity of this
communication has been maintained nor that the communication is free of errors,
virus or interference.