
5 Dec
2008
5 Dec
'08
7:29 a.m.
* When I have a program that use a second thread and only that second thread does use Boost, will I need to link against the "-mt" libs? (I am using linux.) [An example would be: when I use some Boost facilities together with Qt: Qt4 creates threads even if I do not use any explicitly.] * If I create a lib and that lib does not use threads, but does use Boost.Regex, I usually add a "-lboost_regex" to that lib. If a program later on uses both my lib and threads, would I have had to link against boost_regex-mt? Does this boil down to 'if I might use threads I should always link against the -mt libs'? Best regards Christoph