On Mon, Feb 03, 2003 at 09:55:15PM +0000, Paul wrote:
> > Works fine for me, with a deprecated error message (see below). Your error
> > messages indicate that <iostream.h> is not being included properly. I have
> > no idea why. Try compiling with the "-Wall" switch (turn all warnings on).
> >
> > tnw13_l [/tmp]
> > (-:g++ -Wall -ansi -pedantic cprog.cpp
> > In file included from /usr/include/c++/3.2/backward/iostream.h:31,
> > from cprog.cpp:2:
> > /usr/include/c++/3.2/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.
This warning is refering to Paul's use of iostream.h where he should be
using iostream, e.g.:
#include <iostream>
Cheers,
-mjg
--
Matthew Gregan |/
/| [EMAIL PROTECTED]