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

XS is C, not perl

Thread Next
From:
H.Merijn Brand
Date:
January 6, 2014 07:25
Subject:
XS is C, not perl
Message ID:
20140106082450.3d813cbd@pc09.procura.nl
http://doc.procura.nl/smoke/hpux1111/511/cc/smoke.log 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  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.19   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About