This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: incompatibility between g++ and vc++



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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]