Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: POINTER_ALIGNED_P (was: Re: CVS commit: src/sys)
> On Feb 16, 2021, at 1:56 PM, Roland Illig <roland.illig%gmx.de@localhost> wrote:
>
> A downside of this test is that the macro from <sys/param.h> gets only
> evaluated at compile time of the test. The test therefore cannot cover
> future updates to <sys/param.h> without being reinstalled itself. But
> at least for the release builds, it ensures a correct definition.
You can make this get evaluated at run-time by passing in a non-constant argument.
-- thorpej
Home |
Main Index |
Thread Index |
Old Index