Re: [PATCH] Adjust VxWorks fixincludes hack for mkdir to work for C++

2021-12-20 Thread Olivier Hainque via Gcc-patches
> On 20 Dec 2021, at 17:31, Jeff Law wrote: > > Given how vxworks specific these fixinc bits are, I think they reasonably > fall under maintainership of vxworks bits. > > So I think you can/should self-approve :-) Thanks Jeff, Rasmus has provided useful feedback on some of the hunks and

Re: [PATCH] Adjust VxWorks fixincludes hack for mkdir to work for C++

2021-12-20 Thread Jeff Law via Gcc-patches
On 12/17/2021 4:55 AM, Olivier Hainque via Gcc-patches wrote: Hello, The attached patch adjusts a very old fixincludes hack for VxWorks, to expose a varargs function prototype for "mkdir" instead of a varargs macro (!). The function version is more amenable to calls from C++ like

[PATCH] Adjust VxWorks fixincludes hack for mkdir to work for C++

2021-12-17 Thread Olivier Hainque via Gcc-patches
Hello, The attached patch adjusts a very old fixincludes hack for VxWorks, to expose a varargs function prototype for "mkdir" instead of a varargs macro (!). The function version is more amenable to calls from C++ like std::mkdir(arg1, arg2). This helps libstdc++ build failures for old