[php-src] PR #16986: Elevate C4013 to level 1
| From: | cmb69 | Date: | Thu, 28 Nov 2024 17:58:56 +0000 |
| Subject: | [php-src] PR #16986: Elevate C4013 to level 1 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29824@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16986
Author: cmb69
C4013 warns about undefined functions[1], but for some reason is only a level 3 warning, and such
suppressed by default (usually there will be link error afterwards, though). It appears to be
sensible to elevate the warning to level 1, so it will be converted to a compile error.
[1] <https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-3-c4013>
---
Note that PHP-8.4 and master are already C4013 clean, but PHP-8.3 (or only PHP-8.2) are not.