[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH 0/1] Fix spurious array bounds warnings on
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH 0/1] Fix spurious array bounds warnings on OpenBSD |
Date: |
Sat, 21 Jan 2017 15:16:13 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Sat, Jan 21, 2017 at 03:14:12PM +0100, Peter Bex wrote:
> The Linux kernel fixed this by using foo[0], instead. Using a flexible
> array in all cases (thus requiring C99) seems much saner to me.
>
Also, apparently our foo[1] hack is somewhat notorious:
http://c-faq.com/struct/structhack.html
Cheers,
Peter
signature.asc
Description: Digital signature