Re: incompatibility between g++ and vc++

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

 




On Wed, 9 Jun 2004, Eljay Love-Jensen wrote:

> 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

Thank you very much, it works that way !

Vincent TORRI


[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