This is the mail archive of the gcc@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]

Re: Minimum struct size


>>>>> "Rob" == Rob Taylor <robt@flyingpig.com> writes:

    Rob> myself... (NB the standard says 'base class sub objects *may*
    Rob> have zero size')

The next release of G++ will implement this optimization.  However,
you can't really use that functionality at this point due to lack of
libraries, etc.

I don't see any easy way out, except waiting for GCC 3.0 in the late
part of the year.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

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