81789f
diff -up qt-everywhere-opensource-src-4.7.4/src/sql/drivers/tds/qsql_tds.pri.tds_no_strict_aliasing qt-everywhere-opensource-src-4.7.4/src/sql/drivers/tds/qsql_tds.pri
81789f
--- qt-everywhere-opensource-src-4.7.4/src/sql/drivers/tds/qsql_tds.pri.tds_no_strict_aliasing	2011-09-12 01:49:28.000000000 -0500
81789f
+++ qt-everywhere-opensource-src-4.7.4/src/sql/drivers/tds/qsql_tds.pri	2011-11-03 13:04:34.271086323 -0500
81789f
@@ -1,6 +1,8 @@
81789f
 HEADERS += $$PWD/qsql_tds.h
81789f
 SOURCES += $$PWD/qsql_tds.cpp
81789f
 
81789f
+*-g++*: QMAKE_CXXFLAGS += -fno-strict-aliasing
81789f
+
81789f
 unix|win32-g++*: {
81789f
     LIBS *= $$QT_LFLAGS_TDS
81789f
     !contains(LIBS, .*sybdb.*):LIBS += -lsybdb