gisle / tcl.pm

Tcl extension module for Perl
http://search.cpan.org/dist/Tcl
9 stars 8 forks source link

Tcl.xs: explicitly disable prototypes #23

Closed chrstphrchvz closed 5 years ago

chrstphrchvz commented 5 years ago

Prototypes are disabled by default, but prototyping behavior must be specified to avoid nag message from xsubpp:

>xsubpp  -typemap C:\STRAWB~1\perl\lib\ExtUtils\typemap -typemap tcl.pm\typemap  Tcl.xs > Tcl.xsc
Please specify prototyping behavior for Tcl.xs (see perlxs manual)

Alternatively, should prototypes be enabled/not specified in Tcl.xs (e.g. in Makefile.PL instead)?