From 3573b84aa7df1483ac09f90c509eddd0a658a25e Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Mon, 9 Sep 2019 14:21:54 +0200 Subject: [PATCH] add werror to check --- configure.ac | 2 +- po/POTFILES.in | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5e0b3bd14..e0c003ed6 100644 --- a/configure.ac +++ b/configure.ac @@ -70,7 +70,7 @@ AS_IF([gcc -fno-strict-aliasing -S -o /dev/null -xc /dev/null >/dev/null 2>&1], AC_DEFUN([CC_CHECK_CFLAGS_SILENT], [ AC_CACHE_VAL(AS_TR_SH([cc_cv_cflags_$1]), [ac_save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $1" + CFLAGS="$CFLAGS $1 -Werror" AC_LINK_IFELSE([AC_LANG_SOURCE([int main() { return 0; }])], [eval "AS_TR_SH([cc_cv_cflags_$1])='yes'"], [eval "AS_TR_SH([cc_cv_cflags_$1])='no'"]) diff --git a/po/POTFILES.in b/po/POTFILES.in index f363cc68a..a34000899 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -523,10 +523,30 @@ src/vpn/vpn_api.c src/zonemaster/gnunet-service-zonemaster-monitor.c src/zonemaster/gnunet-service-zonemaster.c src/fs/fs_api.h +src/fs/fs_publish_ublock.h +src/fs/gnunet-service-fs.h +src/fs/gnunet-service-fs_cp.h +src/fs/gnunet-service-fs_pe.h +src/fs/gnunet-service-fs_pr.h +src/fs/gnunet-service-fs_push.h +src/fs/gnunet-service-fs_put.h src/include/compat.h +src/include/gnunet_bio_lib.h src/include/gnunet_common.h src/include/gnunet_mq_lib.h +src/include/gnunet_network_lib.h +src/include/gnunet_service_lib.h src/include/gnunet_time_lib.h +src/nat/gnunet-service-nat_helper.h +src/nat/gnunet-service-nat_mini.h +src/nat/gnunet-service-nat_stun.h src/scalarproduct/scalarproduct.h src/testbed/testbed_api.h +src/testbed/testbed_api_hosts.h src/testbed/testbed_api_operations.h +src/testbed/testbed_api_peers.h +src/testbed/testbed_api_sd.h +src/testbed/testbed_api_topology.h +src/transport/transport-testing.h +src/util/disk.h +src/util/speedup.h -- 2.25.1