Fixinclude help for QNX port
Bruce Korb
bkorb@veritas.com
Thu Jan 16 15:37:00 GMT 2003
Hi Graeme,
> This is based on a patch that was submitted by J.T. Conklin a
> couple of months back, with the suggested changes made.
>
> One of the issues he and I have been tripping over is that the
> fixinclude stuff is breaking some of the QNX headers, specifically
> stddef.h and limits.h (size_t and wchar_t fixes are the culprits).
Sorry I missed it. Your "Fixinclude" subject made it easier for me to find.
RE: your fix:
> fix = {
> hackname = qnx_nto_limits_h;
> files = limits.h, stddef.h;
> mach = '*nto-qnx*';
> replace; /* empty replacement -> no fixing the file */
> };
1. Such non-fixes should precede all other fixes. Since fixes are
alphabetized, it should be named "AAB_qnx_okay_headers", or some such.
more importantly:
2. I would prefer to fix the size_t and wchar_t fixes so they don't
wreck valid code.
Please send me copies of the headers that get mutilated. I'll fix the
fixes so we won't do that any more. :-)
More information about the Gcc-patches
mailing list