This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c/10464: AIX - getopt has conflicting definitions in stlib.h and stdio.h
- From: foskey at optushome dot com dot au
- To: gcc-gnats at gcc dot gnu dot org
- Date: 23 Apr 2003 13:33:10 -0000
- Subject: c/10464: AIX - getopt has conflicting definitions in stlib.h and stdio.h
- Reply-to: foskey at optushome dot com dot au
>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: