]> 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>
Thu, 25 Jan 2018 00:03:40 +0000 (16:03 -0800)
math/test-fe-snans-always-signal.c

index 58c79b2272da905cb5763bedb6cf530b38e7b6ed..56fc7d4d8e125474d51dc4e27e65d8869c2e2c25 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