mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
![]() By default compilers may not treat attribute warnings as errors when encountering an unknown __attribute__, unless some error option is provided (-Werror=attributes, -Werror=unknown-attributes, -Werror...). This fixes the check and wraps it into a separate M4 macro to be extendable in the future if needed. It checks if conftest.err file was generated by the compilation check when warnings appear. Also, PHP check is a bit customized by using __alignof__ keyword, so it is left in there for now to not break existing checks. |
||
---|---|---|
.. | ||
ax_check_compile_flag.m4 | ||
ax_func_which_gethostbyname_r.m4 | ||
ax_gcc_func_attribute.m4 | ||
config-stubs | ||
config.guess | ||
config.sub | ||
gen_stub.php | ||
genif.sh | ||
libtool.m4 | ||
ltmain.sh | ||
Makefile.gcov | ||
Makefile.global | ||
order_by_dep.awk | ||
php.m4 | ||
php_cxx_compile_stdcxx.m4 | ||
pkg.m4 | ||
print_include.awk | ||
shtool |