This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/71552] Confusing error for incorrect struct initialization


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71552

--- Comment #5 from Mason <mpeg.blue at free dot fr> ---
(In reply to Martin Sebor from comment #3)
> In a discussion on gcc-help the submitter provided a different/better test
> case for which GCC could and arguably should emit a better error than
> "initializer element is not constant"

For the record, the test case was provided in comment 2.

Regards.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]