Re: RFR: 8311247: Some cpp files are compiled with -std:c11 flag

2023-08-09 Thread Daniel Jeliński
On Tue, 8 Aug 2023 18:28:36 GMT, Erik Joelsson wrote: > it's unfortunate that we need to repeat so much. Right. The default make convention uses `CPPFLAGS` for flags shared between preprocessor and both C and C++ compilers. We don't have any shared variable as far as I could tell. Thanks for t

Re: RFR: 8311247: Some cpp files are compiled with -std:c11 flag

2023-08-08 Thread Erik Joelsson
On Mon, 3 Jul 2023 17:15:17 GMT, Daniel Jeliński wrote: > Please review this patch that configures C++ arguments on build jobs that > involve compiling CPP files. As a result of this change, CPP files are > compiled with `-std:c++14` command line argument instead of `-std:c11`, which > is used

Re: RFR: 8311247: Some cpp files are compiled with -std:c11 flag

2023-07-31 Thread Daniel Jeliński
On Mon, 3 Jul 2023 17:15:17 GMT, Daniel Jeliński wrote: > Please review this patch that configures C++ arguments on build jobs that > involve compiling CPP files. As a result of this change, CPP files are > compiled with `-std:c++14` command line argument instead of `-std:c11`, which > is used

Re: RFR: 8311247: Some cpp files are compiled with -std:c11 flag

2023-07-31 Thread Julian Waters
On Tue, 1 Aug 2023 03:37:55 GMT, Sergey Bylokhov wrote: >> Please review this patch that configures C++ arguments on build jobs that >> involve compiling CPP files. As a result of this change, CPP files are >> compiled with `-std:c++14` command line argument instead of `-std:c11`, >> which is

Re: RFR: 8311247: Some cpp files are compiled with -std:c11 flag

2023-07-31 Thread Sergey Bylokhov
On Mon, 3 Jul 2023 17:15:17 GMT, Daniel Jeliński wrote: > Please review this patch that configures C++ arguments on build jobs that > involve compiling CPP files. As a result of this change, CPP files are > compiled with `-std:c++14` command line argument instead of `-std:c11`, which > is used

Re: RFR: 8311247: Some cpp files are compiled with -std:c11 flag

2023-07-10 Thread Phil Race
On Mon, 3 Jul 2023 17:15:17 GMT, Daniel Jeliński wrote: > Please review this patch that configures C++ arguments on build jobs that > involve compiling CPP files. As a result of this change, CPP files are > compiled with `-std:c++14` command line argument instead of `-std:c11`, which > is used

Re: RFR: 8311247: Some cpp files are compiled with -std:c11 flag

2023-07-05 Thread Julian Waters
On Mon, 3 Jul 2023 17:15:17 GMT, Daniel Jeliński wrote: > Please review this patch that configures C++ arguments on build jobs that > involve compiling CPP files. As a result of this change, CPP files are > compiled with `-std:c++14` command line argument instead of `-std:c11`, which > is used

Re: RFR: 8311247: Some cpp files are compiled with -std:c11 flag

2023-07-04 Thread Alexey Ivanov
On Mon, 3 Jul 2023 17:15:17 GMT, Daniel Jeliński wrote: > Please review this patch that configures C++ arguments on build jobs that > involve compiling CPP files. As a result of this change, CPP files are > compiled with `-std:c++14` command line argument instead of `-std:c11`, which > is used

Re: RFR: 8311247: Some cpp files are compiled with -std:c11 flag

2023-07-04 Thread Alexey Ivanov
On Tue, 4 Jul 2023 04:53:57 GMT, Daniel Jeliński wrote: >> make/modules/java.desktop/lib/Awt2dLibraries.gmk line 135: >> >>> 133: OPTIMIZATION := HIGHEST, \ >>> 134: CFLAGS := $(CFLAGS_JDKLIB) $(LIBAWT_CFLAGS), \ >>> 135: CXXFLAGS := $(CXXFLAGS_JDKLIB) $(LIBAWT_CFLAGS), \ >> >> `LIB

Re: RFR: 8311247: Some cpp files are compiled with -std:c11 flag

2023-07-03 Thread Daniel Jeliński
On Mon, 3 Jul 2023 20:17:23 GMT, Alexey Ivanov wrote: >> Please review this patch that configures C++ arguments on build jobs that >> involve compiling CPP files. As a result of this change, CPP files are >> compiled with `-std:c++14` command line argument instead of `-std:c11`, >> which is us

Re: RFR: 8311247: Some cpp files are compiled with -std:c11 flag

2023-07-03 Thread Alexey Ivanov
On Mon, 3 Jul 2023 17:15:17 GMT, Daniel Jeliński wrote: > Please review this patch that configures C++ arguments on build jobs that > involve compiling CPP files. As a result of this change, CPP files are > compiled with `-std:c++14` command line argument instead of `-std:c11`, which > is used

RFR: 8311247: Some cpp files are compiled with -std:c11 flag

2023-07-03 Thread Daniel Jeliński
Please review this patch that configures C++ arguments on build jobs that involve compiling CPP files. As a result of this change, CPP files are compiled with `-std:c++14` command line argument instead of `-std:c11`, which is used when C++ arguments are not configured. While at it, I simplified