Skip to content

Commit

Permalink
Merge pull request #5393 from danpoe/fixes/goto-cc-error-flag
Browse files Browse the repository at this point in the history
Don't require -Wextra goto-gcc flag for warnings to be treated as errors
  • Loading branch information
danpoe authored Jun 26, 2020
2 parents faf7f43 + 188a69f commit 7405bfb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/goto-cc/gcc_mode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,6 @@ int gcc_modet::doit()
compilet compiler(cmdline,
gcc_message_handler,
cmdline.isset("Werror") &&
cmdline.isset("Wextra") &&
!cmdline.isset("Wno-error"));

if(cmdline.isset("version"))
Expand Down

0 comments on commit 7405bfb

Please sign in to comment.