Wolfgang Bauer changed bug 1125542
What Removed Added
CC   wbauer@tmo.at

Comment # 3 on bug 1125542 from
JFYI, I managed to build python-qt4 by adding "-std=c++98" to the compiler
flags.
I.e. something like:
diff -u a/configure-ng.py b/configure-ng.py 
--- a/configure-ng.py
+++ b/configure-ng.py
@@ -2400,7 +2400,7 @@
             spec = 'macx-g++'

     if 'g++' in spec or 'clang' in spec:
-        pro_lines.append('QMAKE_CXXFLAGS += -fno-exceptions')
+        pro_lines.append('QMAKE_CXXFLAGS += -fno-exceptions -std=c++98')

     # This optimisation could apply to other platforms.
     if 'linux' in spec and not target_config.static:

That would IME make it necessary to compile all depending packages with
"-std-c++98" as well though (because the generated code requires it), so not a
proper fix I think.


You are receiving this mail because: