elucideye / acf

Aggregated Channel Feature object detection in C++ and OpenGL ES 2.0 based on https://github.com/pdollar/toolbox
BSD 3-Clause "New" or "Revised" License
49 stars 20 forks source link

test libcxx #14

Closed headupinclouds closed 7 years ago

headupinclouds commented 7 years ago

This libcxx error is fixed in the latest cereal release:

/home/travis/.hunter/_Base/5e8d52b/09f3179/500c774/Install/include/cereal/details/polymorphic_impl.hpp:235:61: error: chosen constructor is explicit in copy-initialization
          auto & derivedMap = baseMap.insert( lb, {baseKey, {}} )->second;
                                                            ^~
/usr/include/c++/v1/map:838:14: note: constructor declared here
    explicit map(const key_compare& __comp = key_compare())
             ^
/usr/include/c++/v1/utility:262:37: note: passing argument to parameter '__y' here
    pair(const _T1& __x, const _T2& __y)

https://github.com/USCiLab/cereal/issues/339

Updating to hunter_config(cereal VERSION 1.2.2-p0) in the config should fix the issue.

headupinclouds commented 7 years ago

Thanks.