You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Default to not warn about absolute include paths. #2713
Currently emcc issues a warning by default if user passes a command line directive -I/some/absolute/path. This was added to be more user-friendly towards people porting existing build systems which might unconditionally pass include directives to the system include directories that have headers specific to the native host system, which are not meant for Emscripten.
However this default behavior makes emcc a bit unconformant compared to gcc/clang/MSVC and all projects must manually disable the warning if they prefer to pass absolute include directories. Talking on IRC, we decided that we should prefer to be conformant, and default to not showing a warning here. Instead, for developers that are starting up a port project of a new codebase, they can pass `-Wwarn-absolute-paths' to enable the warning if needed. We should add a mention of this aid in a porting guide somewhere in the docs.
Activity
juj commentedon Mar 31, 2016
This was implemented in above PR quite some time ago.