Index: compile |
=================================================================== |
--- a/compile |
+++ b/compile |
@@ -36,17 +36,17 @@ GENERATION_PARAMS = { |
'NO_DYNAMIC_EXECUTION': 1, |
'NO_FILESYSTEM': 1, |
'INVOKE_RUN': 0, |
'TEXTDECODER': 0, |
'EXPORTED_RUNTIME_METHODS': ['cwrap', 'ccall', 'stringToAscii'], |
} |
DEFINES = [] |
ADDITIONAL_PARAMS = ['-O3', '-m32', '-std=gnu++14', '--memory-init-file', '0', |
- '--emit-symbol-map'] |
+ '--emit-symbol-map', '-Wall', '-Werror'] |
hub
2017/04/13 15:52:49
I'm always skeptical about -Werror because it caus
sergei
2017/04/13 16:58:14
I have the same opinion, though in this case the c
Wladimir Palant
2017/04/13 18:35:43
The compiler is fixed, which is why we have more f
|
def get_source_files(phase): |
for (path, dirs, files) in os.walk(SOURCE_DIR): |
for f in files: |
if os.path.splitext(f)[1] != '.cpp': |
continue |
if ( |