in reply to Defining an XS symbol in the Makefile.PL
Hi
$ ack MY_FORMAT * Goner2.c 170: printf(MY_FORMAT, sqrt(2.0)); Goner2.xs 14: printf(MY_FORMAT, sqrt(2.0)); Makefile 18:# DEFINE => q["-DMY_FORMAT=\"%.16e\""] 165:DEFINE = "-DMY_FORMAT=\"%.16e\"" 315: PASTHRU_DEFINE="\"-DMY_FORMAT=\\\"%.16e\\\"\" $(PASTHRU_DEFINE +)"\ Makefile.PL 26: DEFINE => q{"-DMY_FORMAT=\"%.16e\""}, $ perl -Mblib -MGoner2 -e" Goner2::beGone() " 1.4142135623730951e+000
$ perl -MExtUtils::MakeMaker - print MM->new->quote_literal('-DMY_FORMAT="%.16e"') __END__ Warning: Guessing NAME [Goner2] from current directory name. -DMY_FORMAT=\"%.16e\"
😳
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Defining an XS symbol in the Makefile.PL (quoting)
by syphilis (Archbishop) on Aug 19, 2019 at 06:14 UTC | |
by Anonymous Monk on Aug 19, 2019 at 08:41 UTC | |
by syphilis (Archbishop) on Aug 19, 2019 at 09:02 UTC | |
by Anonymous Monk on Aug 19, 2019 at 09:15 UTC | |
by syphilis (Archbishop) on Aug 19, 2019 at 12:05 UTC | |
|