This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Preview: PATCH to overhaul C++ visibility handling
On Jun 29, 2006, at 9:12 PM, Jason Merrill wrote:
Here's the patch I'm applying. The differences from the last
posted patch:
1) class __attribute ((whatever)) Foo gives a warning after Foo is
defined.
2) All template specializations and instantiations ignore #pragma
visibility.
3) More documentation.
This causes a bootstrap failure with Objective-C++ enabled:
/home/pinskia/src/newtest/trunk/gcc/objcp/objcp-decl.c: In function
‘objcp_start_struct’:
/home/pinskia/src/newtest/trunk/gcc/objcp/objcp-decl.c:62: error: too
few arguments to function ‘begin_class_definition’
cc1: warnings being treated as errors
/home/pinskia/src/newtest/trunk/gcc/objcp/objcp-decl.c:63: warning:
control reaches end of non-void function
Thanks,
Andrew Pinski