On Tue, 30 Apr 2024 10:19:30 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:

>> The compiler flag introducing __STRICT_ANSI__ is -std=c++14. If I omit this 
>> explicit compiler flag the default is used, which is also c++14. But the 
>> default does not set __STRICT_ANSI__ but 2 other defines. I will try a build 
>> without -std=c++14 and if this works, we have a solution. Nevertheless i 
>> will interrogate IBM what the hell this behavior should be.
>
> I don't think leaving out `-std=c++14` for AIX is a good solution.

I got it. And what about simply disabling the `__STRICT_ANSI__` with
`CFLAGS_OS_DEF_JVM="-DAIX -D_LARGE_FILES -U__STRICT_ANSI__"` in flags-cflags.m4 
for AIX. This worked too. The build is fine.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18536#discussion_r1584725053

Reply via email to