c++/7672: can't compile c++ files
pme@gcc.gnu.org
pme@gcc.gnu.org
Tue Aug 20 20:42:00 GMT 2002
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
More information about the Gcc-bugs
mailing list