bastring.cc
Jeffrey A Law
law@cygnus.com
Sun Aug 23 01:27:00 GMT 1998
Is user code supposed to be able to include this file directly?
If yes, is bastring.cc supposed to handle multiple inclusions?
guavac in the RedHat 5.1 distribution doesn't build because the
compiler chokes because bastring.cc gets included twice. The compiler
complains about redefinitions of stuff defined in bastring.cc.
This happens because common/unicode_string.h includes "cppstring.h"
which includes "string", which includes "bastring.h", which
includes "bastring.cc".
common/unicode_string.h then proceeds to include "bastring.cc" on
its own.
jeff
More information about the Gcc
mailing list