From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-07-11 02:23:59
"Joe Van Dyk" <joevandyk_at_[hidden]> wrote in message
> On 7/10/06, Gennadiy Rozental <gennadiy.rozental_at_[hidden]> wrote:
>> "Joe Van Dyk" <joevandyk_at_[hidden]> wrote in message
>> >> > Maybe you could use some compiler options to avoid unused static
>> >> > files
>> >> > discard?
>> >> Hm, I've never heard of that option. I'll look into it.
>> > Any chance you could tell me what flags the GNU GCC compiler would do
>> > the trick? I can't find anything that resembles "avoid unused static
>> > files discard".
>> Looks like these may work:
>> -fno-unit-at-a-time (?)
> Thanks, I'll try that. Can you explain the problem with static
> linking that makes these options necessary?
Automatic registration is implemented with use of file level static
variables that never used, but in a constructor register test cases. Once
these variable removed, no registration occurs.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk