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

foskey@optushome.com.au foskey@optushome.com.au
Wed Apr 23 13:36:00 GMT 2003


>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@optushome.com.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:



More information about the Gcc-prs mailing list