Problems with egcs.
Ernesto Dos Santos Afonso
ernestod@inter-soft.com
Wed Oct 28 11:58:00 GMT 1998
Hello:
I'm Ernesto Dos Santos Afonso and I've just installed the egcs relase
1.1 on a linux 5.0. Unfortunately I had some problems when compiling
some c++ sources. Until today I was using the gcc relase 2.7.2 and
everything was working fine. But I had to change it for the relase 2.8.1
in order to make the port in a Sun Solaris 2.6 (for this solaris version
the older relase of gcc is 2.8.0 but not 2.7.2). Using that gcc (relase
2.8.1) I had some problems, so I decided to make a test with the egcs
1.1 (I installed it on a linux 5.0 because I don't have a solaris sparc
here), and I had the same problems.
I'm writing you because I really don't know what could it be, and it's
taking me off a lot of time. If you have any idea or you know about
someone that had a similar problem I'd really apreciate your help. I've
copied here the messages that it's giving me:
gcc -I. -Iinclude -Iibincl -I/home/ernestod/v431-ipc/v431/include -O2 -c
iby.cc
iby.y: In function `int iby_parse()':
iby.y:184: call of overloaded `toString (String, int)' is ambiguous
/home/ernestod/v431-ipc/v431/include/ifound/str.h:61: candidates are:
toString(Int, Int, Int)
/home/ernestod/v431-ipc/v431/include/ifound/str.h:62:
toString(String ...)
/home/ernestod/v431-ipc/v431/include/ifound/itypes.h:97:
toString(const Num &, Int, Int)
make: *** [iby.o] Error 1
It should use 'toString(String ...)' but it doesn't know what to do.
it's just an overloaded method of a class, but I don't know why it
doesn't understand it.
I hope you can help me or tell me who can. Anyway, thank you very much.
Warm regards.
Ernesto Dos Santos Afonso.
PD: Sorry for my bad english.
--
-----------------------------------------------------------------
Ernesto Dos Santos Afonso InterSoft Argentina S.A.
Pumas Team Av. Cordoba 883 Piso 9
mailto:ernestod@inter-soft.com (1054) Buenos Aires - Argentina
http://www.inter-soft.com Voice: +54-1-318-8900
Fax: +54-1-318-8997
-----------------------------------------------------------------
More information about the Gcc-bugs
mailing list