[php-src] PR #14211: Fix the aligned variable attribute check

From: Date: Sun, 12 May 2024 21:16:47 +0000
Subject: [php-src] PR #14211: Fix the aligned variable attribute check
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-26127@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/14211 Author: petk By default compilers may not treat attribute warnings as errors when encountering an unknown __attribute__, unless some error option is provided (-Werror=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.

« previous php.git-pulls (#26127) next »