Bug 216161

Summary: graphics/libprojectm: fails to build with libc++ 4.0 (5 ports skipped)
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: needs-patch
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216201
Bug Depends on:    
Bug Blocks: 216008    

Description Jan Beich freebsd_committer freebsd_triage 2017-01-17 08:18:35 UTC
In file included from Renderer/RenderItemDistanceMetric.cpp:8:
Renderer/RenderItemDistanceMetric.hpp:54:9: error: call to constructor of 'TypeIdPair' is ambiguous
        return TypeIdPair(typeid(const R1*).name(), typeid(const R2*).name());
               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Renderer/Renderable.hpp:118:2: note: candidate constructor
        TypeIdPair(const std::type_info & info1, const std::type_info & info2): id1(info1.name()), id2(info2.name()) {}
        ^
Renderer/Renderable.hpp:119:2: note: candidate constructor
        TypeIdPair(const std::string & id1, const std::string & id2): id1(id1), id2(id2) {}
        ^

build log: http://sprunge.us/hjHi
regressed by: https://github.com/llvm-mirror/libcxx/commit/aa6429dc4198
Comment 1 Jan Beich freebsd_committer freebsd_triage 2017-02-02 09:00:03 UTC
Builds fine now on /projects/clang400-import.

http://package18.nyi.freebsd.org/data/headamd64PR216008-default/2017-01-27_12h43m12s/logs/libprojectM-2.0.1_3.log