diff options
author | Sangamesh Mallayya <swamy.sangamesh@gmail.com> | 2024-12-08 01:23:49 -0600 |
---|---|---|
committer | Sangamesh Mallayya <swamy.sangamesh@gmail.com> | 2024-12-11 03:54:50 -0600 |
commit | e76df3586417d645dd84e8a1ab165605a8924796 (patch) | |
tree | a8226664373328bf20e206ae40443df6f8a3c5b9 /gcc | |
parent | e5569a20cf3791553ac324269001a7c7c0e56242 (diff) | |
download | gcc-e76df3586417d645dd84e8a1ab165605a8924796.zip gcc-e76df3586417d645dd84e8a1ab165605a8924796.tar.gz gcc-e76df3586417d645dd84e8a1ab165605a8924796.tar.bz2 |
aix: Resolve build failure with default C23
libiberty/getopt.c file is defining _NO_PROTO, which causes
conflicting declarations for the functions in AIX header files
like stdio.h & stdlib.h.
Looks like _NO_PROTO define were added long back and conflicting
declarations were always present until C23 standard uncovered it.
Remove the block defining _NO_PROTO as both Tru64 UNIX (ex-OSF/1)
and AIX 3.2 is no more supported.
libiberty/ChangeLog:
* getopt.c: Remove _NO_PROTO block
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions