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.
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