Opened 6 years ago
Last modified 6 years ago
#12726 new Bugs
compilation errors for iOS API
Reported by: | Owned by: | Peter Dimov | |
---|---|---|---|
Milestone: | To Be Determined | Component: | bind |
Version: | Boost 1.63.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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
This error comes from boost/operators.hpp, which is not part of Bind. Do you have a code example triggering the error?