Commit: Copy commit e76df358 from gcc/libiberty to sourceware

Nick Clifton nickc@redhat.com
Thu Jan 16 15:51:44 GMT 2025


Hi Guys,

  I am applying this patch to copy over commit
  e76df3586417d645dd84e8a1ab165605a8924796 from gcc to sourceware:

    From: Sangamesh Mallayya <swamy.sangamesh@gmail.com>
    Date: Sun, 8 Dec 2024 01:23:49 -0600
    Subject: [PATCH] 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

With this commit the sourceware copy of the libiberty sources should
be in sync with the gcc master version.

Cheers
  Nick
  



More information about the Binutils mailing list