This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Gcc Compile time error in Red hat 9


> Whatever I do I always get the same error message (gcc version 3.2.2
> 20030222 (Red Hat Linux 3.2.2-5))
> 
>       test.c:1:19: iostream.h: No such file or directory
> test.c: In function `main':
> test.c:6: `cout' undeclared (first use in this function)
> test.c:6: (Each undeclared identifier is reported only once
> test.c:6: for each function it appears in.)
> test.c:6: parse error before "hello"
> test.c:6:16: warning: multi-line string literals are deprecated
> test.c:6:16: missing terminating " character
> test.c:6:16: possible start of unterminated string literal
> [root@localhost temp]#

You'll need to make sure that gcc, gcc-c++, libstdc++, and
libstdc++-devel packages are installed.

When they are, you'll find a directory like so:

/usr/include/c++/3.2.2

with a file:

/usr/include/c++/3.2.2/backward/iostream.h

-benjamin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]