diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-20 20:56:27 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-20 20:56:27 -0700 |
commit | 9e1a93bcd03ee27c867eefa7c946acadb35c5b4f (patch) | |
tree | c9d65c7c771e808807d9c2df8156451ef56c7966 /src/compiler.js | |
parent | c5c45bafedd945ac7c6be9632e5ea4aa583a1915 (diff) |
improve error message
Diffstat (limited to 'src/compiler.js')
-rw-r--r-- | src/compiler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler.js b/src/compiler.js index bb72c7dd..7cf43f09 100644 --- a/src/compiler.js +++ b/src/compiler.js @@ -178,7 +178,7 @@ assert(!(USE_TYPED_ARRAYS === 2 && QUANTUM_SIZE !== 4), 'For USE_TYPED_ARRAYS == if (ASM_JS) { assert(!ALLOW_MEMORY_GROWTH, 'Cannot grow asm.js heap'); assert((TOTAL_MEMORY&(TOTAL_MEMORY-1)) == 0, 'asm.js heap must be power of 2'); - assert(DISABLE_EXCEPTION_CATCHING == 1, 'asm.js does not support C++ exceptions yet'); + assert(DISABLE_EXCEPTION_CATCHING == 1, 'asm.js does not support C++ exceptions yet, you must compile with -s DISABLE_EXCEPTION_CATCHING=1'); } assert(!(!NAMED_GLOBALS && BUILD_AS_SHARED_LIB)); // shared libraries must have named globals |