[Bug c++/10207] Empty structure initialization fails under C++ (but works under C)

gdr@integrable-solutions.net gcc-bugzilla@gcc.gnu.org
Sat Jun 14 21:51:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10207



------- Additional Comments From gdr@integrable-solutions.net  2003-06-14 21:51 -------
Subject: Re:  Empty structure initialization fails under C++ (but works under C)

"pinskia@physics.uc.edu" <gcc-bugzilla@gcc.gnu.org> writes:

| I thought empty structs in C were a gcc extension and that gcc
| decided that it would still be of size 0 

Right.

-- Gaby



More information about the Gcc-bugs mailing list