[Boost-bugs] [Boost C++ Libraries] #12726: compilation errors for iOS API

Subject: [Boost-bugs] [Boost C++ Libraries] #12726: compilation errors for iOS API
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-05 05:46:17


#12726: compilation errors for iOS API
------------------------------+---------------------
 Reporter: support@… | Owner: pdimov
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: bind
  Version: Boost 1.63.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------
 Hello,

 bind seems to be broken.

 i tried to use xcode 8.2.1 (8C1002) compile bind.hpp to app, it reports
 error below:

 /usr/local/include/boost/operators.hpp:799:1: Declaration of anonymous
 class must be a definition
 /usr/local/include/boost/operators.hpp:799:1: A non-type template
 parameter cannot have type 'class B'
 /usr/local/include/boost/operators.hpp:799:1: Template argument for
 template type parameter must be a type

 after remove below line, it works well
 BOOST_OPERATOR_TEMPLATE4(random_access_iteratable)

 Can anybody confirm this behaviour?

 Operating system: OS X 10.12.2 Boost compiled using Apple LLVM 8.0

 Thanks

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12726>
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:20 UTC