Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: compile

Issue 29411657: Noissue - [emscripten] Address compiler warnings (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created April 13, 2017, 3:46 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | compiled/String.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 (
« no previous file with comments | « no previous file | compiled/String.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld