Ticket #46606: disable-exceptions.patch
File disable-exceptions.patch, 2.6 KB (added by RJVB (René Bertin), 10 years ago) |
---|
-
configure
old new 7881 7881 QT_CONFIG="$QT_CONFIG concurrent" 7882 7882 fi 7883 7883 7884 if [ "$CFG_XMLPATTERNS" = "yes" -a "$CFG_EXCEPTIONS" = "no" ]; then7885 echo "QtXmlPatterns was requested, but it can't be built due to exceptions being disabled."7886 exit 17887 fi7888 if [ "$CFG_XMLPATTERNS" = "auto" -a "$CFG_EXCEPTIONS" != "no" ]; then7884 #if [ "$CFG_XMLPATTERNS" = "yes" -a "$CFG_EXCEPTIONS" = "no" ]; then 7885 # echo "QtXmlPatterns was requested, but it can't be built due to exceptions being disabled." 7886 # exit 1 7887 #fi 7888 #if [ "$CFG_XMLPATTERNS" = "auto" -a "$CFG_EXCEPTIONS" != "no" ]; then 7889 7889 CFG_XMLPATTERNS="$canBuildQtXmlPatterns" 7890 elif [ "$CFG_EXCEPTIONS" = "no" ]; then7891 CFG_XMLPATTERNS="no"7892 fi7890 #elif [ "$CFG_EXCEPTIONS" = "no" ]; then 7891 # CFG_XMLPATTERNS="no" 7892 #fi 7893 7893 if [ "$CFG_XMLPATTERNS" = "yes" ]; then 7894 7894 QT_CONFIG="$QT_CONFIG xmlpatterns" 7895 7895 else -
src/xmlpatterns/utils/
old new 274 274 #endif 275 275 276 276 #ifdef QT_NO_EXCEPTIONS 277 #error "Patternist uses exceptions and cannot be built without." 277 // #error "Patternist uses exceptions and cannot be built without." 278 #warning "Patternist uses exceptions and will ignore the fact QtCore is built without" 278 279 #endif 279 280 280 281 QT_END_NAMESPACE -
src/xmlpatterns/
old new 2 2 QPRO_PWD = $$PWD 3 3 QT = core \ 4 4 network 5 DEFINES -= QT_NO_EXCEPTIONS 5 6 DEFINES += QT_BUILD_XMLPATTERNS_LIB \ 6 QT_NO_USING_NAMESPACE 7 QT_NO_USING_NAMESPACE QT_EXCEPTIONS 8 QMAKE_CXXFLAGS_EXCEPTIONS_OFF -= -fno-exceptions 9 QMAKE_CFLAGS -= -fno-exceptions 10 QMAKE_CXXFLAGS -= -fno-exceptions 11 QMAKE_LFLAGS -= -fno-exceptions 7 12 win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x61000000 8 13 unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore \ 9 14 QtNetwork -
src/corelib/
old new 1 1 TARGET = QtCore 2 2 QPRO_PWD = $$PWD 3 3 QT = 4 DEFINES += QT_BUILD_CORE_LIB QT_NO_USING_NAMESPACE 4 DEFINES -= QT_NO_EXCEPTIONS 5 DEFINES += QT_BUILD_CORE_LIB QT_NO_USING_NAMESPACE QT_EXCEPTIONS 6 QMAKE_CXXFLAGS_EXCEPTIONS_OFF -= -fno-exceptions 7 QMAKE_CFLAGS -= -fno-exceptions 8 QMAKE_CXXFLAGS -= -fno-exceptions 9 QMAKE_LFLAGS -= -fno-exceptions 5 10 win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x67000000 6 11 irix-cc*:QMAKE_CXXFLAGS += -no_prelink -ptused 7 12