Re: [RFC] fixincludes: vxworks: add hack around ioLib.h/unistd.h mutual inclusion

2018-06-25 Thread Rasmus Villemoes
On 2018-06-20 14:35, Martin Liška wrote: > On 06/20/2018 02:19 PM, Tom de Vries wrote: >> Hi, >> >> for make check-fixincludes I'm seeing: >> ... >> cmp: EOF on >> /home/vries/gcc_versions/devel/src/fixincludes/tests/base/ioLib.h >> *** ioLib.h 2018-06-20 14:14:40.035956737 +0200 >> ---

Re: [RFC] fixincludes: vxworks: add hack around ioLib.h/unistd.h mutual inclusion

2018-06-20 Thread Martin Liška
On 06/20/2018 02:19 PM, Tom de Vries wrote: > Hi, > > for make check-fixincludes I'm seeing: > ... > cmp: EOF on > /home/vries/gcc_versions/devel/src/fixincludes/tests/base/ioLib.h > *** ioLib.h 2018-06-20 14:14:40.035956737 +0200 > ---

Re: [RFC] fixincludes: vxworks: add hack around ioLib.h/unistd.h mutual inclusion

2018-06-20 Thread Tom de Vries
Hi, for make check-fixincludes I'm seeing: ... cmp: EOF on /home/vries/gcc_versions/devel/src/fixincludes/tests/base/ioLib.h *** ioLib.h 2018-06-20 14:14:40.035956737 +0200 --- /home/vries/gcc_versions/devel/src/fixincludes/tests/base/ioLib.h 2018-06-20 14:14:28.183925247 +0200

Re: [RFC] fixincludes: vxworks: add hack around ioLib.h/unistd.h mutual inclusion

2018-05-25 Thread Jeff Law
On 05/25/2018 08:47 AM, Bruce Korb wrote: > Ick. Looks like the right fix to me and it is clearly constrained to > vxworks platforms. Approved by me. Thanks. Installed on the trunk. jeff

Re: [RFC] fixincludes: vxworks: add hack around ioLib.h/unistd.h mutual inclusion

2018-05-25 Thread Bruce Korb
Ick. Looks like the right fix to me and it is clearly constrained to vxworks platforms. Approved by me. On Fri, May 25, 2018 at 1:58 AM, Rasmus Villemoes wrote: > In old VxWorks headers (5.5), ioLib.h includes unistd.h via > > #include "unistd.h" > > We copy ioLib to

[RFC] fixincludes: vxworks: add hack around ioLib.h/unistd.h mutual inclusion

2018-05-25 Thread Rasmus Villemoes
In old VxWorks headers (5.5), ioLib.h includes unistd.h via #include "unistd.h" We copy ioLib to include-fixed, with a few fixes applied. We also wrap unistd.h, so that fixed header contains #include_next This means that when user-code does #include they'll get the fixed header (as they