Re: [PATCH v2] fixincludes: vxworks: regs.h: Fix includes in regs.h wrapper

2018-10-15 Thread Olivier Hainque
Hi Rasmus, > On 8 Oct 2018, at 15:03, Rasmus Villemoes wrote: > > fixincludes/ > > * inclhack.def (AAB_vxworks_regs_vxtypes): Add unconditional > include of vxCpu.h, guard include of vxTypesOld.h by > !_ASMLANGUAGE. > * fixincl.x: Regenerate. Good for me, thanks.

[PATCH v2] fixincludes: vxworks: regs.h: Fix includes in regs.h wrapper

2018-10-08 Thread Rasmus Villemoes
A quick experiment reveals that this hack is needed for C code - simply removing this hack entirely breaks the build of libstdc++, since regs.h (more accurately, the cpu-specific header it pulls in) defines structs in terms of types from vxTypesOld. Those definitions are properly guarded by #ifndef