We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06c58d4 commit f2e5079Copy full SHA for f2e5079
src/modules.js
@@ -269,7 +269,7 @@ var LibraryManager = {
269
// Safe way to access a C define. We check that we don't add library functions with missing defines.
270
function cDefine(key) {
271
if (key in C_DEFINES) return C_DEFINES[key];
272
- throw 'XXX missing C define ' + key + '!';
+ throw 'Missing C define ' + key + '! If you just added it to struct_info.json, you need to ./emcc --clear-cache';
273
}
274
275
var EXPORTED_RUNTIME_METHODS_SET = set(EXPORTED_RUNTIME_METHODS.concat(EXTRA_EXPORTED_RUNTIME_METHODS));
0 commit comments