|
Boost : |
From: Beman Dawes (bdawes_at_[hidden])
Date: 2004-01-21 14:31:46
At 10:58 AM 1/21/2004, Jody Hagins wrote:
>On Wed, 21 Jan 2004 13:00:35 +0000
>Russell Hind <rhind_at_[hidden]> wrote:
>
>> Could it be the optimisation settings? There is -Oi which is use
>> instrinsic functions for strcmp etc (i.e. compiler generated). I
>> think when this is on, the compiler generates the functions when it
>> sees them, but doesn't realise they should be in the std:: namespace.
>> Debug builds don't enable this.
>>
>> (It may be implicitly enabled by another -O option such as -O2)
>
>
>This is a borland compiler bug, related to optimization settings. -O2
>automatically sets -Oi, -OS, -Ov, and -Og. The workaround is to set the
>other optimization flags specifically, leaving out -Oi. Try replacing
>"-O2" with "-OS -Ov -Og" and see if that helps.
Don't worry about it. I'll add a workaround to the code as soon as the
current set of regression tests finish.
--Beman
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk