nanogui: xfreecell compiling error


Previous by date: 28 Sep 2006 16:10:57 +0100 Re: Using own true type font with Nano-X, Greg Haerr
Next by date: 28 Sep 2006 16:10:57 +0100 Re: Problems with image diaplying, Greg Haerr
Previous in thread: 28 Sep 2006 16:10:57 +0100 Re: xfreecell compiling error, celeber2.gmail.com
Next in thread:

Subject: Re: [nanogui] xfreecell compiling error
From: "Greg Haerr" ####@####.####
Date: 28 Sep 2006 16:10:57 +0100
Message-Id: <0aea01c6e310$4b0bbc40$2f01a8c0@HaydenLake>

: I got the error when I attempt to make xfreecell, but I am not good at C
: ++. Can anyone gives me some ideas? Thanks!
:
: g++ -c -g -Wall -DBOGUSRANDOM
: -I/work/linux/microwindows-0.91/src/include card. cpp
: widget/widget.h:45: warning: ‘class NSComponent’ has virtual functions
: but non-virtual destructor
: widget/widget.h:119: error: ISO C++ forbids declaration of ‘vector’ with
: no type
: widget/widget.h:119: error: expected ‘;’ before ‘<’ token
: widget/widget.h:176: error: ‘string’ does not name a type

You're likely using a new C++ compiler.  Go back to an old
version.  Unlike C, C++ code requires compiler versions
synchronized to the source, due to ridiculous changing
standards and implementations.  Otherwise, learn all the
arcane aspects of C++ and change the .h header files
to match the version of C++ you're running....

Regards,

Greg


Previous by date: 28 Sep 2006 16:10:57 +0100 Re: Using own true type font with Nano-X, Greg Haerr
Next by date: 28 Sep 2006 16:10:57 +0100 Re: Problems with image diaplying, Greg Haerr
Previous in thread: 28 Sep 2006 16:10:57 +0100 Re: xfreecell compiling error, celeber2.gmail.com
Next in thread:


Powered by ezmlm-browse 0.20.