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]

Re: [Bug c++/10207] 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


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