Subject: [Boost-bugs] [Boost C++ Libraries] #11767: More -Wunused-local-typedef warnings when building Boost 1.55.0 with Apple LLVM version 7.0.0 (clang-700.1.76)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-10-28 09:04:33
#11767: More -Wunused-local-typedef warnings when building Boost 1.55.0 with Apple
LLVM version 7.0.0 (clang-700.1.76)
----------------------------------------------+----------------------------
Reporter: christopher.dawes@⦠| Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
Version: Boost 1.55.0 | Severity: Problem
Keywords: llvm clang Wunused-local-typedef |
----------------------------------------------+----------------------------
This relates to ticket 8980 which was fixed for g++ I've checked the code
for 1.59 and it looks still the same issue there. I would recommend that
line 58:
{{{ # if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 8)) || (__GNUC__ > 4) }}}
is changed to
{{{ # if ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 8)) || (__GNUC__ > 4) ||
__clang__ }}}
Certainly this removes the errors from my machine but i've been unable to
ascertain whether or not this would cause massive issues on other versions
of llvm or indeed how to use macros to get the version of llvm in use.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11767> 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:19 UTC