diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-02 09:46:21 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-06 04:14:58 +0000 |
commit | 264d814773a15806df497e872e4b19c613c94725 (patch) | |
tree | 71d3cbd30599c749a6a28d4482ba005c3ca32986 /qmake/qmake-aux.pro | |
parent | b3f474d620f07297c27bf7919a366a5ceb25c20a (diff) |
Fix GCC warning about dereferencing type-punned pointers
GCC is wrong. Type-punning is when you read something of a given
type as something else. We're not doing that, as it's only read
as integer.
qnativesocketengine_unix.cpp:1011:79: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Too bad my plan for a good C++ solution was foiled by glibc
developers.
Change-Id: I27b55fdf514247549455fffd14b1a27667745e94
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'qmake/qmake-aux.pro')
0 files changed, 0 insertions, 0 deletions