I found it A `-g` was added somewhere else in the cmake configuration. Thanks for the answer - and sorry for irrelevant question.
Laurent On Saturday, 27 February 2021 at 19:27:33 UTC+1 [email protected] wrote: > That's very strange. Probably an unknown bug in argument parsing. Perhaps > try removing arguments one after the other, to find which is responsible? > > On Sat, Feb 27, 2021 at 4:44 AM [email protected] <[email protected]> wrote: > >> Hi, >> >> I am trying to enable --closure 1 but it remains being disabled with the >> following message >> >> em++: warning: disabling closure because debug info was requested [-Wemcc] >> >> I cannot figure where the debug info is requested. Other flags passed >> include -O3 -g0 and -DNDEBUG >> >> Any ideas? Thanks >> Laurent >> >> (em++ version is 2.0.14) >> >> /Users/laurent/tools/emsdk/upstream/emscripten/em++ -v libverovio.a -O3 >> -g0 --closure 1 -DNDEBUG --memory-init-file 0 -std=c++17 -s ASM_JS=1 -s >> INITIAL_MEMORY=256MB -s TOTAL_STACK=128MB -s WASM=0 --embed-file data/ -s >> EXPORTED_FUNCTIONS="['_vrvToolkit_constructor','_vrvToolkit_destructor','_vrvToolkit_edit','_vrvToolkit_editInfo','_vrvToolkit_getAvailableOptions','_vrvToolkit_getElementAttr','_vrvToolkit_getElementsAtTime','_vrvToolkit_getExpansionIdsForElement','_vrvToolkit_getHumdrum','_vrvToolkit_getLog','_vrvToolkit_getMEI','_vrvToolkit_getMIDIValuesForElement','_vrvToolkit_getNotatedIdForElement','_vrvToolkit_getOptions','_vrvToolkit_getPageCount','_vrvToolkit_getPageWithElement','_vrvToolkit_getTimeForElement','_vrvToolkit_getTimesForElement','_vrvToolkit_getVersion','_vrvToolkit_loadData','_vrvToolkit_loadZipDataBase64','_vrvToolkit_loadZipDataBuffer','_vrvToolkit_redoLayout','_vrvToolkit_redoPagePitchPosLayout','_vrvToolkit_renderData','_vrvToolkit_renderToMIDI','_vrvToolkit_renderToSVG','_vrvToolkit_renderToTimemap','_vrvToolkit_setOptions','_malloc','_free']" >> >> -s EXTRA_EXPORTED_RUNTIME_METHODS='["cwrap"]' -o build/verovio.js >> >> -- >> You received this message because you are subscribed to the Google Groups >> "emscripten-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/emscripten-discuss/291d1c92-89f1-49ab-8dcd-9bf6a4019e0en%40googlegroups.com >> >> <https://groups.google.com/d/msgid/emscripten-discuss/291d1c92-89f1-49ab-8dcd-9bf6a4019e0en%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/b874c3bb-a58b-4387-a7f5-559c2a43af7fn%40googlegroups.com.
