
6 Dec
2010
6 Dec
'10
6:51 a.m.
AMDG On 12/5/2010 12:55 PM, Robert Ramey wrote:
Mathias Gaunard wrote:
Auto-linking against a particular depencendy should only be done if you include the header that triggers that dependency. Actually, I believe that you only trigger the dependency if you actually invoke some function in the library. At least that's the way it should be.
This isn't possible, since auto-linking is done with a #pragma. I don't know of a way to make it dependent on actually calling a library function. In Christ, Steven Watanabe