From: sixd Operating system: Linux PHP version: 5.4Git-2013-08-09 (Git) Package: Compile Warning Bug Type: Bug Bug description:Discarded qualifiers from pointer target warnings when using --enable-dtrace
Description: ------------ Here are some patches to fix cast warnings when --enable-dtrace is used. The dtrace utility typically discards/discarded 'const' qualifiers. I don't have Zend karma to apply them myself. The patches should be applied to PHP 5.4+ and then 'php zend_vm_gen.php' run. (The patches are a diff from the PHP-5.5 branch) -- Edit bug report at https://bugs.php.net/bug.php?id=65431&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65431&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65431&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65431&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=65431&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=65431&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=65431&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=65431&r=needscript Try newer version: https://bugs.php.net/fix.php?id=65431&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=65431&r=support Expected behavior: https://bugs.php.net/fix.php?id=65431&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=65431&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=65431&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=65431&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65431&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=65431&r=dst IIS Stability: https://bugs.php.net/fix.php?id=65431&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=65431&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=65431&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=65431&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=65431&r=mysqlcfg