include usr/include/net/if.h

[EMAIL PROTECTED]:~/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

Reply via email to