Re: RFR: JDK-8199125: --disable-warnings-as-errors does not work for native jtreg test code

2018-03-06 Thread Magnus Ihse Bursie
On 2018-03-06 17:06, Erik Joelsson wrote: In TestFilesCompilation.gmk we still add $(CFLAGS_WARNINGS_ARE_ERRORS) explicitly to CFLAGS. This is both redundant and wrong since we are now handling these flags automatically in the macro SetupNativeCompilation. The consequence is that

RFR: JDK-8199125: --disable-warnings-as-errors does not work for native jtreg test code

2018-03-06 Thread Erik Joelsson
In TestFilesCompilation.gmk we still add $(CFLAGS_WARNINGS_ARE_ERRORS) explicitly to CFLAGS. This is both redundant and wrong since we are now handling these flags automatically in the macro SetupNativeCompilation. The consequence is that --disable-warnings-as-errors won't work for jtreg