Re: [eigen] gcc 4.2.4 warning on type-punned pointers

[ Thread Index | Date Index | More Archives ]

2010/8/12 Manoj Rajagopalan <rmanoj@xxxxxxxxx>:
> Hi,
>  I'm seeing this warning

what warning? please paste it all here. i can't reproduce with gcc 4.4
and usually gcc only gets more pedantic with time.


> from Complex.h, line 311 where a real[2] is cast as
> complex* in C-style. I am tempted to submit a correction with static_cast or
> reinterpret_cast instead but I'd first like to ask if this is likely to cause
> issues related to alignment or otherwise.
> thanks,
> Manoj

Mail converted by MHonArc 2.6.19+