From: doubtme AT my-deja DOT com Newsgroups: comp.os.msdos.djgpp Subject: Updating GPP/GCC to a new version... Date: Thu, 28 Dec 2000 03:32:55 GMT Organization: Deja.com Lines: 40 Message-ID: <92ec97$fbq$1@nnrp1.deja.com> NNTP-Posting-Host: 203.173.237.5 X-Article-Creation-Date: Thu Dec 28 03:32:55 2000 GMT X-Http-User-Agent: Mozilla/4.5 [en] (Win95; I) X-Http-Proxy: 1.0 x56.deja.com:80 (Squid/1.1.22) for client 203.173.237.5 X-MyDeja-Info: XMYDJUIDdoubtme To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi everyone... Just a quick question in advance of trying to upgrade GCC/GPP so I don't screw it up and spend a long time downloading stuff at 33.6 that I don't need... The following program, with my version of GPP and GCC (2.8.1) fails to compile with a number of errors, each basically saying "namespaces not implemented in this version." Is this correct? Or am I doing something really weird? If namespaces aren't implemented, what would I need to download to update everything to the latest version? Do I have to re-download all of DJGPP? or just the GCC and GPP files? Any help, advice, or best-guesses would be much appreciated! Christo Fogelberg The Program (all in one file): #include namespace foo { void f() { cout << "foo!"; } } int main() { for(int i = 1; i <= 10; i++) { cout << i << ": "; foo::f(); cout << endl; } return 0; } Sent via Deja.com http://www.deja.com/