bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fpending issues on LSB: [<sys/types.h> does not define size_t]


From: Bruce Korb
Subject: Re: fpending issues on LSB: [<sys/types.h> does not define size_t]
Date: Thu, 28 Sep 2006 14:30:15 -0700

On 9/28/06, Nelson H. F. Beebe <address@hidden> wrote:
Neither ISO C89 nor ISO C99 Standards mention any header files in the
<sys/*.h> location.

This lack-of-definition failure is readily exhibited:

        % cat bug-lsbcc.c
        #include <sys/types.h>
        size_t p;

        % lsbcc -c  bug-lsbcc.c
        bug-lsbcc.c:2: error: syntax error before "p"
        bug-lsbcc.c:2: warning: data definition has no type or storage class

GCC generally tries to fill in where platforms fall short.  (My piece
of GCC is to
correct broken header files.)  I consider this brokneness, so please
bug report it
to http://gcc.gnu.org/bugs.html and I will eventually (not too
eventually) see it
and apply a fixincludes fix. Thanks - Bruce




reply via email to

[Prev in Thread] Current Thread [Next in Thread]