Re: [Boost-bugs] [Boost C++ Libraries] #11165: using cpp_int and other integer types gives unknown type name 'cpp_int' error when compiled on Xcode 6 on a macbook.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11165: using cpp_int and other integer types gives unknown type name 'cpp_int' error when compiled on Xcode 6 on a macbook.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-04-03 19:47:46


#11165: using cpp_int and other integer types gives unknown type name 'cpp_int'
error when compiled on Xcode 6 on a macbook.
-------------------------------+---------------------
  Reporter: yavuz@… | Owner:
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: None
   Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------

Comment (by anonymous):

 Replying to [comment:1 steven_watanabe]:
> You need to add /Users/yavuz/boost_1_57_0 to the include directories
 instead of passing the full path. The command line option is -I. I don't
 know where you configure this in XCode.

 Thank you. I fixed this by including a path in the user search options on
 Xcode. I have another question. I receive an error when I execute the
 following assignment statement:

 cpp_int f=123456789123456789123;

 If I remove 3 at the end, it shows a warning, and when I also remove 2, it
 works fine. This same error occurs with uint256_t and uint256_t as well.
 The number of digits is about 21 and I would think that all three multi
 precision types should be fine with it, but they all result in an error
 message. Any explanation?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11165#comment:2>
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:18 UTC