Skip to content

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Nov 28, 2024

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.

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>
@cmb69 cmb69 merged commit 2473f57 into php:master Nov 29, 2024
10 checks passed
@cmb69 cmb69 deleted the cmb/w14013 branch November 29, 2024 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants