summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2011-04-18 13:15:36 +0200
committerThiago Macieira <thiago.macieira@nokia.com>2011-04-18 13:17:04 +0200
commit8856e2412fc2756443288644465d9edce5798fea (patch)
tree511fa48c409e90e47f36f79281f0e3df7bf178a3 /doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp
parent9b97e319fc2a8e48a454725a5eb54edeb305a27c (diff)
downloadqt4-tools-8856e2412fc2756443288644465d9edce5798fea.tar.gz
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/src_sql_kernel_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions