bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] intprops: add WRAPV and const flavors for GCC 5


From: Pádraig Brady
Subject: Re: [PATCH] intprops: add WRAPV and const flavors for GCC 5
Date: Tue, 3 Nov 2015 13:26:16 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

FYI I just noticed this when compiling coreutils with GCC 5.1.1

test-intprops.c: In function 'main':
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]
   CHECK_BINOP (/, DIVIDE, INT_MIN, -1, int,
   ^
  CC       test-isatty.o
  CC       test-isblank.o
test-intprops.c:202:3: error: string length '4737' is greater than the length 
'4095' ISO C99 compilers are required to support [-Werror=overlength-strings]
   CHECK_BINOP (/, DIVIDE, (unsigned int) INT_MIN, -1u, unsigned int,
   ^
  CC       test-isnand-nolibm.o
In file included from test-intprops.c:28:0:
../lib/intprops.h:357:60: error: suggest parentheses around '-' inside '<<' 
[-Werror=parentheses]
 #define INT_LEFT_SHIFT_WRAPV(a, b) _GL_INT_OP_WRAPV (a, b, <<)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]