On 9/28/06, Nelson H. F. Beebe <[EMAIL PROTECTED]> 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