Closed ymontmarin closed 1 year ago
Hi @ymontmarin
I have noticed a similar issue in another package where we used PACKAGE_API PACKAGE_DEPRECATED void somefunction();
which is accepted by GCC and MSVC but not clang. I think the proper fix is in the code of the package to put the deprecated declaration in the right location, in your case that would be:
HPP_PINOCCHIO_DEPRECATED typedef RnxSOnLieGroupMap LieGroupTpl;
(rinse and repeat for every occurrence of PACKAGE_DEPRECATED which is wrongly placed)
Note that it still works when building pre-C++17
Hi @gergondet , and thank you for your answer ! It is done for the 3 recipes I am aware of
@ymontmarin No problem, I'll close the issue now as I think there's not much we can do about it at the jrl-cmakemodules level
When maintaining conda packages of the HPP stack, I notice that now deprecated type defined using
jrl-cmakemodules
now raise compiling errors on OSX with clang 13.For exemple, in the case of
hpp-pinocchio
I have:To my knowledge
hpp-constraints
,hpp-core
are also concerned with this issue.Best, Yann