This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Trouble recompiling
- From: Liguo Song <liguo dot song at vanderbilt dot edu>
- To: christopher dot j dot regan at philips dot com
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sun, 26 Oct 2003 10:52:57 -0600 (CST)
- Subject: Re: Trouble recompiling
- Reply-to: Liguo Song <liguo dot song at vanderbilt dot edu>
On Tue, 21 Oct 2003 christopher.j.regan@philips.com wrote:
> Hello
> We currently have code compiled for redhat 7.3 and we are trying to upgrade to 9.0 and recompile programs in the process. Anyway the main problem is during compilation we include a file called mybastring.h which is just a modified version of bastring.h
> with string locking. The problem comes with the includes that bastring.h includes. They do not seem to compile under the version of gcc that comes with redhat 9. There are all kinds of errors such as "ISO C++ forbids". This makes me think there is now a
> replacement for bastring under the current version of gcc. I have tried using all kinds of different compiler switches and have tried both gcc and g++. Nothing seems to help with the problem. Any help would be appreciated. If you need more info i can do
> that. Thank You for your help
>
>
> Christopher Regan
> Factory Applications Programmer
> (845) 902-1313
>
> "That's why i'm easy, i'm easy like sunday morning."
>
>
Some info on the version of gcc would be more helpful here than the
version of RH. :)
But here is my guess anyway. Do you have "using namespace std;" in
your code?
Good luck.
Liguo (Leo)