On Wed, 2 Aug 2023 18:21:00 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:

>> One warning is disabled for the freetype.
>
> make/modules/java.desktop/lib/Awt2dLibraries.gmk line 456:
> 
>> 454:       EXTRA_HEADER_DIRS := $(BUILD_LIBFREETYPE_HEADER_DIRS), \
>> 455:       DISABLED_WARNINGS_microsoft := 4267 4244 4996, \
>> 456:       DISABLED_WARNINGS_gcc := maybe-uninitialized dangling-pointer 
>> stringop-overflow, \
> 
> Is the warning in the widely-used header file? If not, can we disable the 
> warning for the specific compilation units only?  Something like:
> 
> 
> DISABLED_WARNINGS_gcc_ftobjs.c := maybe-uninitialized

yes that is possible

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/15116#discussion_r1282274689

Reply via email to