Closed averne closed 9 months ago
I added a fix in the latest commit to master. I won't bump to a new version yet as I need to add some extra checks to ensure that it doesn't mess something else up. But it should work for you, so you can install Futhark from master and test.
Hi, thank you for the quick fix. I can confirm it now successfully parses both the minimal repro and the ffnvcodec header.
Just pushed a new 0.10.0 version with the improved fix
futhark fails to parse/generate code for arrays of anonymous structs.
Originally discovered when attempting to import
ffnvcodec/dynlink_loader.h
.Minimal repro: