Hi *,
I am having a problem with Debian's perl 5.8. The following C source
does not compile:
#include <features.h>
#include <EXTERN.h>
#include <perl.h>
#include <XSUB.h>
I get the following error:
In file included from /usr/lib/perl/5.8.0/CORE/op.h:480,
from /usr/lib/perl/5.8.0/CORE/perl.h:2209,
from test.c:3:
/usr/lib/perl/5.8.0/CORE/reentr.h:602: field `_crypt_struct' has incomplete type
In file included from /usr/lib/perl/5.8.0/CORE/perl.h:3368,
from test.c:3:
/usr/lib/perl/5.8.0/CORE/proto.h:246: parse error before `off64_t'
etc. etc.
Removing the #include <features.h> fixes this problem. Now, I have a
package that first includes <string.h>, which in turn includes the
evil <features.h>. It used to build fine with 5.6.1, as does the above
C source, but now that does not work anymore.
Any comments?
Greetings
Torsten
Attachment:
pgpQlE1TNmpcP.pgp
Description: PGP signature