Mail Archives: djgpp/2003/02/05/10:00:29
Hey Gang:
I just upgraded from the old 2.72 version of DJGPP to the newest
version 3.21.
All my exisiting C and C++ programs compile and run fine but I get an
information message that I never got before when I compile.
The message is:f
In file included from c:/djgpp/lang/cxx/3.21/backward/iostream.h:31,
from maketree.cpp:6:
c:/djgpp/lang/cxx/3.21/backward/backward_warning.h:32:2: warning:
#warning This
file includes at least one deprecated or antiquated header. Please
consider usin
g 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 <s
stream> instead of the deprecated header <strstream.h>. To disable
this warning
use -Wno-deprecated.
The program still runs fine....I'm just not sure how to correct this
message. If I just say #include <iostream>, the compile generates
lots of errors as it doesn't find cout and the functions.
Should I just use the command flags to suppress it or what?
Thanks!
Drew
- Raw text -