|
From: Klaus S. <kl...@sp...> - 2007-10-14 07:41:11
|
Hi
I'm having this problem using Visual Studio Express 2005.
I nailed it down to a 15 line program (attached to this email), which
generates to wrong results when compiled within a separate Visual Studio
solution _and_ the option
Common Language Runtime-Support (/clr)
is switched on. Everything is okay as soon as I'm switching this option off or
declaring
inline T& Singleton<T>::instance() { ..}
instead of
T& Singleton<T>::instance() { }
cheers
--
Klaus Spanderen
Ludwig Erhard Str. 12
48734 Reken (Germany)
EMail: kl...@NO... (remove NOSPAM from the address)
|