warning: namespaces are mostly broken in this version of g++

S

Statesman

Hi,

I am trying to compile a source code with gcc 2.7.2.3. Here is one of
the warning I get:
warning: namespaces are mostly broken in this version of g++

Does anybody know what it means? I think it might the reason of the
erros I get afterwards...
 
S

Steven T. Hatton

Statesman said:
Hi,

I am trying to compile a source code with gcc 2.7.2.3. Here is one of
the warning I get:
warning: namespaces are mostly broken in this version of g++

Does anybody know what it means? I think it might the reason of the
erros I get afterwards...

This is probably better director to gnu.g++.help. And is topic for this
newsgroup. But as a quick suggestion, try getting a newer version of GCC.
The version you are using is ancient.

You should probably take a look at this if you are interested in
participating in comp.lang.c++:
http://www.parashift.com/c++-faq-lite/
 
B

Bruce Coryell

Statesman said:
Hi,

I am trying to compile a source code with gcc 2.7.2.3. Here is one of
the warning I get:
warning: namespaces are mostly broken in this version of g++

Does anybody know what it means? I think it might the reason of the
erros I get afterwards...

Install Fedora Core 2 (or higher) - you'll get gcc 3.3.3 - works great.
 
R

Rolf Magnus

Statesman said:
Hi,

I am trying to compile a source code with gcc 2.7.2.3. Here is one of
the warning I get:
warning: namespaces are mostly broken in this version of g++

Does anybody know what it means?

It means just what it says. That this version of g++ doesn't properly
support namespaces. Why are you using such a very old compiler anyway?
I think it might the reason of the erros I get afterwards...

Then get a newer version.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top