Skip to content

Commit 1027b93

Browse files
authored
explain what happens if ERROR_ON_UNDEFINED_SYMBOLS is set to 0 (#7287) [ci skip]
1 parent dcbb0b4 commit 1027b93

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/settings.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,8 +698,9 @@ var STRICT = 0;
698698
var WARN_ON_UNDEFINED_SYMBOLS = 1;
699699

700700
// If set to 1, we will give a link-time error on any undefined symbols (see
701-
// WARN_ON_UNDEFINED_SYMBOLS). The default value 1. To allow undefined symbols
702-
// at link time set this to 0.
701+
// WARN_ON_UNDEFINED_SYMBOLS). The default value is 1. To allow undefined symbols
702+
// at link time set this to 0, in which case if an undefined function is called
703+
// a runtime error will occur.
703704
var ERROR_ON_UNDEFINED_SYMBOLS = 1;
704705

705706
// If set to 1, any -lfoo directives pointing to nonexisting library files will

0 commit comments

Comments
 (0)