Hi Paul,

The CI reports that this patch leads to a compilation error on most
platforms. For example, on Alpine Linux:

gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. 
-I../../gllib -I..  -DGNULIB_STRICT_CHECKING=1 -Wall -DCONTINUE_AFTER_ASSERT 
-fvisibility=hidden -g -O2 -MT selinux-at.o -MD -MP -MF $depbase.Tpo -c -o 
selinux-at.o ../../gllib/selinux-at.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from ../../gllib/selinux-at.h:17,
                 from ../../gllib/selinux-at.c:21:
./selinux/selinux.h:23:5: error: #if with no expression
   23 | #if
      |     ^
make[4]: *** [Makefile:11845: selinux-at.o] Error 1

Or on FreeBSD:

depbase=`echo selinux-at.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; cc 
-DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC  -DEXEEXT=\"\" -I. 
-I../../gllib -I..  -DGNULIB_STRICT_CHECKING=1  -I/usr/local/include -Wall 
-DCONTINUE_AFTER_ASSERT -D_THREAD_SAFE -fvisibility=hidden -g -O2 -MT 
selinux-at.o -MD -MP -MF $depbase.Tpo -c -o selinux-at.o 
../../gllib/selinux-at.c && mv -f $depbase.Tpo $depbase.Po
In file included from ../../gllib/selinux-at.c:21:
In file included from ../../gllib/selinux-at.h:17:
./selinux/selinux.h:23:5: error: expected value in expression
#if 
    ^
1 error generated.

Bruno




Reply via email to