[eigen] gcc 4.2.4 warning on type-punned pointers

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


  I'm seeing this warning 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.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/