Re: [hackers] [quark] Use sizeof() instead of magic constants || FRIGN
On 5 September 2016 at 09:44, FRIGN <dev_AT_frign.de> wrote:
> On Mon, 5 Sep 2016 09:39:24 +0200
> Anselm R Garbe <garbeam_AT_gmail.com> wrote:
>> I'm referring to NOT using parentheses to make it explicitely clear,
>> that the expression is not referring to a type. See sec. 6.5.3 in the
>> C lang spec for further details.
>
> why would there ever be a doubt that "unsigned char" is a type? Even if
> you use the stdint.h types, e.g. uint8_t, Posix has noticed and taken
> measures to make it clear with the _t suffix that uint8_t is a type.
Haha, you now open up another bad thing imho. I tried to avoid
_t-suffix crap in all my code so far.
Cheers,
Anselm
Received on Mon Sep 05 2016 - 09:48:34 CEST
This archive was generated by hypermail 2.3.0
: Mon Sep 05 2016 - 10:00:22 CEST