|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-01-29 21:18 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 12:00:01 2025 UTC |
Description: ------------ ext/mysqli/mysqli.c:696 and ext/mysqli/mysqli.c:712 contain the following non-portable preprocessor directive: #ifdef ZTS && MYSQL_VERSION_ID >= 40000 This mixes ifdef with expressions, and is not portable. This should be: #if defined(ZTS) && (MYSQL_VERSION_ID >= 40000) Reproduce code: --------------- ./configure make Expected result: ---------------- /var/tmp/todo/php/php-5.2.5-exp/ext/mysqli/mysqli.c:696:12: warning: extra tokens at end of #ifdef directive /var/tmp/todo/php/php-5.2.5-exp/ext/mysqli/mysqli.c:712:12: warning: extra tokens at end of #ifdef directive Actual result: -------------- nothing