|
Boost : |
Subject: Re: [boost] [ratio] clang warning
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2015-01-15 16:48:48
Le 15/01/15 17:48, Peter Dimov a écrit :
> Ratio gives a warning under Clang:
>
> ..\..\..\include/boost/ratio/ratio_fwd.hpp:87:58: warning: 'long long'
> is a C++11 extension [-Wc++11-long-long]
> typedef ratio<BOOST_RATIO_INTMAX_C(1000000000000000000),
> BOOST_RATIO_INTMAX_C(1)> exa;
> ^
> ..\..\..\include/boost/ratio/config.hpp:47:33: note: expanded from
> macro 'BOOST_RATIO_INTMAX_C'
> #define BOOST_RATIO_INTMAX_C(a) INTMAX_C(a)
> ^
> ..\..\..\include/boost/cstdint.hpp:66:26: note: expanded from macro
> 'INTMAX_C'
> # define INTMAX_C(c) c##LL
> ^
>
> I'm not sure how this can be avoided though.
>
Please, could you try the last commit and tell me if it works for you?
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk