Deprecate -fpack-struct for C++?

Mark Mitchell mark@codesourcery.com
Mon Feb 23 07:08:00 GMT 2004


> - Deprecate -fpack-struct for C++. I'd like to deprecate it in 3.4 and remove
> it from mainline. I guess it's not so widespread for C++ given the above issues
> anyway. And we are not losing any semantic power since we still have attribute
> packed anyway.

I would support deprecating -fpack-struct in C++.

(And in C for that matter!  It's much better to use attributes and/or 
#pragma pack.)

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com



More information about the Gcc mailing list