build: organize building system, support sphinx doc
Change-Id: I88ba0186a3defe1ffcbd55fb5f8ef81b5d2d3d81
diff --git a/.waf-tools/default-compiler-flags.py b/.waf-tools/default-compiler-flags.py
index 29694b9..c35c2fe 100644
--- a/.waf-tools/default-compiler-flags.py
+++ b/.waf-tools/default-compiler-flags.py
@@ -21,12 +21,8 @@
else:
defaultFlags += ['-std=c++03']
- defaultFlags += [
- # '-pedantic',
- '-Wall',
- '-Wno-long-long',
- '-Wno-unneeded-internal-declaration'
- ]
+ defaultFlags += ['-Wall', '-Wno-long-long', '-Wno-unneeded-internal-declaration',
+ '-Wno-c++11-extensions', '-Wno-nested-anon-types']
if conf.options.debug:
conf.define('_DEBUG', 1)
@@ -35,7 +31,6 @@
'-g3',
'-fcolor-diagnostics', # clang
'-fdiagnostics-color', # gcc >= 4.9
- # '-Werror',
'-Wno-error=maybe-uninitialized', # Bug #1560
]
if areCustomCxxflagsPresent: