Modify

Opened 11 months ago

Last modified 11 months ago

#12726 new Bugs

compilation errors for iOS API

Reported by: support@… 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

Attachments (0)

Change History (1)

comment:1 Changed 11 months ago by Peter Dimov

This error comes from boost/operators.hpp, which is not part of Bind. Do you have a code example triggering the error?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Peter Dimov.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.