$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] aligned_storage in unions
From: Larry Evans (cppljevans_at_[hidden])
Date: 2010-09-22 17:07:48
On 09/22/10 15:03, Mathias Gaunard wrote:
[snip]
> A first try is to ask GCC if you break the strict aliasing rules.
> Compile some test code with -O3 -Wstrict-aliasing and see if it says
> something.
When Compiling the attached, gcc doesn't complain.
I thought surely it would since p10 and p20 both
point to the same location but they're different
types.
What am I missing?
-Larry