https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89861
Bug ID: 89861 Summary: g++-8: error: unrecognized command line option ‘-fsanitize’ Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jg at jguk dot org Target Milestone: --- Could GCC highlight that -fsanitize requires a parameter? This might equally apply to other options. $ g++-8 -fsanitize=undefined -Wall -o exception exception.cpp $ g++-8 -fsanitize -Wall -o exception exception.cpp g++-8: error: unrecognized command line option ‘-fsanitize’ $ eg $ g++-8 -fsanitize -Wall -o exception exception.cpp g++-8: error: command line option ‘-fsanitize’ requires a parameter $