wok-current view syslinux/stuff/extra/lzop-1.03-gcc6.u @ rev 23294
updated perl-carp-clan (6.04 -> 6.08)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 29 15:57:01 2020 +0100 (2020-03-29) |
parents | d070ffff2c81 |
children |
line source
1 gcc-6 has additional errors e.g.
3 ./test.c:1:12: error: variably modified '__acc_cta' at file scope
4 extern int __acc_cta[1-2*!((1l << (8*8 -1)) < 0)];
5 ^~~~~~~~~
7 This is rightly pointed out since that index is undefined
9 Signed-off-by: Khem Raj <raj.khem@gmail.com>
10 Upstream-Status: Pending
12 --- lzo/src/miniacc.h 2016-02-10 16:09:23.247315866 +0100
13 +++ lzo/src/miniacc.h 2016-02-10 16:12:14.973297054 +0100
14 @@ -4412,12 +4412,12 @@
15 #if defined(__MSDOS__) && defined(__TURBOC__) && (__TURBOC__ < 0x0150)
16 #elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC)
17 #else
18 - ACCCHK_ASSERT((1 << (8*SIZEOF_INT-1)) < 0)
19 + ACCCHK_ASSERT((int)(1u << (8*SIZEOF_INT-1)) < 0)
20 #endif
21 ACCCHK_ASSERT((1u << (8*SIZEOF_INT-1)) > 0)
22 #if 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC)
23 #else
24 - ACCCHK_ASSERT((1l << (8*SIZEOF_LONG-1)) < 0)
25 + ACCCHK_ASSERT((long)(1ul << (8*SIZEOF_LONG-1)) < 0)
26 #endif
27 ACCCHK_ASSERT((1ul << (8*SIZEOF_LONG-1)) > 0)
28 #if defined(acc_int16e_t)
29 @@ -4646,7 +4646,7 @@
30 #elif 1 && (ACC_CC_LCC || ACC_CC_LCCWIN32) && !defined(ACCCHK_CFG_PEDANTIC)
31 #elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC)
32 #elif !defined(ACC_BROKEN_INTEGRAL_PROMOTION) && (SIZEOF_INT > 1)
33 - ACCCHK_ASSERT( (((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0)
34 + ACCCHK_ASSERT( (int)((unsigned int)((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0)
35 #endif
36 #if (ACC_CC_BORLANDC && (__BORLANDC__ >= 0x0530) && (__BORLANDC__ < 0x0560))
37 # pragma option pop