diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-21 10:58:18 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-21 10:58:18 -0800 |
commit | d484101045f135b226bc3c1d3b4948baa356b124 (patch) | |
tree | 5e125f0f780c9302a398656d45dbdc2c177cecee /emcc | |
parent | 4d715bca8971203dd5a68b15129ef1feaaff5356 (diff) |
avoid warning about aliasing function pointers in fastcomp, it has good debug info on assertions 1 and especially 2 anyhow
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1284,7 +1284,7 @@ try: shared.Settings.LINKABLE = 1 # TODO: add FORCE_DCE option for the brave people that do want to dce here and in side modules debug_level = max(debug_level, 2) - if shared.Settings.ASSERTIONS and shared.Settings.ALIASING_FUNCTION_POINTERS: + if not fastcomp and shared.Settings.ASSERTIONS and shared.Settings.ALIASING_FUNCTION_POINTERS: logging.warning('ALIASING_FUNCTION_POINTERS is on, function pointer comparisons may be invalid across types') if shared.Settings.STB_IMAGE and final_suffix in JS_CONTAINING_SUFFIXES: |