about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2023-07-31 12:38:12 +0200
committerFlorian Weimer <fweimer@redhat.com>2023-08-03 10:25:52 +0200
commitd97a12704bca5c2c326d856a69cd847c89784ae9 (patch)
tree57b093d8ec989b4025d3e0b044d8ff9a6a1d0572 /math
parentfc72b6d7d818ab2868920af956d1542d03342a4d (diff)
downloadglibc-d97a12704bca5c2c326d856a69cd847c89784ae9.tar.gz
glibc-d97a12704bca5c2c326d856a69cd847c89784ae9.tar.xz
glibc-d97a12704bca5c2c326d856a69cd847c89784ae9.zip
hurd: Do not include full <stdarg.h> in <hurd.h>
This fixes a hurd/check-installed-headers-c failure with
-std=c89 #define _FORTIFY_SOURCE 1:

In file included from ../hurd/hurd.h:354,
                 from ../sysdeps/hurd/include/hurd.h:2,
                 from /tmp/cih_test_9IaUwa.c:10:
/home/bmg/install/compilers/i686-gnu/lib/gcc/i686-glibc-gnu/13.2.1/include/stdarg.h:54:34: error: "__STDC_VERSION__" is not defined, evaluates to 0 [-Werror=undef]
   54 | #if !defined(__STRICT_ANSI__) || __STDC_VERSION__ + 0 >= 199900L \
      |                                  ^~~~~~~~~~~~~~~~
/home/bmg/install/compilers/i686-gnu/lib/gcc/i686-glibc-gnu/13.2.1/include/stdarg.h:55:8: error: "__cplusplus" is not defined, evaluates to 0 [-Werror=undef]
   55 |     || __cplusplus + 0 >= 201103L
      |        ^~~~~~~~~~~
cc1: all warnings being treated as errors

Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'math')
0 files changed, 0 insertions, 0 deletions