Skip to content

Instantly share code, notes, and snippets.

@kan
Created July 27, 2010 03:44
Show Gist options
  • Save kan/491691 to your computer and use it in GitHub Desktop.
Save kan/491691 to your computer and use it in GitHub Desktop.
/usr/bin/perl "-Iinc" /usr/share/perl/5.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ExtUtils/typemap xs/Text-Xslate.xs > xs/Text-Xslate.x
sc && mv xs/Text-Xslate.xsc xs/Text-Xslate.c
cc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -Wall -g -O2 -DVERSION=\"0.1048\" -DXS_VERSION=\"0.1048\" -
o xs/Text-Xslate.o -fPIC "-I/usr/lib/perl/5.8/CORE" -DUSE_PPPORT xs/Text-Xslate.c
In file included from Text-Xslate.xs:21:
./xslate_ops.h: In function 'tx_init_ops':
./xslate_ops.h:211: warning: implicit declaration of function 'hv_stores'
In file included from Text-Xslate.xs:137:
./xs/xslate_opcode.inc: In function 'TXCODE_concat':
./xs/xslate_opcode.inc:287: warning: implicit declaration of function 'sv_setpvs'
./xs/xslate_opcode.inc: In function 'TXCODE_make_array':
./xs/xslate_opcode.inc:538: warning: implicit declaration of function 'SvREFCNT_inc_simple_void_NN'
Text-Xslate.xs: In function 'tx_verbose':
Text-Xslate.xs:155: warning: implicit declaration of function 'hv_fetchs'
Text-Xslate.xs:155: error: invalid type argument of 'unary *'
Text-Xslate.xs: In function 'tx_mark_raw':
Text-Xslate.xs:374: warning: implicit declaration of function 'newSV_type'
Text-Xslate.xs:374: warning: initialization makes pointer from integer without a cast
Text-Xslate.xs: In function 'tx_html_escape':
Text-Xslate.xs:452: warning: implicit declaration of function 'newSVpvs_flags'
Text-Xslate.xs:452: warning: initialization makes pointer from integer without a cast
Text-Xslate.xs: In function 'XS_Text__Xslate__macrocall':
Text-Xslate.xs:574: error: 'dVAR' undeclared (first use in this function)
Text-Xslate.xs:574: error: (Each undeclared identifier is reported only once
Text-Xslate.xs:574: error: for each function it appears in.)
Text-Xslate.xs:574: warning: ISO C90 forbids mixed declarations and code
Text-Xslate.xs: In function 'tx_load_template':
Text-Xslate.xs:889: warning: assignment makes pointer from integer without a cast
Text-Xslate.xs: In function 'tx_my_cxt_init':
Text-Xslate.xs:979: warning: implicit declaration of function 'gv_stashpvs'
Text-Xslate.xs:979: warning: assignment makes pointer from integer without a cast
Text-Xslate.xs:980: warning: assignment makes pointer from integer without a cast
Text-Xslate.xs:981: warning: implicit declaration of function 'SvREFCNT_inc_NN'
Text-Xslate.xs:981: warning: assignment makes pointer from integer without a cast
Text-Xslate.xs:982: warning: assignment makes pointer from integer without a cast
Text-Xslate.xs: In function 'XS_Text__Xslate__Engine__assemble':
Text-Xslate.xs:1048: warning: assignment makes pointer from integer without a cast
Text-Xslate.xs:1073: warning: assignment makes pointer from integer without a cast
Text-Xslate.xs:1095: warning: implicit declaration of function 'STR_WITH_LEN'
Text-Xslate.xs:1095: warning: passing argument 2 of 'Perl_newSVpvn_share' makes pointer from integer without a cast
Text-Xslate.xs:1095: error: too few arguments to function 'Perl_newSVpvn_share'
Text-Xslate.xs:1100: warning: implicit declaration of function 'SvREFCNT_inc_simple_NN'
Text-Xslate.xs:1100: warning: assignment makes pointer from integer without a cast
Text-Xslate.xs:1180: warning: assignment makes pointer from integer without a cast
Text-Xslate.xs: In function 'XS_Text__Xslate__Engine__warn':
Text-Xslate.xs:1360: warning: assignment makes pointer from integer without a cast
Text-Xslate.xs:1374: warning: assignment makes pointer from integer without a cast
Text-Xslate.xs:1387: warning: implicit declaration of function 'mPUSHs'
Text-Xslate.xs: In function 'boot_Text__Xslate':
Text-Xslate.xs:1476: warning: implicit declaration of function 'gv_fetchpvs'
make[1]: *** [xs/Text-Xslate.o] Error 1
make[1]: Leaving directory `/home/kan/.cpanplus/5.8.8/build/Text-Xslate-0.1048'
make: *** [build-stamp] Error 2
make: Leaving directory `/home/kan/.cpanplus/5.8.8/build/Text-Xslate-0.1048'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment