2025-01-30 04:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbzebra/datamtrx.c
* added '#pragma GCC diagnostic ignored "-Warray-bounds"'
to disable GCC 12, 13 and 14 false warnings about array bounds for
static constant data
* contrib/hbzebra/hbzebra.hbp
* removed -Wno-error=array-bounds C compiler parameter used in all GCC
builds
This commit is contained in:
@@ -66,6 +66,10 @@
|
||||
|
||||
#include "hbzebra.h"
|
||||
|
||||
#if defined( __GNUC__ ) && __GNUC__ >= 12 && __GNUC__ <= 14
|
||||
/* workaround for GCC bug */
|
||||
#pragma GCC diagnostic ignored "-Warray-bounds"
|
||||
#endif
|
||||
|
||||
/* Special CodeWords */
|
||||
#define PADDING 129
|
||||
|
||||
@@ -23,6 +23,3 @@ msi.c
|
||||
pdf417.c
|
||||
datamtrx.c
|
||||
qrcode.c
|
||||
|
||||
# GCC 13, 14 reports false warnings about array bounds for static constant data
|
||||
-cflag=-Wno-error=array-bounds{allgcc&HB_BUILD_TEST='strict'}
|
||||
|
||||
Reference in New Issue
Block a user