X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <20031024174054.91830.qmail@web41507.mail.yahoo.com> Date: Fri, 24 Oct 2003 10:40:54 -0700 (PDT) From: Jason Champion Subject: Deprecated iostream.h trouble To: djgpp AT delorie DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Reply-To: djgpp AT delorie DOT com This is the problem I'm trying to resolve: ---- In file included from c:/djgpp/lang/cxx/3.31/backward/iostream.h:31, From zone/writezon.cpp:10 C:/djgpp/lang/cxx/3.31/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 header for the header for C++ includes or instead of the deprecated header . To disable this warning use –Wno-deprecated. ---- Changing the #include to reference instead of gives the following error: Writezon.cpp:299: error: ‘cout’ undeclared (first use this function) Writezon.cpp:299: error: (Each undeclared identifier is reported only once) I see right in the iostream include that it defines the cout function. Is there some other include I need to add or some additional library I need to link to in order for this to work without errors? Cout isn’t exactly an obscure function… I seem to get strange text display glitches on occasion and I suspect that dealing with this might help. At the very least clearing up the warning would give me some peace of mind. If you can offer any help or suggestions I'd appreciate it. Thanks, Xangis __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com