[eigen] gcc 4.2.4 warning on type-punned pointers |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] gcc 4.2.4 warning on type-punned pointers
- From: Manoj Rajagopalan <rmanoj@xxxxxxxxx>
- Date: Thu, 12 Aug 2010 20:22:33 -0400
- Organization: EECS Dept., University of Michigan, Ann Arbor, MI, USA
Hi,
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.
thanks,
Manoj