Re: GCC
john@legolas:~/projects/misc/namespace1$ cat foo.cpp
#include <iostream.h>
int main()
{
cout << "Hello World" << endl;
return 0;
}
john@legolas:~/projects/misc/namespace1$ g++ --version
g++ (GCC) 3.3.2 (Debian)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
john@legolas:~/projects/misc/namespace1$ g++ -Wall foo.cpp In file
included from /usr/include/c++/3.3/backward/iostream.h:31,
from foo.cpp:1:
/usr/include/c++/3.3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or
antiquated header. Please consider using one of the 32 headers found in
section 17.4.1.2 of the C++ standard. Examples include substituting the
<X> header for the <X.h> header for C++ includes, or <sstream> instead
of the deprecated header <strstream.h>. To disable this warning use
-Wno-deprecated.
GCC 2.95 wasn't C++ compliant at all (didn't it get released before
1998?)
--
John L. Fjellstad
web: http://www.fjellstad.org/ Quis custodiet ipsos custodes
Reply to:
- Follow-Ups:
- Re: GCC
- From: Dave Carrigan <dave@rudedog.org>
- References:
- GCC
- From: Debian User <bfarnell@knology.net>
- Re: GCC
- From: Werner Mahr <werner@vollstreckernet.de>
- Re: GCC
- From: Johann Koenig <explosive@hvc.rr.com>
- Re: GCC
- From: Roberto Sanchez <rcsanchez97@yahoo.es>
- Re: GCC
- From: Mike M <linux-support@earthlink.net>