On Fri, Aug 28, 2009 at 21:00, Nicolas Pitre[off-list ref] wrote:
quoted
quoted
quoted
Microsoft's compiler and libraries? MacOSX?
Are you saying you know those to be platforms with problems, or are you
asking whether those platforms will have problems?
Both: MS never had weak/vague linkage, but I don't know about MacOSX.
This is not about weak or vague linkage. This is plain basic linker
feature where no library object needs to be linked if there is no symbol
to resolve.
Maybe I missed something, but wasn't the idea to overwrite gettimeofday
with a public gettimeofday, defined in one of the object files?
And shouldn't a linker complain regarding duplicated symbols, unless
the other (library) symbol is defined as a weak symbol, allowing
overriding it with another symbol of stronger linkage?
quoted
I suspect them to have the same deficiency, but I'd be glad to be wrong.
Are you able to test it?
Only the MS, but it is not interesting.