stonier/sophus

error: ISO C++11 requires at least one argument for the "..." in a variadic macro [-Werror]

Opened this issue · 1 comments

I got this errors using humble. The errors come in

sophus/common.hpp in lines:

  • 206:45 : SOPHUS_ENSURE(is_valid_, "must be valid");
  • 139:69 : SOPHUS_DEDAULT_ENSURE_FAILURE_IMPL(SOPHUS_FUNCTION, __FILE__, __LINE__,
  • 211:45 : SOPHUS_ENSURE(is_valid_, "must be valid");
  • 216:45 : SOPHUS_ENSURE(is_valid_, "must be valid");
  • 221:45 : SOPHUS_ENSURE(is_valid_, "must be valid");

sophus/so2.hpp in lines:

  • 176:64 : "Complex number should not be close to zero!");

sophus/so3.hpp in lines:

  • 671:59 : SOPHUS_ENSURE(theta != nullptr, "must not be nullptr.");
  • 736:66 : SOPHUS_ENSURE(i >= 0 && i <= 2, "i should be in range [0,2].");

sophus/se3.hpp in lines:

  • 884:66 : SOPHUS_ENSURE(i >= 0 && i <= 5, "i should be in range [0,5].");

sophus/se2.hpp in lines:

  • 633:66 : SOPHUS_ENSURE(i >= 0 || i <= 2, "i should be in range [0,2].");
DJ1NN1 commented

@stonier do you mind taking a look?