On 11/03/2015 05:26 AM, Pádraig Brady wrote:
test-intprops.c:199:3: error: string length '5031' is greater than the length 
'4095' ISO C99 compilers are required to support [-Werror=overlength-strings]

That's annoying.  Does the attached patch fix it?

diff --git a/tests/macros.h b/tests/macros.h
index b6fdd1c..1d81c79 100644
--- a/tests/macros.h
+++ b/tests/macros.h
@@ -48,8 +48,8 @@
     {                                                                        \
       if (!(expr))                                                           \
         {                                                                    \
-          fprintf (ASSERT_STREAM, "%s:%d: assertion '%s' failed\n",     \
-                   __FILE__, __LINE__, #expr);                          \
+          fprintf (ASSERT_STREAM, "%s:%d: assertion failed\n",               \
+                   __FILE__, __LINE__);                                      \
           fflush (ASSERT_STREAM);                                            \
           abort ();                                                          \
         }                                                                    \

Reply via email to