[gccsdk] stdarg.h and stddef.h

Ron beeb at woosh.co.nz
Fri May 22 17:00:26 PDT 2015


In message <7b0f9ac754.beeb at ron1954.woosh.co.nz>
          Ron <beeb at woosh.co.nz> wrote:

> stdarg.h and stddef.h have references from other files, more-so stddef.h
> It appears 4.1.2 and 4.7.4 dont have these files, is it ok to delete the
> #include 's referring to them?
>
> It is not an issue I have run into compiling, but Cproto uses the cpp
> and traces everything in the files.
>
> Another thing it errors with is size_t, maybe the cproto grammar.y file
> needs updating.
>
I have added two empty files stdarg.h and stddef.h and that has stopped
those errors.

The remaining errors seem to be related to size_t and wchar_t

typedef long long size_t;
typedef long long wchar_t;

stops those errors, but what are the sensible values to use?

Thanks Ron M.





More information about the gcc mailing list