Joe Buck wrote:

> On Wed, Jun 06, 2007 at 11:13:16AM -0700, Lothar Werzinger wrote:
>> when I build a coverage build of my software I get some undefined symbols
>> like global constructors keyed to src_utility_Tree.cpp_90B986A5_564B8955
>> 
>> I did some investigation and as you can see in the below test it only
>> occurs if I specify -Woverloaded-virtual.
>> 
>> What is strange, too is that if I save the preprocessed file (created
>> with the -E flag) the undefined symbol does NOT show up even if I
>> use -Woverloaded-virtual
>> 
>> I think this is a bug in g++
> 
> Sounds like it.  I suggest that you file a bug report, with a complete
> testcase, so that it can be fixed.

AFAIK the proposed way to file a bug is to preprocess the file that fails
and to attach the preprocessed file to the bug.

As described earlier the bug vanishes if I do that. Thus I have no idea how
to provide you gcc folks with a testcase.

I'd appreciate any input how to create such a testcase.

Lothar


Reply via email to