When compiling with:
debug {
QMAKE_CXXFLAGS_DEBUG += -O0 -g -mtune=generic -march=i686 -fstack-protector
QMAKE_CXXFLAGS_DEBUG += -Wall -W -Wextra -pedantic -Wstack-protector
QMAKE_CXXFLAGS_DEBUG += -Wno-long-long -Wno-overlength-strings
}
under gcc 4.2.2 it breaks.
-pedantic patch