cgen error with gcc, but not with tcc, for a program, printing an incomplete typedef C struct #21053
Labels
Auto str Method Generation
Bugs/feature requests, that are related to the automatic string method generation.
Bug
This tag is applied to issues which reports bugs.
Compiler: GCC
Bugs/feature requests, that are related to compiler GCC.
Unit: cgen
Bugs/feature requests, that are related to the default C generating backend.
V doctor:
What did you do?
v -g -o vdbg cmd/v && vdbg y.v
What did you expect to see?
A compiled program, but with gcc. It does compile with tcc.
What did you see instead?
With tcc, which is OK:
With gcc, there is an error:
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: