[C++] GCC tree linkage types

Chris Lattner sabre@nondot.org
Fri Nov 7 15:52:00 GMT 2003


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/



More information about the Gcc mailing list