[MacPorts] #43622: freehdl @0.0.7: error: unknown template name 'hash'

MacPorts noreply at macports.org
Tue Jun 3 14:14:47 PDT 2014


#43622: freehdl @0.0.7: error: unknown template name 'hash'
------------------------------+---------------------
  Reporter:  bengt.nilsson@…  |      Owner:  rowue@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.2.1
Resolution:                   |   Keywords:
      Port:  freehdl          |
------------------------------+---------------------

Comment (by guitorri@…):

 I am not using MacPorts, but the `hash` issue might be solved along the
 lines of: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181830

 It compiles, however it requires the libstc++:

  `CXX=clang++ CXXFLAGS=-stdlib=libstdc++ ./configure`

 Using `libc++` it will choke as below... Perhaps you guys know how to fix
 this.

 {{{
 v2cc-explore.cc:2807:33: error: calling a private constructor of class
 'std::__1::__wrap_iter<std::__1::vector<std::__1::pair<IIR_Type *,
 IIR_Type *>,
       std::__1::allocator<std::__1::pair<IIR_Type *, IIR_Type *> > > *>'
           association_type_map [key] = (vector<vector<pair<pIIR_Type,
 pIIR_Type > > >::iterator) &association_type_vectors [i];
                                        ^
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iterator:1220:31:
 note: declared private here
     _LIBCPP_INLINE_VISIBILITY __wrap_iter(iterator_type __x) _NOEXCEPT :
 __i(__x) {}
                               ^
 }}}

 My compiler:
 {{{
 ~/build/freehdl-0.0.8 $ clang++ --version
 Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
 Target: x86_64-apple-darwin13.2.0
 Thread model: posix
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/43622#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list