This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7672: can't compile c++ files
- From: pme at gcc dot gnu dot org
- To: bradshaw at mcs dot anl dot gov, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 21 Aug 2002 03:42:23 -0000
- Subject: Re: c++/7672: can't compile c++ files
- Reply-to: pme at gcc dot gnu dot org, bradshaw at mcs dot anl dot gov, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: can't compile c++ files
State-Changed-From-To: open->closed
State-Changed-By: pme
State-Changed-When: Tue Aug 20 20:42:23 2002
State-Changed-Why:
Your code is no longer valid C++ (and hasn't been,
technically, since 1998). When using elements from the
std namespace, you must qualify them:
std::cout << "blah" << std::endl;
A good c++ textbook will explain further.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7672