Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to update to upstream on rolling - v1.0.0 does not compile with GCC 11 #1

Closed
russkel opened this issue Feb 3, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@russkel
Copy link

russkel commented Feb 3, 2022

Hello,

I am unable to compile this with GCC 11 and is currently breaking building rolling from source. This appears to be fixed here: eclipse-iceoryx/iceoryx#811 but this repo is not tracking that version.

In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse_stdin.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In static member function ‘static cpptoml::value_traits<T, typename std::enable_if<(((! cpptoml::valid_value_or_string_convertible<T>::value) && (! std::is_floating_point<typename std::decay<_Tp>::type>::value)) && std::is_signed<typename std::decay<_Tp>::type>::value)>::type>::value_type cpptoml::value_traits<T, typename std::enable_if<(((! cpptoml::valid_value_or_string_convertible<T>::value) && (! std::is_floating_point<typename std::decay<_Tp>::type>::value)) && std::is_signed<typename std::decay<_Tp>::type>::value)>::type>::construct(T&&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:344:25: error: ‘numeric_limits’ is not a member of ‘std’
  344 |         if (val < (std::numeric_limits<int64_t>::min)())
      |                         ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:344:47: error: expected primary-expression before ‘>’ token
  344 |         if (val < (std::numeric_limits<int64_t>::min)())
      |                                               ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:344:50: error: ‘::min’ has not been declared; did you mean ‘std::min’?
  344 |         if (val < (std::numeric_limits<int64_t>::min)())
      |                                                  ^~~
      |                                                  std::min
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse_stdin.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3455:5: note: ‘std::min’ declared here
 3455 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse_stdin.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:349:25: error: ‘numeric_limits’ is not a member of ‘std’
  349 |         if (val > (std::numeric_limits<int64_t>::max)())
      |                         ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:349:47: error: expected primary-expression before ‘>’ token
  349 |         if (val > (std::numeric_limits<int64_t>::max)())
      |                                               ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:349:50: error: ‘::max’ has not been declared; did you mean ‘std::max’?
  349 |         if (val > (std::numeric_limits<int64_t>::max)())
      |                                                  ^~~
      |                                                  std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse_stdin.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse_stdin.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In static member function ‘static cpptoml::value_traits<T, typename std::enable_if<((! cpptoml::valid_value_or_string_convertible<T>::value) && std::is_unsigned<typename std::decay<_Tp>::type>::value)>::type>::value_type cpptoml::value_traits<T, typename std::enable_if<((! cpptoml::valid_value_or_string_convertible<T>::value) && std::is_unsigned<typename std::decay<_Tp>::type>::value)>::type>::construct(T&&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:369:47: error: ‘numeric_limits’ is not a member of ‘std’
  369 |         if (val > static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
      |                                               ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:369:69: error: expected primary-expression before ‘>’ token
  369 |         if (val > static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
      |                                                                     ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:369:72: error: ‘::max’ has not been declared; did you mean ‘std::max’?
  369 |         if (val > static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
      |                                                                        ^~~
      |                                                                        std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse_stdin.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In static member function ‘static cpptoml::value_traits<T, typename std::enable_if<(((! cpptoml::valid_value_or_string_convertible<T>::value) && (! std::is_floating_point<typename std::decay<_Tp>::type>::value)) && std::is_signed<typename std::decay<_Tp>::type>::value)>::type>::value_type cpptoml::value_traits<T, typename std::enable_if<(((! cpptoml::valid_value_or_string_convertible<T>::value) && (! std::is_floating_point<typename std::decay<_Tp>::type>::value)) && std::is_signed<typename std::decay<_Tp>::type>::value)>::type>::construct(T&&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:344:25: error: ‘numeric_limits’ is not a member of ‘std’
  344 |         if (val < (std::numeric_limits<int64_t>::min)())
      |                         ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:344:47: error: expected primary-expression before ‘>’ token
  344 |         if (val < (std::numeric_limits<int64_t>::min)())
      |                                               ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:344:50: error: ‘::min’ has not been declared; did you mean ‘std::min’?
  344 |         if (val < (std::numeric_limits<int64_t>::min)())
      |                                                  ^~~
      |                                                  std::min
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3455:5: note: ‘std::min’ declared here
 3455 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:349:25: error: ‘numeric_limits’ is not a member of ‘std’
  349 |         if (val > (std::numeric_limits<int64_t>::max)())
      |                         ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:349:47: error: expected primary-expression before ‘>’ token
  349 |         if (val > (std::numeric_limits<int64_t>::max)())
      |                                               ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:349:50: error: ‘::max’ has not been declared; did you mean ‘std::max’?
  349 |         if (val > (std::numeric_limits<int64_t>::max)())
      |                                                  ^~~
      |                                                  std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In static member function ‘static cpptoml::value_traits<T, typename std::enable_if<((! cpptoml::valid_value_or_string_convertible<T>::value) && std::is_unsigned<typename std::decay<_Tp>::type>::value)>::type>::value_type cpptoml::value_traits<T, typename std::enable_if<((! cpptoml::valid_value_or_string_convertible<T>::value) && std::is_unsigned<typename std::decay<_Tp>::type>::value)>::type>::construct(T&&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:369:47: error: ‘numeric_limits’ is not a member of ‘std’
  369 |         if (val > static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
      |                                               ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:369:69: error: expected primary-expression before ‘>’ token
  369 |         if (val > static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
      |                                                                     ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:369:72: error: ‘::max’ has not been declared; did you mean ‘std::max’?
  369 |         if (val > static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
      |                                                                        ^~~
      |                                                                        std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/build_toml.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In static member function ‘static cpptoml::value_traits<T, typename std::enable_if<(((! cpptoml::valid_value_or_string_convertible<T>::value) && (! std::is_floating_point<typename std::decay<_Tp>::type>::value)) && std::is_signed<typename std::decay<_Tp>::type>::value)>::type>::value_type cpptoml::value_traits<T, typename std::enable_if<(((! cpptoml::valid_value_or_string_convertible<T>::value) && (! std::is_floating_point<typename std::decay<_Tp>::type>::value)) && std::is_signed<typename std::decay<_Tp>::type>::value)>::type>::construct(T&&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:344:25: error: ‘numeric_limits’ is not a member of ‘std’
  344 |         if (val < (std::numeric_limits<int64_t>::min)())
      |                         ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:344:47: error: expected primary-expression before ‘>’ token
  344 |         if (val < (std::numeric_limits<int64_t>::min)())
      |                                               ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:344:50: error: ‘::min’ has not been declared; did you mean ‘std::min’?
  344 |         if (val < (std::numeric_limits<int64_t>::min)())
      |                                                  ^~~
      |                                                  std::min
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/build_toml.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3455:5: note: ‘std::min’ declared here
 3455 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/build_toml.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:349:25: error: ‘numeric_limits’ is not a member of ‘std’
  349 |         if (val > (std::numeric_limits<int64_t>::max)())
      |                         ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:349:47: error: expected primary-expression before ‘>’ token
  349 |         if (val > (std::numeric_limits<int64_t>::max)())
      |                                               ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:349:50: error: ‘::max’ has not been declared; did you mean ‘std::max’?
  349 |         if (val > (std::numeric_limits<int64_t>::max)())
      |                                                  ^~~
      |                                                  std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/build_toml.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/build_toml.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In static member function ‘static cpptoml::value_traits<T, typename std::enable_if<((! cpptoml::valid_value_or_string_convertible<T>::value) && std::is_unsigned<typename std::decay<_Tp>::type>::value)>::type>::value_type cpptoml::value_traits<T, typename std::enable_if<((! cpptoml::valid_value_or_string_convertible<T>::value) && std::is_unsigned<typename std::decay<_Tp>::type>::value)>::type>::construct(T&&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:369:47: error: ‘numeric_limits’ is not a member of ‘std’
  369 |         if (val > static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
      |                                               ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:369:69: error: expected primary-expression before ‘>’ token
  369 |         if (val > static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
      |                                                                     ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:369:72: error: ‘::max’ has not been declared; did you mean ‘std::max’?
  369 |         if (val > static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
      |                                                                        ^~~
      |                                                                        std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/build_toml.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse_stdin.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In function ‘typename std::enable_if<((! std::is_floating_point<_Tp>::value) && std::is_signed<_Tp>::value), cpptoml::option<T> >::type cpptoml::get_impl(const std::shared_ptr<cpptoml::base>&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1226:30: error: ‘numeric_limits’ is not a member of ‘std’
 1226 |         if (v->get() < (std::numeric_limits<T>::min)())
      |                              ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1226:46: error: expected primary-expression before ‘>’ token
 1226 |         if (v->get() < (std::numeric_limits<T>::min)())
      |                                              ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1226:49: error: ‘::min’ has not been declared; did you mean ‘std::min’?
 1226 |         if (v->get() < (std::numeric_limits<T>::min)())
      |                                                 ^~~
      |                                                 std::min
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse_stdin.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3455:5: note: ‘std::min’ declared here
 3455 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse_stdin.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1230:30: error: ‘numeric_limits’ is not a member of ‘std’
 1230 |         if (v->get() > (std::numeric_limits<T>::max)())
      |                              ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1230:46: error: expected primary-expression before ‘>’ token
 1230 |         if (v->get() > (std::numeric_limits<T>::max)())
      |                                              ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1230:49: error: ‘::max’ has not been declared; did you mean ‘std::max’?
 1230 |         if (v->get() > (std::numeric_limits<T>::max)())
      |                                                 ^~~
      |                                                 std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse_stdin.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse_stdin.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In function ‘typename std::enable_if<((! std::is_same<T, bool>::value) && std::is_unsigned<_Tp>::value), cpptoml::option<T> >::type cpptoml::get_impl(const std::shared_ptr<cpptoml::base>&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1253:53: error: ‘numeric_limits’ is not a member of ‘std’
 1253 |         if (static_cast<uint64_t>(v->get()) > (std::numeric_limits<T>::max)())
      |                                                     ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1253:69: error: expected primary-expression before ‘>’ token
 1253 |         if (static_cast<uint64_t>(v->get()) > (std::numeric_limits<T>::max)())
      |                                                                     ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1253:72: error: ‘::max’ has not been declared; did you mean ‘std::max’?
 1253 |         if (static_cast<uint64_t>(v->get()) > (std::numeric_limits<T>::max)())
      |                                                                        ^~~
      |                                                                        std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse_stdin.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In function ‘typename std::enable_if<((! std::is_floating_point<_Tp>::value) && std::is_signed<_Tp>::value), cpptoml::option<T> >::type cpptoml::get_impl(const std::shared_ptr<cpptoml::base>&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1226:30: error: ‘numeric_limits’ is not a member of ‘std’
 1226 |         if (v->get() < (std::numeric_limits<T>::min)())
      |                              ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1226:46: error: expected primary-expression before ‘>’ token
 1226 |         if (v->get() < (std::numeric_limits<T>::min)())
      |                                              ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1226:49: error: ‘::min’ has not been declared; did you mean ‘std::min’?
 1226 |         if (v->get() < (std::numeric_limits<T>::min)())
      |                                                 ^~~
      |                                                 std::min
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3455:5: note: ‘std::min’ declared here
 3455 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1230:30: error: ‘numeric_limits’ is not a member of ‘std’
 1230 |         if (v->get() > (std::numeric_limits<T>::max)())
      |                              ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1230:46: error: expected primary-expression before ‘>’ token
 1230 |         if (v->get() > (std::numeric_limits<T>::max)())
      |                                              ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1230:49: error: ‘::max’ has not been declared; did you mean ‘std::max’?
 1230 |         if (v->get() > (std::numeric_limits<T>::max)())
      |                                                 ^~~
      |                                                 std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:4:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In static member function ‘static cpptoml::value_traits<T, typename std::enable_if<(((! cpptoml::valid_value_or_string_convertible<T>::value) && (! std::is_floating_point<typename std::decay<_Tp>::type>::value)) && std::is_signed<typename std::decay<_Tp>::type>::value)>::type>::value_type cpptoml::value_traits<T, typename std::enable_if<(((! cpptoml::valid_value_or_string_convertible<T>::value) && (! std::is_floating_point<typename std::decay<_Tp>::type>::value)) && std::is_signed<typename std::decay<_Tp>::type>::value)>::type>::construct(T&&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:344:25: error: ‘numeric_limits’ is not a member of ‘std’
  344 |         if (val < (std::numeric_limits<int64_t>::min)())
      |                         ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:344:47: error: expected primary-expression before ‘>’ token
  344 |         if (val < (std::numeric_limits<int64_t>::min)())
      |                                               ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:344:50: error: ‘::min’ has not been declared; did you mean ‘std::min’?
  344 |         if (val < (std::numeric_limits<int64_t>::min)())
      |                                                  ^~~
      |                                                  std::min
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In function ‘typename std::enable_if<((! std::is_same<T, bool>::value) && std::is_unsigned<_Tp>::value), cpptoml::option<T> >::type cpptoml::get_impl(const std::shared_ptr<cpptoml::base>&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1253:53: error: ‘numeric_limits’ is not a member of ‘std’
 1253 |         if (static_cast<uint64_t>(v->get()) > (std::numeric_limits<T>::max)())
      |                                                     ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1253:69: error: expected primary-expression before ‘>’ token
 1253 |         if (static_cast<uint64_t>(v->get()) > (std::numeric_limits<T>::max)())
      |                                                                     ^
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:4:
/usr/include/c++/11/bits/stl_algo.h:3455:5: note: ‘std::min’ declared here
 3455 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1253:72: error: ‘::max’ has not been declared; did you mean ‘std::max’?
 1253 |         if (static_cast<uint64_t>(v->get()) > (std::numeric_limits<T>::max)())
      |                                                                        ^~~
      |                                                                        std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:4:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:349:25: error: ‘numeric_limits’ is not a member of ‘std’
  349 |         if (val > (std::numeric_limits<int64_t>::max)())
      |                         ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:349:47: error: expected primary-expression before ‘>’ token
  349 |         if (val > (std::numeric_limits<int64_t>::max)())
      |                                               ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:349:50: error: ‘::max’ has not been declared; did you mean ‘std::max’?
  349 |         if (val > (std::numeric_limits<int64_t>::max)())
      |                                                  ^~~
      |                                                  std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:4:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:4:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In static member function ‘static cpptoml::value_traits<T, typename std::enable_if<((! cpptoml::valid_value_or_string_convertible<T>::value) && std::is_unsigned<typename std::decay<_Tp>::type>::value)>::type>::value_type cpptoml::value_traits<T, typename std::enable_if<((! cpptoml::valid_value_or_string_convertible<T>::value) && std::is_unsigned<typename std::decay<_Tp>::type>::value)>::type>::construct(T&&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:369:47: error: ‘numeric_limits’ is not a member of ‘std’
  369 |         if (val > static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
      |                                               ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:369:69: error: expected primary-expression before ‘>’ token
  369 |         if (val > static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
      |                                                                     ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:369:72: error: ‘::max’ has not been declared; did you mean ‘std::max’?
  369 |         if (val > static_cast<uint64_t>((std::numeric_limits<int64_t>::max)()))
      |                                                                        ^~~
      |                                                                        std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:4:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/build_toml.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In function ‘typename std::enable_if<((! std::is_floating_point<_Tp>::value) && std::is_signed<_Tp>::value), cpptoml::option<T> >::type cpptoml::get_impl(const std::shared_ptr<cpptoml::base>&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1226:30: error: ‘numeric_limits’ is not a member of ‘std’
 1226 |         if (v->get() < (std::numeric_limits<T>::min)())
      |                              ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1226:46: error: expected primary-expression before ‘>’ token
 1226 |         if (v->get() < (std::numeric_limits<T>::min)())
      |                                              ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1226:49: error: ‘::min’ has not been declared; did you mean ‘std::min’?
 1226 |         if (v->get() < (std::numeric_limits<T>::min)())
      |                                                 ^~~
      |                                                 std::min
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/build_toml.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3455:5: note: ‘std::min’ declared here
 3455 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/build_toml.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1230:30: error: ‘numeric_limits’ is not a member of ‘std’
 1230 |         if (v->get() > (std::numeric_limits<T>::max)())
      |                              ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1230:46: error: expected primary-expression before ‘>’ token
 1230 |         if (v->get() > (std::numeric_limits<T>::max)())
      |                                              ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1230:49: error: ‘::max’ has not been declared; did you mean ‘std::max’?
 1230 |         if (v->get() > (std::numeric_limits<T>::max)())
      |                                                 ^~~
      |                                                 std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/build_toml.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/build_toml.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In function ‘typename std::enable_if<((! std::is_same<T, bool>::value) && std::is_unsigned<_Tp>::value), cpptoml::option<T> >::type cpptoml::get_impl(const std::shared_ptr<cpptoml::base>&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1253:53: error: ‘numeric_limits’ is not a member of ‘std’
 1253 |         if (static_cast<uint64_t>(v->get()) > (std::numeric_limits<T>::max)())
      |                                                     ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1253:69: error: expected primary-expression before ‘>’ token
 1253 |         if (static_cast<uint64_t>(v->get()) > (std::numeric_limits<T>::max)())
      |                                                                     ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1253:72: error: ‘::max’ has not been declared; did you mean ‘std::max’?
 1253 |         if (static_cast<uint64_t>(v->get()) > (std::numeric_limits<T>::max)())
      |                                                                        ^~~
      |                                                                        std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/build_toml.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:4:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In function ‘typename std::enable_if<((! std::is_floating_point<_Tp>::value) && std::is_signed<_Tp>::value), cpptoml::option<T> >::type cpptoml::get_impl(const std::shared_ptr<cpptoml::base>&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1226:30: error: ‘numeric_limits’ is not a member of ‘std’
 1226 |         if (v->get() < (std::numeric_limits<T>::min)())
      |                              ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1226:46: error: expected primary-expression before ‘>’ token
 1226 |         if (v->get() < (std::numeric_limits<T>::min)())
      |                                              ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1226:49: error: ‘::min’ has not been declared; did you mean ‘std::min’?
 1226 |         if (v->get() < (std::numeric_limits<T>::min)())
      |                                                 ^~~
      |                                                 std::min
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:4:
/usr/include/c++/11/bits/stl_algo.h:3455:5: note: ‘std::min’ declared here
 3455 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:4:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1230:30: error: ‘numeric_limits’ is not a member of ‘std’
 1230 |         if (v->get() > (std::numeric_limits<T>::max)())
      |                              ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1230:46: error: expected primary-expression before ‘>’ token
 1230 |         if (v->get() > (std::numeric_limits<T>::max)())
      |                                              ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1230:49: error: ‘::max’ has not been declared; did you mean ‘std::max’?
 1230 |         if (v->get() > (std::numeric_limits<T>::max)())
      |                                                 ^~~
      |                                                 std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:4:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:4:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In function ‘typename std::enable_if<((! std::is_same<T, bool>::value) && std::is_unsigned<_Tp>::value), cpptoml::option<T> >::type cpptoml::get_impl(const std::shared_ptr<cpptoml::base>&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1253:53: error: ‘numeric_limits’ is not a member of ‘std’
 1253 |         if (static_cast<uint64_t>(v->get()) > (std::numeric_limits<T>::max)())
      |                                                     ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1253:69: error: expected primary-expression before ‘>’ token
 1253 |         if (static_cast<uint64_t>(v->get()) > (std::numeric_limits<T>::max)())
      |                                                                     ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:1253:72: error: ‘::max’ has not been declared; did you mean ‘std::max’?
 1253 |         if (static_cast<uint64_t>(v->get()) > (std::numeric_limits<T>::max)())
      |                                                                        ^~~
      |                                                                        std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:4:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse_stdin.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In member function ‘std::shared_ptr<cpptoml::base> cpptoml::parser::parse_number(std::__cxx11::basic_string<char>::iterator&, const iterator&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:2732:33: error: ‘numeric_limits’ is not a member of ‘std’
 2732 |                 auto val = std::numeric_limits<double>::infinity();
      |                                 ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:2732:48: error: expected primary-expression before ‘double’
 2732 |                 auto val = std::numeric_limits<double>::infinity();
      |                                                ^~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:2741:33: error: ‘numeric_limits’ is not a member of ‘std’
 2741 |                 auto val = std::numeric_limits<double>::quiet_NaN();
      |                                 ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:2741:48: error: expected primary-expression before ‘double’
 2741 |                 auto val = std::numeric_limits<double>::quiet_NaN();
      |                                                ^~~~~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/build_toml.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In member function ‘std::shared_ptr<cpptoml::base> cpptoml::parser::parse_number(std::__cxx11::basic_string<char>::iterator&, const iterator&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:2732:33: error: ‘numeric_limits’ is not a member of ‘std’
 2732 |                 auto val = std::numeric_limits<double>::infinity();
      |                                 ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:2732:48: error: expected primary-expression before ‘double’
 2732 |                 auto val = std::numeric_limits<double>::infinity();
      |                                                ^~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:2741:33: error: ‘numeric_limits’ is not a member of ‘std’
 2741 |                 auto val = std::numeric_limits<double>::quiet_NaN();
      |                                 ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:2741:48: error: expected primary-expression before ‘double’
 2741 |                 auto val = std::numeric_limits<double>::quiet_NaN();
      |                                                ^~~~~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/parse.cpp:1:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In member function ‘std::shared_ptr<cpptoml::base> cpptoml::parser::parse_number(std::__cxx11::basic_string<char>::iterator&, const iterator&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:2732:33: error: ‘numeric_limits’ is not a member of ‘std’
 2732 |                 auto val = std::numeric_limits<double>::infinity();
      |                                 ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:2732:48: error: expected primary-expression before ‘double’
 2732 |                 auto val = std::numeric_limits<double>::infinity();
      |                                                ^~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:2741:33: error: ‘numeric_limits’ is not a member of ‘std’
 2741 |                 auto val = std::numeric_limits<double>::quiet_NaN();
      |                                 ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:2741:48: error: expected primary-expression before ‘double’
 2741 |                 auto val = std::numeric_limits<double>::quiet_NaN();
      |                                                ^~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In member function ‘void cpptoml::toml_writer::write(const cpptoml::value<double>&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:3481:38: error: ‘numeric_limits’ is not a member of ‘std’
 3481 |            << std::setprecision(std::numeric_limits<double>::max_digits10)
      |                                      ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:3481:53: error: expected primary-expression before ‘double’
 3481 |            << std::setprecision(std::numeric_limits<double>::max_digits10)
      |                                                     ^~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In member function ‘void cpptoml::toml_writer::write(const cpptoml::value<double>&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:3481:38: error: ‘numeric_limits’ is not a member of ‘std’
 3481 |            << std::setprecision(std::numeric_limits<double>::max_digits10)
      |                                      ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:3481:53: error: expected primary-expression before ‘double’
 3481 |            << std::setprecision(std::numeric_limits<double>::max_digits10)
      |                                                     ^~~~~~
In file included from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:4:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In member function ‘std::shared_ptr<cpptoml::base> cpptoml::parser::parse_number(std::__cxx11::basic_string<char>::iterator&, const iterator&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:2732:33: error: ‘numeric_limits’ is not a member of ‘std’
 2732 |                 auto val = std::numeric_limits<double>::infinity();
      |                                 ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:2732:48: error: expected primary-expression before ‘double’
 2732 |                 auto val = std::numeric_limits<double>::infinity();
      |                                                ^~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:2741:33: error: ‘numeric_limits’ is not a member of ‘std’
 2741 |                 auto val = std::numeric_limits<double>::quiet_NaN();
      |                                 ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:2741:48: error: expected primary-expression before ‘double’
 2741 |                 auto val = std::numeric_limits<double>::quiet_NaN();
      |                                                ^~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In member function ‘void cpptoml::toml_writer::write(const cpptoml::value<double>&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:3481:38: error: ‘numeric_limits’ is not a member of ‘std’
 3481 |            << std::setprecision(std::numeric_limits<double>::max_digits10)
      |                                      ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:3481:53: error: expected primary-expression before ‘double’
 3481 |            << std::setprecision(std::numeric_limits<double>::max_digits10)
      |                                                     ^~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h: In member function ‘void cpptoml::toml_writer::write(const cpptoml::value<double>&)’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:3481:38: error: ‘numeric_limits’ is not a member of ‘std’
 3481 |            << std::setprecision(std::numeric_limits<double>::max_digits10)
      |                                      ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:3481:53: error: expected primary-expression before ‘double’
 3481 |            << std::setprecision(std::numeric_limits<double>::max_digits10)
      |                                                     ^~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp: In function ‘int main()’:
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:18:38: error: ‘numeric_limits’ is not a member of ‘std’
   18 |         root->insert("too-big", std::numeric_limits<uint64_t>::max());
      |                                      ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:18:61: error: expected primary-expression before ‘>’ token
   18 |         root->insert("too-big", std::numeric_limits<uint64_t>::max());
      |                                                             ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:18:64: error: ‘::max’ has not been declared; did you mean ‘std::max’?
   18 |         root->insert("too-big", std::numeric_limits<uint64_t>::max());
      |                                                                ^~~
      |                                                                std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:4:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:24:41: error: ‘numeric_limits’ is not a member of ‘std’
   24 |     root->insert("medium-integer", std::numeric_limits<int32_t>::max());
      |                                         ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:24:63: error: expected primary-expression before ‘>’ token
   24 |     root->insert("medium-integer", std::numeric_limits<int32_t>::max());
      |                                                               ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:24:66: error: ‘::max’ has not been declared; did you mean ‘std::max’?
   24 |     root->insert("medium-integer", std::numeric_limits<int32_t>::max());
      |                                                                  ^~~
      |                                                                  std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:4:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:36:42: error: ‘numeric_limits’ is not a member of ‘std’
   36 |     root->insert("medium-negative", std::numeric_limits<int32_t>::min());
      |                                          ^~~~~~~~~~~~~~
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:36:64: error: expected primary-expression before ‘>’ token
   36 |     root->insert("medium-negative", std::numeric_limits<int32_t>::min());
      |                                                                ^
/home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:36:67: error: ‘::min’ has not been declared; did you mean ‘std::min’?
   36 |     root->insert("medium-negative", std::numeric_limits<int32_t>::min());
      |                                                                   ^~~
      |                                                                   std::min
In file included from /usr/include/c++/11/algorithm:62,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/include/cpptoml.h:10,
                 from /home/russ/work/ros2_rolling/build/iceoryx_posh/dependencies/cpptoml/src/examples/conversions.cpp:4:
/usr/include/c++/11/bits/stl_algo.h:3455:5: note: ‘std::min’ declared here
 3455 |     min(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~

Kind regards,

Russ

@russkel
Copy link
Author

russkel commented Feb 3, 2022

Actually, why is rosinstall-generator giving me this repository instead of the official https://github.com/eclipse-iceoryx repository? Is there an out of date URL somewhere?

@dkroenke
Copy link
Contributor

@russkel
Bugfix was done within eclipse-iceoryx/iceoryx#1092 and eclipse-iceoryx/iceoryx#1095

The iceoryx version for ROS Rolling was updated to 1.0.2 that fixes the problem on GCC 11.

This repository here was used for releasing on ROS Galactic and then ported to ros2-gbp :ros/rosdistro#32073
My guess is that was the reason that a wrong URL was shown. For upcoming requests on ROS Rolling is https://github.com/ros2-gbp/iceoryx-release the correct place.

If there are no further objections, then I would close this issue.

@dkroenke dkroenke self-assigned this Feb 14, 2022
@dkroenke dkroenke added the bug Something isn't working label Feb 14, 2022
@russkel
Copy link
Author

russkel commented Feb 14, 2022

Thanks mate. Great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants