
4 Nov
2004
4 Nov
'04
11:31 p.m.
"Michael Glassford" <glassfordm@hotmail.com> writes:
It has been suggested to me that it would be better (for other reasons) to mark individual member functions as exported rather than marking whole classes. Would that also help in this situation? I haven't looked closely yet, but if the individual member functions of the thread classes are exported then this warning may no longer be generated.
Would there be any problems with changing to this approach?
Yes. It breaks some versions of GCC, which only work right if whole classes are marked. To get some inline functions in the same class, factor the class into base and derived parts, where the base class is exported. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com