Subject: [Boost-bugs] [Boost C++ Libraries] #9061: Incorrect usage of `long long` in Boost.Intrusive
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-29 08:09:34
#9061: Incorrect usage of `long long` in Boost.Intrusive
--------------------------------------------+------------------------
Reporter: apolukhin | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: Boost 1.55.0 | Component: intrusive
Version: Boost 1.54.0 | Severity: Regression
Keywords: long long intrusive containers |
--------------------------------------------+------------------------
`boost/intrusive/detail/utilities.hpp` uses `long long` even on
C++03/C++98 compilers, which do not have support that type:
{{{
In file included from ../boost/intrusive/slist_hook.hpp:19,
from ../boost/intrusive/slist.hpp:21,
from
../boost/container/detail/multiallocation_chain.hpp:19,
from
../boost/container/detail/allocator_version_traits.hpp:22,
from ../boost/container/string.hpp:48,
from
../libs/conversion/test/lexical_cast_containers_test.cpp:13:
../boost/intrusive/detail/utilities.hpp:435:41: warning: use of C99 long
long integer constant
In file included from ../boost/container/detail/utilities.hpp:28,
from ../boost/container/string.hpp:42,
from
../libs/conversion/test/lexical_cast_containers_test.cpp:13:
../boost/container/detail/type_traits.hpp:73: error: ISO C++ does not
support 'long long'
In file included from ../boost/intrusive/slist_hook.hpp:19,
from ../boost/intrusive/slist.hpp:21,
from
../boost/container/detail/multiallocation_chain.hpp:19,
from
../boost/container/detail/allocator_version_traits.hpp:22,
from ../boost/container/string.hpp:48,
from
../libs/conversion/test/lexical_cast_containers_test.cpp:13:
../boost/intrusive/detail/utilities.hpp:562: error: ISO C++ does not
support 'long long'
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9061> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC