[PATCH] gcc: vx-common.h: fix test for VxWorks7

Olivier Hainque hainque@adacore.com
Fri Nov 5 14:08:05 GMT 2021



> On 5 Nov 2021, at 09:48, Rasmus Villemoes <rasmus.villemoes@prevas.dk> wrote:
> Applied to master and pushed - hope I've done it right.

AFAICS, yes.

> How about the gcc-11 branch, can it be applied there as well,

Yes, I think so. The builds you do used to work before
the change that introduced the ifdef, IIUC, and the adjustment
you propose is close to being in the "obvious" category.

Very small, clearly vxworks only and in line with
every other use of that macro.

> and if so,
> should I do a "git cherry-pick -x" and push it to that branch?

> From
> looking at the git history it seems to be the way things are done.

That's my understanding as well.

Thanks,

Olivier



More information about the Gcc-patches mailing list