Re: Trouble recompiling

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

 



On Tue, 21 Oct 2003 christopher.j.regan@xxxxxxxxxxx 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)


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux