Re: incompatibility between g++ and vc++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Vincent,

I believe that MSVC++ is not compliant to ISO 14882 in this case.

Try this instead:

template <class Clock>
Clock const timer<Clock>::clock_ = Clock();

(Hmmm, shouldn't that be a "static Clock const volatile clock_;", since you don't want it cached-optimized?)

HTH,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux