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


Ian Lance Taylor writes:

> A weak undefined symbol is like an ordinary undefined symbol, except
> that it is not an error if the symbol is never defined (and in that
> case the symbol is implicitly defined with the value zero).

What are weak undefined symbols used for?  If they are referenced but
never defined, how does the program link?

-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]