Boost logo

Boost :

Subject: Re: [boost] [optional] Strict Aliasing Warnings on Trunk
From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2009-12-18 18:35:33


On Sat, Dec 19, 2009 at 5:11 AM, Patrick Horgan <phorgan1_at_[hidden]> wrote:
>
> And it's really frustrating too.  I use optional from the trunk for simple
> things in a small test program, and get no warnings at all even in programs
> where I do stupid programming tricks to get gcc to winge about strict
> aliasing on other lines so that I know I have the compile options right.  I
> can't get gcc to complain about optional in my program at all, even trying
> different values of -Wstrict-aliasing, but building boost-trunk I see it.
>

Are you using GCC 4.4.1? Because I'm pretty sure having -Wall turned
on with GCC 4.4 on Boost.Trunk would yield the warning.

-- 
Dean Michael Berris
blog.cplusplus-soup.com | twitter.com/mikhailberis
linkedin.com/in/mikhailberis | facebook.com/dean.berris | deanberris.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk