Boost logo

Boost :

Subject: Re: [boost] [optional] Strict Aliasing Warnings on Trunk
From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2009-12-17 16:26:32


On Fri, Dec 18, 2009 at 5:20 AM, Peter Dimov <pdimov_at_[hidden]> wrote:
> Bo Persson wrote:
>
>> But how do we know that the warning is just in case, and that the
>> compiler isn't really confused?
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41874
>

Great find.

>> Or some other compiler that doesn't understand enough to even issue a
>> warning?
>
> Not a problem. The code is correct, the warning isn't.

Alright, then I think the patch with
https://svn.boost.org/trac/boost/ticket/3774 should be alright for
GCC?

-- 
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