diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2011-04-18 13:15:36 +0200 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2011-04-18 13:17:04 +0200 |
commit | 8856e2412fc2756443288644465d9edce5798fea (patch) | |
tree | 511fa48c409e90e47f36f79281f0e3df7bf178a3 /doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp | |
parent | 9b97e319fc2a8e48a454725a5eb54edeb305a27c (diff) | |
download | qt4-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