
Steven Watanabe wrote:
The problem is that the linker complains about duplicate definitions. Try using an inline function or template in multiple translation units. msvc 8.0 sp1 won't even let me use __declspec(selectany) I reimplemented the macro and I see the problem but I already made up my mind: use portable solution when possible and rely on asm magic of __thread global on msvc.
-- Alexander Nasonov http://nasonov.blogspot.com I couldn`t tell if the streaker was a man or a woman because it had a bag on it`s head. -- Yogi Berra -- This quote is generated by: /usr/pkg/bin/curl -L http://tinyurl.com/veusy \ | sed -e 's/^document\.write(.//' -e 's/.);$/ --/' \ -e 's/<[^>]*>//g' -e 's/^More quotes from //' \ | fmt | tee ~/.signature-quote