From d237a2739c91eb97a7be57989de0a18051f98963 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sun, 2 Aug 2015 02:21:46 +0100 Subject: [PATCH] Build with --strict-warnings on FreeBSD. Reviewed-by: Rich Salz --- Configurations/10-main.conf | 2 +- Configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index b5d32b6850..15af87ea1a 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -830,7 +830,7 @@ # expands it as -lc_r, which has to be accompanied by explicit # -D_THREAD_SAFE and sometimes -D_REENTRANT. FreeBSD 5.x # expands it as -lc_r, which seems to be sufficient? - cc => "gcc", + cc => "cc", cflags => "-Wall", debug_cflags => "-O0 -g", release_cflags => "-O3", diff --git a/Configure b/Configure index 6cc05bd508..cfd1980d80 100755 --- a/Configure +++ b/Configure @@ -107,7 +107,7 @@ my $gcc_devteam_warn = "-Wall -pedantic -DPEDANTIC -Wno-long-long -Wsign-compare # -Wincompatible-pointer-types-discards-qualifiers, -Wcast-align, # -Wunreachable-code -Wunused-parameter -Wlanguage-extension-token # -Wextended-offsetof -my $clang_devteam_warn = "-Wno-unused-parameter -Wno-missing-field-initializers -Wno-language-extension-token -Wno-extended-offsetof"; +my $clang_devteam_warn = "-Wno-unused-parameter -Wno-missing-field-initializers -Wno-language-extension-token -Wno-extended-offsetof -Qunused-arguments"; my $strict_warnings = 0; -- 2.40.0