> On 21 Dec 2019, at 02:39, Mike Stump <mikest...@comcast.net> wrote: > > On Dec 20, 2019, at 10:11 AM, Olivier Hainque <hain...@adacore.com> wrote: >> >> The attached patch is a proposal for a basic solution >> to an issue which might be an improper thing done by a >> system header on VxWorks, but which is a big pain to fix >> at this level and very simple to address super locally. > >> Is this OK to commit ? > > Ok, but I will comment it would be much better to fix includes the header to > be namespace clean, longer run. I know why that probably won't work, but > I'll mention it anyway. If fixincluding the header works better than I > expect, please do that fix instead.
Thanks for your reviews and feedback Mike. Always glad to receive experts' comments :) Yes, fixincludes is something we have considered and will reconsider at some point. We have made progress for Vx6 but we're still not ready for Vx7, where custom OS install are made for every project (notion of VSB), so there are compromises to make on which we're still not clear how to settle. Besides, this particular fix would be pretty invasive as the problematic definition is exposed by a common header (vxWorksCommon.h) for use by potentially any other system header. Olivier