Subject: | 'error_t' redeclared as different kind of symbol |
Compilation fails on most of my linux smoker systems:
...
cc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"v0.2.1\" -DXS_VERSION=\"v0.2.1\" -fPIC "-I/opt/perl-5.29.8t/lib/5.29.8/x86_64-linux-thread-multi/CORE" XS.c
XS.xs:23:8: error: 'error_t' redeclared as different kind of symbol
IError error_t;
^
In file included from /opt/perl-5.29.8t/lib/5.29.8/x86_64-linux-thread-multi/CORE/perl.h:1184:0,
from XS.xs:3:
/usr/include/errno.h:68:13: note: previous declaration of 'error_t' was here
typedef int error_t;
^
Makefile:340: recipe for target 'XS.o' failed
make: *** [XS.o] Error 1
...