This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c/10464: AIX - getopt has conflicting definitions in stlib.h and stdio.h


>Number:         10464
>Category:       c
>Synopsis:       AIX - getopt has conflicting definitions in stlib.h and stdio.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 23 13:36:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     foskey at optushome dot com dot au
>Release:        gcc 3.2.2 - recent download of stable
>Organization:
>Environment:
AIX 5.1 compiled from IBM supplied gcc 2.95.
>Description:
The getopt was in both stdio.h and stdlib.h and they were different.  one was char * const *, the other char * const [] for the second parameter.
>How-To-Repeat:
Build gcc from scratch on an aix 5.1 machine I suppose.
>Fix:
I checked my linux box and in line with it I deleted the one from the stdlib.h library.  Compile proceeded.
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]