help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with gcc-3.4.2


From: Paul Pluzhnikov
Subject: Re: Problem with gcc-3.4.2
Date: Wed, 30 Jan 2008 23:03:59 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

GNU Forum <bt.tukaram@gmail.com> writes:

> In My application iam using  #include<sstream> header to convert from
> integer to string. And it is working 
> fine with gcc-4.2.1. When i try to Run with gcc-3.4.2 it is giving error :
> <sstream> not found.
> Please help me what i have to do make it work.

Please read this:
 http://catb.org/esr/faqs/smart-questions.html

What command line did you use to compile your source, and what is
the name of the source file?

It is likely that you did something like this:

  gcc -c foo.c

There are two problems with above: use 'g++' to compile C++ sources
instead of 'gcc' -- they are not the same thing. Also, do not name
C++ sources with .c extension. Use .cc, .cpp, or .cxx instead.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]