RFR: 8311380: Prepare java.desktop for C++17
Julian Waters
jwaters at openjdk.org
Tue Jul 11 02:18:01 UTC 2023
On Fri, 7 Jul 2023 01:56:31 GMT, Julian Waters <jwaters at openjdk.org> wrote:
> Despite the fancy name, all this change does is move a few standard library headers to the top so macro definitions don't break them, remove the register specifiers from allocation methods, and remove dynamic exception specifiers from AWT code
We include windows.h in a vast amount of source files, which defines min and max utilities. This breaks the min max declarations from the standard library cmath header. -DNOMINMAX is not possible because a lot of code does actually use the min and max macros
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14795#issuecomment-1629997387
More information about the client-libs-dev
mailing list