]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Reduce an error to warning if clang
authorStan Shebs <stanshebs@google.com>
Tue, 23 Jan 2018 16:26:39 +0000 (08:26 -0800)
committerStan Shebs <stanshebs@google.com>
Mon, 29 Apr 2019 19:00:35 +0000 (12:00 -0700)
math/test-fe-snans-always-signal.c

index 5e5352f4daaf0ccf5d0e0b44fd0ac9c055113060..8392a9255f0d5588cd30d5e4a205424825a6c495 100644 (file)
 
 #ifdef FE_INVALID
 # ifndef FE_SNANS_ALWAYS_SIGNAL
+#  ifdef __clang__
+#  warning "FE_SNANS_ALWAYS_SIGNAL not defined, fix clang please"
+#  else
 #  error "FE_SNANS_ALWAYS_SIGNAL not defined"
+#  endif
 # endif
 #else
 # ifdef FE_SNANS_ALWAYS_SIGNAL