From: Bruce D. <bru...@bi...> - 2001-01-29 18:55:37
|
I wish Axel had not looked in the MSVC headers. If someone had been porting an application from MSVC or Borland to MinGW, had noticed that it gave lots of compiler warnings on lines which all mentioned CLOCKS_PER_SEC, and noticed that changing CLOCKS_PER_SEC from 1000.0 to 1000 fixed this problem, they might have inferred that this change was correct without ever consulting the Microsoft headers. Bruce ----- Original Message ----- From: "Earnie Boyd" <ear...@ya...> To: "Kittenberger, Axel" <Axe...@da...> Cc: <min...@li...> Sent: January 29, 2001 10:18 AM Subject: Re: [Mingw-users] CLOCKS_PER_SEC > "Kittenberger, Axel" wrote: > > > > Hello > > > > in time.h of the mingw runtime ((mingw-runtime-0.4-20001121-src.tar.gz)) > > CLOCKS_PER_SEC is defined following: > > #define CLOCKS_PER_SEC 1000.0 > > > > In the MSVC headers ... <snip> > > Please, DON'T QUOTE FROM THE MSVC HEADERS. You are breaking your EULA > when you do. Find the reference on http://msdn.microsoft.com and > perhaps we'll get around to changing it. > > > I donnot know how it is defined in standard or what it should be.... I > > just noticed the difference. > > > > I can't say either. > > Earnie. > |