From: Griffon26 <gri...@ly...> - 2002-08-28 07:34:58
|
Ok, I'll install gcc 3.2 as there seem to be several bugs in gcc 3.1 related to templates. On Tue, 27 Aug 2002, Daniel Horn wrote: > that looks like a compiler bug.... I think someone figured out a > workaround.... did anyone? > > > On Tuesday 27 August 2002 01:18 pm, Griffon26 wrote: > > A couple of errors further, I'm running into this: > > > > cmd/libcmd.a(planet.o): In function `std::basic_string<char, > > std::char_traits<char>, std::allocator<char> >::assign(char const*, > > unsigned)': > > /usr/local/gcc-3.1/include/g++-v3/bits/basic_string.h:494: multiple > > definition of `std::basic_string<char, std::char_traits<char>, > > std::allocator<char> >::assign(char const*, unsigned)' > > cmd/libcmd.a(unit.o):/usr/local/gcc-3.1/include/g++-v3/bits/basic_string.h: > >494: first defined here > > cmd/ai/libai.a(firekeyboard.o): In function `std::basic_string<char, > > std::char_traits<char>, std::allocator<char> >::assign(char const*, > > unsigned)': > > /usr/local/gcc-3.1/include/g++-v3/bits/basic_string.h:494: multiple > > definition of `std::basic_string<char, std::char_traits<char>, > > std::allocator<char> >::assign(char const*, unsigned)' > > cmd/libcmd.a(unit.o):/usr/local/gcc-3.1/include/g++-v3/bits/basic_string.h: > >494: first defined here > > collect2: ld returned 1 exit status > > > > I'm not sure how to fix this, so I'll call it a night. > > Any ideas? > > > > Griffon26 > > > > P.S.: I'm no longer posting to the list because I wouldn't want to flood > > everyone with these messages. > > |