Subject: | Non-C89 #ifdef inhibits build |
$ make
:
cc -c -Ae -DPERL_DONT_CREATE_GVSV +Z -z -D_HPUX_SOURCE -Wl,
+vnocompatwarnings +DD64 -I/pro/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 +O2 +Onolimit -DVERSION=\"4.06\" -DXS_VERSION=
\"4.06\" +Z "-I/pro/lib/perl5/5.10.1/PA-RISC2.0-LP64/CORE" -
DHAS_CLOCK_GETTIME -DHAS_ZLIB NYTProf.c
cpp: "NYTProf.xs", line 1519: error 4024: Bad syntax for #ifdef.
make: *** [NYTProf.o] Error 1
$ perl -ne'1515..1524 and print"$.:$_"' NYTProf.xs
1515: saved_errno = errno;
1516: prev_last_executed_fid = last_executed_fid;
1517: prev_last_executed_line = last_executed_line;
1518:
1519:#ifdef CxMULTICALL && 0 /* disabled for now */
1520: /* pp_return, pp_leavesub and pp_leavesublv
1521: * return a NULL op when returning from a MULTICALL.
1522: * See Lightweight Callbacks in perlcall.
1523: */
1524: is_multicall = (!op && cxstack_ix >= 0 && CxMULTICALL(&cxstack
[cxstack_ix]));
$ /usr/bin/cc:
$Revision: 92453-07 linker linker crt0.o B.11.53 060807 $
LINT B.11.11.18 CXREF B.11.11.18
HP92453-01 B.11.11.18 HP C Compiler
$ PATCH/11.00:PHCO_27774 Oct 3 2002 09:45:59 $
/usr/bin/cc:
$Revision: 92453-07 linker linker crt0.o B.11.53 060807 $