wxWidgets/include
Vadim Zeitlin e563066c76 Avoid gcc -Wstrict-alias=2 warnings in wxAny
While wxWidgets itself is compiled with -fno-strict-aliasing, the user code
including wx headers can be compiled without it and, worse, even with
-Wstrict-aliasing=2 which would give tons of warnings (two for each
instantiation of the template class) of possibly breaking strict aliasing rule.

Fix this by using a union to cast between two pointers of different types
instead of using a reinterpret cast.
2015-09-19 03:25:57 +02:00
..
msvc/wx Recognize MSVC 14 a.k.a. Visual Studio 2015 compiler. 2015-05-08 02:24:10 +02:00
wx Avoid gcc -Wstrict-alias=2 warnings in wxAny 2015-09-19 03:25:57 +02:00