diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-06-18 18:55:58 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-06-18 18:55:58 -0700 |
commit | 40d935ea64557828ab49a87de7924ad529faff16 (patch) | |
tree | 23f3e6e27030ba42059780f02979ed64a61ee173 /emscripten.py | |
parent | 52279fa9b201bb151c12d8b494d421c39abad67d (diff) |
reduce error to warning on having no functions
Diffstat (limited to 'emscripten.py')
-rwxr-xr-x | emscripten.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py index d8312855..c9a5eb59 100755 --- a/emscripten.py +++ b/emscripten.py @@ -128,7 +128,7 @@ def emscript(infile, settings, outfile, libraries=[], compiler_engine=None, if DEBUG: print >> sys.stderr, ' emscript: split took %s seconds' % (time.time() - t) if len(funcs) == 0: - raise RuntimeError('No functions to process. Make sure you prevented LLVM from eliminating them as dead (use EXPORTED_FUNCTIONS if necessary, see the FAQ)') + print >> sys.stderr, 'No functions to process. Make sure you prevented LLVM from eliminating them as dead (use EXPORTED_FUNCTIONS if necessary, see the FAQ)' #if DEBUG: # print >> sys.stderr, '========= pre ================\n' |