|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65085 - in sandbox/chrono/libs/chrono: src/win test
From: vicente.botet_at_[hidden]
Date: 2010-08-28 10:56:25
Author: viboes
Date: 2010-08-28 10:56:19 EDT (Sat, 28 Aug 2010)
New Revision: 65085
URL: http://svn.boost.org/trac/boost/changeset/65085
Log:
toward warning free code
Text files modified:
sandbox/chrono/libs/chrono/src/win/chrono.cpp | 2 +-
sandbox/chrono/libs/chrono/test/Jamfile.v2 | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
Modified: sandbox/chrono/libs/chrono/src/win/chrono.cpp
==============================================================================
--- sandbox/chrono/libs/chrono/src/win/chrono.cpp (original)
+++ sandbox/chrono/libs/chrono/src/win/chrono.cpp 2010-08-28 10:56:19 EDT (Sat, 28 Aug 2010)
@@ -18,7 +18,7 @@
LARGE_INTEGER freq;
if ( !QueryPerformanceFrequency( &freq ) )
return 0.0L;
- return 1000000000.0L / freq.QuadPart;
+ return double(1000000000.0L / freq.QuadPart);
}
const double nanosecs_per_tic = get_nanosecs_per_tic();
Modified: sandbox/chrono/libs/chrono/test/Jamfile.v2
==============================================================================
--- sandbox/chrono/libs/chrono/test/Jamfile.v2 (original)
+++ sandbox/chrono/libs/chrono/test/Jamfile.v2 2010-08-28 10:56:19 EDT (Sat, 28 Aug 2010)
@@ -32,6 +32,7 @@
<warnings>all
<toolset>gcc:<cxxflags>-Wextra
<toolset>gcc:<cxxflags>-Wno-long-long
+ <toolset>gcc-mingw-4.5.0:<cxxflags>-Wno-missing-field-initializers
<toolset>gcc-mingw-4.5.0:<cxxflags>-fdiagnostics-show-option
<toolset>msvc:<cxxflags>/wd4127
;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk