Skip Menu | will be shut down on March 1st, 2021.

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the devel-nytprof CPAN distribution.

Report information
The Basics
Id: 63857
Status: resolved
Priority: 0/
Queue: devel-nytprof

Owner: Nobody in particular
Requestors: alexander.bluhm [...]

Bug Information
Severity: (no value)
Broken in: 4.06
Fixed in: (no value)

Subject: invalid #ifdef statement
Download (untitled) / with headers
text/plain 917b
When compiling Devel-NYTProf-4.06 I get this compiler warning: NYTProf.xs:1519:20: warning: extra tokens at end of #ifdef directive This is my compiler version: $ gcc -v Reading specs from /usr/bin/../lib/gcc-lib/i386-unknown-openbsd4.8/4.2.1/specs Target: i386-unknown-openbsd4.8 Configured with: OpenBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 Fix is not to mix ifdef with &&: --- NYTProf.xs.orig Tue Nov 30 23:15:41 2010 +++ NYTProf.xs Sun Dec 12 23:27:43 2010 @@ -1516,7 +1516,7 @@ DB_leave(pTHX_ OP *op, OP *prev_op) prev_last_executed_fid = last_executed_fid; prev_last_executed_line = last_executed_line; -#ifdef CxMULTICALL && 0 /* disabled for now */ +#if defined(CxMULTICALL) && 0 /* disabled for now */ /* pp_return, pp_leavesub and pp_leavesublv * return a NULL op when returning from a MULTICALL. * See Lightweight Callbacks in perlcall.
Fixed. Thanks.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to