Boost logo

Boost :

Subject: Re: [boost] [timer] clang warning
From: Beman Dawes (bdawes_at_[hidden])
Date: 2015-01-15 17:47:54


On Thu, Jan 15, 2015 at 5:27 PM, Peter Dimov <lists_at_[hidden]> wrote:
> ..\..\..\include/boost/timer/timer.hpp:44:43: warning: 'long long' is a
> C++11 extension [-Wc++11-long-long]
> void clear() { wall = user = system = 0LL; }
> ^
>
> The fix in this case appears trivial, just remove the LL.

IIRC, the LL is there to quiet some other compiler, probably msvc.

But thanks, I'll (1) fix it one way or another, and (2) add clang++
without C++11 to my test configs.

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk