On Fri, Apr 20, 2018 at 06:25:10AM +0000, Tsimbalist, Igor V wrote: > > Something like this? > > Shouldn't this > > -# ifdef __IBT__ > +# if (__CET__ & 1) != 0 > > Be as > > -# ifdef __IBT__ > +#ifdef __CET__ > +# if (__CET__ & 1) != 0 > > OK otherwise.
Only if you use -Wundef warning (not part of -Wall or -W) and, if this is a system header, only with -Wundef -Wsystem-headers. But perhaps it doesn't hurt to wrap it. Jakub