In perl.git, the branch tonyc/constdtrace has been created <http://perl5.git.perl.org/perl.git/commitdiff/302c5e99ccbdb7bba4f86b5f783d713208d021a1?hp=0000000000000000000000000000000000000000>
at 302c5e99ccbdb7bba4f86b5f783d713208d021a1 (commit) - Log ----------------------------------------------------------------- commit 302c5e99ccbdb7bba4f86b5f783d713208d021a1 Author: Tony Cook <t...@develop-help.com> Date: Wed Jul 20 20:23:15 2011 +1000 work around a bug in dtrace - it strips const from function parameters With usedtrace this caused: - build failures under g++ (OS X) - const qualification warnings with gcc (OS X) The workaround simply adds const to char * parameters if not already present. The bug in dtrace was apparently reported to Sun in 2006: http://opensolaris.org/jive/thread.jspa?threadID=53810 Mozilla ran into the same problem: https://bugzilla.mozilla.org/show_bug.cgi?id=593483 ----------------------------------------------------------------------- -- Perl5 Master Repository