add werror to check
authorSchanzenbach, Martin <mschanzenbach@posteo.de>
Mon, 9 Sep 2019 12:21:54 +0000 (14:21 +0200)
committerSchanzenbach, Martin <mschanzenbach@posteo.de>
Mon, 9 Sep 2019 12:21:54 +0000 (14:21 +0200)
configure.ac
po/POTFILES.in

index 5e0b3bd14383835d39fd4c3c390955e7a383a9d5..e0c003ed6c441d835604fe7491e9f7d5f97a0a70 100644 (file)
@@ -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'"])
index f363cc68a6f61a2b7f7993329eed99c67fe49d99..a3400089923ec5f1f4b12b4cd09d4939c074922d 100644 (file)
@@ -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