GNOME Bugzilla – Bug 756376
Local arrays with length in namespace generate invalid C code
Last modified: 2017-02-02 14:26:15 UTC
Created attachment 313044 [details] bug demo In the attached file, the array's length is `Info.len` In C, when declaring the array it's fine but when passed to the function it becomes literally `Info.len` and not `INFO_len`
Created attachment 336759 [details] [review] Fix emission of constant array length
commit e7f987ab5da3bf618776572755570323d57bd9de Author: Simon Werbeck <simon.werbeck@gmail.com> Date: Thu Sep 22 21:22:25 2016 +0200 codegen: Fix emission of constant array length