Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
winspool opened this issue Feb 6, 2023 · 0 comments

Comments

@winspool
Copy link
Contributor

winspool commented Feb 6, 2023

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

xref to the report in OpenWatcom:
open-watcom/open-watcom-v2#1044

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant