summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_layout.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2011-04-18 11:15:36 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2011-04-18 11:17:04 (GMT)
commit8856e2412fc2756443288644465d9edce5798fea (patch)
tree511fa48c409e90e47f36f79281f0e3df7bf178a3 /doc/src/snippets/code/doc_src_layout.cpp
parent9b97e319fc2a8e48a454725a5eb54edeb305a27c (diff)
downloadQt-8856e2412fc2756443288644465d9edce5798fea.zip
Qt-8856e2412fc2756443288644465d9edce5798fea.tar.gz
Qt-8856e2412fc2756443288644465d9edce5798fea.tar.bz2
Alternative fix to the strict-aliasing violation warnings
The code doesn't actually violate aliasing by doing type-punned dereferencing. The objects are always accessed as the right type. So disable the warning and pray that GCC doesn't optimise code out of existence. Reviewed-by: Trust Me
Diffstat (limited to 'doc/src/snippets/code/doc_src_layout.cpp')
0 files changed, 0 insertions, 0 deletions