Boost logo

Boost :

From: Jody Hagins (jody-boost-011304_at_[hidden])
Date: 2004-01-21 10:58:57

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.

Jody Hagins
Sweet sixteen is beautiful Bess,
And her voice is changing -- from "No" to "Yes".

Boost list run by bdawes at, gregod at, cpdaniel at, john at