Very simple reproduction - just create a new project (via stack new) and add the line cpp-options: ["-std=c99"]. Afterwards start ghcide and it will produce the mentioned error.
For now I keep short, but please don't hesitate to ask if I could provide further information or clarify things.
My guess is this is really a hie-bios issue, but will need tracking down first to confirm.
Most helpful comment
My guess is this is really a hie-bios issue, but will need tracking down first to confirm.