develooper Front page | perl.perl5.porters | Postings from January 2014

XS is C, not perl

Thread Next
H.Merijn Brand
January 6, 2014 07:25
XS is C, not perl
Message ID: shows:

cpp: "APItest.xs", line 5: error 4034: Bad syntax for #include
directive. make[1]: *** [APItest.o] Error 1

Looking at APItest.xs shows:

#include "fakesdio.h"   # Causes us to use PerlIO below

What? *perl* comment in a C-file?

Can I change that to /* … */ or is that stepping on toes?

H.Merijn Brand   Perl Monger
using perl5.00307 .. 5.19   porting perl5 on HP-UX, AIX, and openSUSE

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About