Skip to content

Instantly share code, notes, and snippets.

@dcoeurjo
Created November 30, 2015 18:14
Show Gist options
  • Select an option

  • Save dcoeurjo/888095e6f971e2d25267 to your computer and use it in GitHub Desktop.

Select an option

Save dcoeurjo/888095e6f971e2d25267 to your computer and use it in GitHub Desktop.
[ 12%] Building CXX object tests/base/CMakeFiles/testCatch.dir/testCatch.cpp.o
In file included from /home/travis/build/DGtal-team/DGtal/tests/base/testCatch.cpp:33:
In file included from /home/travis/build/DGtal-team/DGtal/tests/DGtalCatch.h:10:
/home/travis/build/DGtal-team/DGtal/tests/catch.hpp:1643:43: error: no type
named 'underlying_type' in namespace 'std'
static_cast<typename std::underlying_type<T>::type>(v)
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/home/travis/build/DGtal-team/DGtal/tests/catch.hpp:1643:37: error: expected '>'
static_cast<typename std::underlying_type<T>::type>(v)
^
/home/travis/build/DGtal-team/DGtal/tests/catch.hpp:1643:28: note: to match this
'<'
static_cast<typename std::underlying_type<T>::type>(v)
^
/home/travis/build/DGtal-team/DGtal/tests/catch.hpp:1643:59: error: 'T' does not
refer to a value
static_cast<typename std::underlying_type<T>::type>(v)
^
/home/travis/build/DGtal-team/DGtal/tests/catch.hpp:1637:23: note: declared here
template<typename T>
^
/home/travis/build/DGtal-team/DGtal/tests/catch.hpp:1643:63: error: no member
named 'type' in the global namespace
static_cast<typename std::underlying_type<T>::type>(v)
~~^
Linking CXX executable testBasicFunctors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment