Skip to content

Commit b172555

Browse files
committedMay 5, 2021
8266171: -Warray-bounds happens in imageioJPEG.c
Reviewed-by: prr
1 parent 8bcebe7 commit b172555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎make/modules/java.desktop/lib/Awt2dLibraries.gmk

+1-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJAVAJPEG, \
339339
OPTIMIZATION := HIGHEST, \
340340
CFLAGS := $(CFLAGS_JDKLIB), \
341341
HEADERS_FROM_SRC := $(LIBJPEG_HEADERS_FROM_SRC), \
342-
DISABLED_WARNINGS_gcc := clobbered implicit-fallthrough shift-negative-value, \
342+
DISABLED_WARNINGS_gcc := clobbered implicit-fallthrough shift-negative-value array-bounds, \
343343
LDFLAGS := $(LDFLAGS_JDKLIB) \
344344
$(call SET_SHARED_LIBRARY_ORIGIN), \
345345
LIBS := $(LIBJPEG_LIBS) $(JDKLIB_LIBS), \

0 commit comments

Comments
 (0)
Please sign in to comment.