Skip to content

Commit

Permalink
disable warning 474 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Jan 24, 2025
1 parent c837ec3 commit 37182d3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Examples/test-suite/javascript/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ CPP_TEST_CASES += \
cpp11_shared_ptr_upcast \
cpp11_smart_pointer_compatibility

# FIXME: Return-value optimization is broken in NAPI
# https://github.com/mmomtchev/swig/issues/87
typemap_out_optimal.cpptest: SWIGOPT += -w474

# napi_exports_file is a test that uses Node.js ES6 and has no meaning in WASM
ifneq (emcc, $(CC))
CPP_TEST_CASES += \
Expand Down Expand Up @@ -105,7 +109,6 @@ import_nomodule.cpptest: SWIGOPT += -w351
inherit_missing.cpptest: SWIGOPT += -w351
smart_pointer_static.cpptest: SWIGOPT += -w351


ifneq (, $(ASYNC))
SWIGOPT += -async
endif
Expand Down

0 comments on commit 37182d3

Please sign in to comment.