roboticslab-uc3m / questions-and-answers

A place for general debate and question&answer
https://robots.uc3m.es/developer-manual/appendix/repository-index.html
2 stars 0 forks source link

Working with SWIG and deprecation attributes #43

Closed PeterBowman closed 2 years ago

PeterBowman commented 6 years ago

We don't know how to do this (yet). See https://github.com/roboticslab-uc3m/kinematics-dynamics/issues/132#issuecomment-359035534.

PeterBowman commented 2 years ago

I think the best way to tackle it is to hide deprecation attributes from the SWIG parser via macro definitions such as SWIG_PREPROCESSOR_SHOULD_SKIP_THIS. Anyway, we haven't run into this kind of issue since it was reported four years ago.