intel / intel/yarpgen

yarpgen (v1) is using an empty initializer list, when --std=c99 is selected, but that's a c23 feature

Open
#173 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
570
Forks
65
PR merge metrics
No merged PRs in 30d

Description

While testing yarpgen (v1) with --std=c99 and OpenWatcom,
compilation breaks, because yarpgen (v1) is created an empty initializer list, which is a c23 feature.
(as example: driver.c, line 890 + 895: created with yarpgen1 --std=c99 -m 32 -s 135)

I added a feature request for OpenWatcom, but violating the c standard is a fault on the yarpgen side.

Source and helper scripts attached: [00135.zip](https://github.com/intel/yarpgen/files/10667879/00135.zip)

xref to the report in OpenWatcom:
https://github.com/open-watcom/open-watcom-v2/issues/1044

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.