]> Savannah Git Hosting - gnulib.git/commitdiff
intprops tests: Avoid build failure with HP-UX cc.
authorBruno Haible <bruno@clisp.org>
Sun, 15 Sep 2019 15:26:49 +0000 (17:26 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 15 Sep 2019 15:27:26 +0000 (17:27 +0200)
* tests/test-intprops.c: Disable a check that makes HP cc choke with
"error 4018: Macro param too large after substitution - use -H option.".

ChangeLog
tests/test-intprops.c

index 5f4c13e07a393a6c91419246aa3aa965806f1424..c94ebeb0eaf36470b368191121035903900ababc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-09-15  Bruno Haible  <bruno@clisp.org>
+
+       intprops tests: Avoid build failure with HP-UX cc.
+       * tests/test-intprops.c: Disable a check that makes HP cc choke with
+       "error 4018: Macro param too large after substitution - use -H option.".
+
 2019-09-14  Bruno Haible  <bruno@clisp.org>
 
        Make autoconf tests work with -Werror=implicit-function-declaration.
index be0c6b3a7c2fb6e6cef2128fdf00695f33cb78b8..1837f7b75985333d2878ffcb15abad8a0cf605b2 100644 (file)
@@ -368,7 +368,9 @@ main (void)
   CHECK_PRODUCT (INT_MAX, UINT_MAX, unsigned int, true, INT_MAX * UINT_MAX);
   CHECK_PRODUCT (INT_MAX, ULONG_MAX, unsigned long int, true,
                  INT_MAX * ULONG_MAX);
+#if !defined __HP_cc
   CHECK_SPRODUCT (INT_MIN, LONG_MAX / INT_MIN - 1, long int, true, LONG_MIN);
+#endif
   CHECK_SPRODUCT (INT_MIN, LONG_MAX / INT_MIN, long int, false, DONTCARE);
   CHECK_PRODUCT (INT_MIN, UINT_MAX, unsigned int, true, INT_MIN * UINT_MAX);
   CHECK_PRODUCT (INT_MIN, ULONG_MAX, unsigned long int, true,