[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
xfreecell compiling error
From: ####@####.#### ####@####.#### Date: 25 Sep 2006 10:07:32 +0100 Message-Id: <1159175301.6439.13.camel@fc5> Dear All, 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 Best regards! Alex | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: xfreecell compiling error
From: ####@####.#### ####@####.#### Date: 26 Sep 2006 07:14:17 +0100 Message-Id: <1159251245.2580.1.camel@fc5> On Mon, 2006-09-25 at 17:08 +0800, ####@####.#### wrote: > Dear All, > > 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 > > Best regards! > Alex > Can anyone help to answer this question? Thanks! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |