From: Cesar Rabak Newsgroups: comp.os.msdos.djgpp Subject: Re: Compile question need help Date: Sat, 25 Jan 2003 14:09:31 -0200 Lines: 22 Message-ID: <3E32B6BB.CDA59921@uol.com.br> References: NNTP-Posting-Host: 200-221-14-196.speedy.speeduol.com.br (200.221.14.196) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1043510882 31196727 200.221.14.196 (16 [39218]) X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: pt-BR,es,en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hans-Bernhard Broeker wrote: > > jeendarh AT admtek DOT com DOT tw wrote: > > Dear, > > I try to read FAQ but it can not solve my question. I collect some > > information to you for help...... > > The reason is your source code. It's in an outdated dialect of C++, > which the newest version of the GNU C++ compiler no longer accepts. > > Re-check your textbooks to learn about namespaces, and the "std" > namespace in particular. Besides, since the OP is trying to compile and link in a single call to gcc, he has to call gxx instead of gcc in order the linking phase be aware to link in the C++ libs. -- Cesar Rabak GNU/Linux User 52247. Get counted: http://counter.li.org/