From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30935 invoked by alias); 23 Apr 2003 13:36:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 30894 invoked by uid 71); 23 Apr 2003 13:36:00 -0000 Resent-Date: 23 Apr 2003 13:36:00 -0000 Resent-Message-ID: <20030423133600.30891.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, foskey@optushome.com.au Received: (qmail 29919 invoked by uid 48); 23 Apr 2003 13:33:10 -0000 Message-Id: <20030423133310.29918.qmail@sources.redhat.com> Date: Wed, 23 Apr 2003 13:36:00 -0000 From: foskey@optushome.com.au Reply-To: foskey@optushome.com.au To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c/10464: AIX - getopt has conflicting definitions in stlib.h and stdio.h X-SW-Source: 2003-04/txt/msg00966.txt.bz2 List-Id: >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: