From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27995 invoked by alias); 12 Dec 2001 21:50:55 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 27926 invoked from network); 12 Dec 2001 21:50:47 -0000 Received: from unknown (HELO igw3.watson.ibm.com) (198.81.209.18) by sources.redhat.com with SMTP; 12 Dec 2001 21:50:47 -0000 Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com [9.2.112.57]) by igw3.watson.ibm.com (8.11.4/8.11.4) with ESMTP id fBCLnvn09716; Wed, 12 Dec 2001 16:49:57 -0500 Received: from makai.watson.ibm.com (makai.watson.ibm.com [9.2.216.144]) by sp1n293en1.watson.ibm.com (8.11.4/8.11.4) with ESMTP id fBCLnus33936; Wed, 12 Dec 2001 16:49:57 -0500 Received: from watson.ibm.com (localhost [127.0.0.1]) by makai.watson.ibm.com (AIX4.3/8.9.3/8.9.3/01-10-2000) with ESMTP id QAA24726; Wed, 12 Dec 2001 16:49:56 -0500 Message-Id: <200112122149.QAA24726@makai.watson.ibm.com> To: "Chip Cuntz" cc: gcc@gcc.gnu.org Subject: Re: Problem with and AIX 4.3.3 In-Reply-To: Message from "Chip Cuntz" of "Wed, 12 Dec 2001 12:57:15 MST." Date: Wed, 12 Dec 2001 14:48:00 -0000 From: David Edelsohn X-SW-Source: 2001-12/txt/msg00674.txt.bz2 >>>>> "Chip Cuntz" writes: Chip> g++ -c -I/usr/include -I../include -D__AIX__ -D__UNIX__ com_bmf.c I just noticed something suspicious about your commandline: why are you explicitly adding -I/usr/include? The compiler implicitly searches that directory already. Your adding it to the commandline is altering the search order, probably causing GCC to find a different version of some header file than its own, internal version. David