From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27839 invoked by alias); 9 Feb 2006 08:34:59 -0000 Received: (qmail 27823 invoked by uid 48); 9 Feb 2006 08:34:56 -0000 Date: Thu, 09 Feb 2006 08:34:00 -0000 Subject: [Bug c/26189] New: Bug in vendor /usr/include/net/if.h needs fixincluding X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "cadetg at googlemail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg00886.txt.bz2 List-Id: include usr/include/net/if.h oracle@rx2620:~/Files/Test$ gcc -v test.c -o test /usr/local/bin/gcc -v test.c -o test Using built-in specs. Target: ia64-hp-hpux11.23 Configured with: /tmp/gcc-4.0.2.tar.gz/gcc-4.0.2/configure --host=ia64-hp-hpux11.23 --target=ia64-hp-hpux11.23 --build=ia64-hp-hpux11.23 --prefix=/opt/hp-gcc-4.0.2 --enable-languages=c,c++ --with-gnu-as --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix Thread model: posix gcc version 4.0.2 /opt/hp-gcc-4.0.2/libexec/gcc/ia64-hp-hpux11.23/4.0.2/cc1 -quiet -v test.c -quiet -dumpbase test.c -auxbase test -version -o /var/tmp//cc6mhLQ3.s ignoring nonexistent directory "/opt/hp-gcc-4.0.2/lib/gcc/ia64-hp-hpux11.23/4.0.2/../../../../ia64-hp-hpux11.23/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /opt/hp-gcc-4.0.2/include /opt/hp-gcc-4.0.2/lib/gcc/ia64-hp-hpux11.23/4.0.2/include /usr/include End of search list. GNU C version 4.0.2 (ia64-hp-hpux11.23) compiled by GNU C version 4.0.2. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 In file included from /usr/include/sys/mp.h:52, from /usr/include/sys/malloc.h:59, from /usr/include/net/netmp.h:51, from /usr/include/net/if.h:59, from test.c:3: /usr/include/machine/sys/getppdp.h:65: error: array type has incomplete element type getppdp.h:65: --> extern union mpinfou spu_info[]; As far as I know, this is not allowed anymore in gcc4... -- Summary: Bug in vendor /usr/include/net/if.h needs fixincluding Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: cadetg at googlemail dot com GCC build triplet: ia64-hp-hpux11.23 GCC host triplet: ia64-hp-hpux11.23 GCC target triplet: ia64-hp-hpux11.23 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26189