PATCH: Warn about __attribute__((strong)) in docs
Jason Merrill
jason@redhat.com
Mon Apr 19 23:20:00 GMT 2004
On Sun, 18 Apr 2004 15:07:34 -0700, Mark Mitchell <mark@codesourcery.com> wrote:
> Jason, I'd like your thoughts on removing this extension, perhaps even
> before 3.4.1. I don't think we fully understand what it means yet,
> and we can always add it back if and when we think it's necessary.
> Thoughts?
I'm opposed to removing it; it's currently necessary to allow
standard-conforming code to work in debug mode.
I actually think the desired semantics are pretty well-defined, though
there are still bugs:
Arg-dependent lookup of things in the used namespace also considers the
using namespace.
Any lookup of things in the using namespace also considers the used
namespace.
We thought for a while that there should be special linkage semantics, but
I think we all agree now that there shouldn't. The remaining problems have
to do with some lookups failing to obey #2.
Jason
More information about the Gcc-patches
mailing list