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]

Re: Migrating C++ source from Microsoft Windows NT to SCO Unix


On Thu, Mar 29, 2001 at 11:19:49AM +1000, Timothy_Ko@nag.national.com.au wrote:
> 
> 
> Hi,
> 
> Recently, we downloaded and installed the current release (2.95.2) of GNU
> Compiler Collection (GCC) for a SCO OpenServer 5.05 Unix machine.
> 
> Some of the errors like:
> 
> 1.   NabTime.h:82: syntax error before `;'
> 
>      where we declare as:
>      __int64         m_iTime64;

Does adding:
#include <stdint.h>
and changing the line to:
int64_t  m_iTime64;

fix that?

> 
> 2.   NabString.h:594: macro `isalnum' used without args
> 
>      where we declare as:
>      virtual const bool NabString::isalnum() const;

isalnum() may be implemented as a macro in ctype.h, so implementing
it yourself as a function could be a problem.
 
> 3.   NabString.h:44: sstream: No such file or directory

sstream is not in gcc 2.95.2 unfortunately.

-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@mediaone.net          


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