Re: [hackers] [dwm][PATCH] Use proper conversion specifier and don't assume int == 32bits

From: Laslo Hunhold <dev_AT_frign.de>
Date: Wed, 16 Feb 2022 14:51:11 +0100

On Wed, 16 Feb 2022 19:10:06 +0600
NRK <nrk_AT_disroot.org> wrote:

Dear NRK,

> I don't think this is possible, at least not with the LENGTH macro.
> The pre-processor doesn't have access to `sizeof` operator.

thanks for your quick and helpful answer, and sorry on my behalf for
this mistake. It totally makes sense that the preprocessor does not
have access to sizeof of course, given it would have to build an AST to
elaborate the size of the constant array.

With best regards

Laslo
Received on Wed Feb 16 2022 - 14:51:11 CET

This archive was generated by hypermail 2.3.0 : Wed Feb 16 2022 - 15:00:39 CET