Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Low-hanging fruit from the R repository #106

Merged
merged 15 commits into from
Aug 16, 2024
Prev Previous commit
Next Next commit
Raise warning level.
When using GCC or Clang, switch from just `-Wall` to `-Wall -Wextra`.
  • Loading branch information
dag-erling committed Jul 30, 2024
commit a02216c6560b9ac59282a3e2a8c3b4deba4d5378
4 changes: 2 additions & 2 deletions m4/vl_prog_cc_warnings.m4
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ EOF
dnl GCC
if test "$GCC" = "yes"; then
if test -z "$ansi"; then
vl_cv_prog_cc_warnings="-Wall"
vl_cv_prog_cc_warnings="-Wall -Wextra"
else
vl_cv_prog_cc_warnings="-Wall -ansi -pedantic"
vl_cv_prog_cc_warnings="-Wall -Wextra -ansi -pedantic"
fi

dnl Most compilers print some kind of a version string with some command
Expand Down