Subject: Re: [boost] boost::date_time and gcc-4.3 with enabled optimization.
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2008-12-30 10:50:01
Dmitry V. Krivenok wrote:
> As you can see the example compiled using gcc-4.1.2 compiles without any
> regardless of optimization level.
> However, gcc-4.3.2 produces a lot of strange warnings if optimization is
> I don't really know is it gcc or boost issue.
> Is it safe to use boost::date_time with gcc-4.3.2 and -O3 optimization
Which Boost version do you use? I believe I fixed this warning in trunk
and release branch.
PS: It was a spurious warning, the variable was not actually used before
being initialized. And I have no idea why it only occurs with O1 or higher.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk