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]
Other format: [Raw text]

Re: [C++] GCC tree linkage types


On Thu, 6 Nov 2003, Matt Austern wrote:

> I've actually got a more general question.  We've got DECL_WEAK,
> DECL_ONE_ONLY, and DECL_COMDAT.  They're not quite the same,
> but they're very similar.
>
> So my question: since we've got three flags, in principle we've got
> 2^3 = eight possible combinations of flags.  I bet most of those eight
> don't make any sense.

Definitely.

>  Which combinations are errors, which are
> meaningful, and what are the distinctions between the meaningful
> combinations?  Should the answer to that question be documented
> somewhere?

PLEASE!  :) :)

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/


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