-
Notifications
You must be signed in to change notification settings - Fork 68
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
Investigate why SWIG does not like [[deprecated]]
attributes
#461
Comments
…roblems with SWIG See robotology#461
here they discuss about implementing the parsing of the attribute. I do not know if this means that SWIG is not able to ignore it if found. |
Switching to use ModelLoader in all the codebase Replace [[deprecated]] attributes with IDYNTREE_DEPRECATED to avoid problems with SWIG See robotology#461
We should use the C++14 [[deprecated]] attributes. Unfortunately they have some issues with SWIG, see robotology#461 Using IDYNTREE_DEPRECATED for now
We should use the C++14 [[deprecated]] attributes. Unfortunately they have some issues with SWIG, see robotology#461 Using IDYNTREE_DEPRECATED for now
We should use the C++14 [[deprecated]] attributes. Unfortunately they have some issues with SWIG, see robotology#461 Using IDYNTREE_DEPRECATED for now
We should use the C++14 [[deprecated]] attributes. Unfortunately they have some issues with SWIG, see robotology#461 Using IDYNTREE_DEPRECATED for now
Apparently |
I have version 3.0.10-1.1 and it fails while generating the interface. |
Hi @necil, what is the precise error that you are getting? It is related to |
Hi @traversaro, thanks for support and quick reply. |
Just to clarify: you are discussing about a separate C++ project on which you run SWIG, not about iDynTree, right? |
Can you build a Minimal Working Example reproducing this problem? |
@traversaro yeah it was a dummy code to just test that deprecate directive works. To be honest I do not remember why I have commented it under this repository it was a while ago. But probably it was a fault on my side. |
We now require C++14 to be used in the header, so in theory we could get rid of
IDYNTREE_DEPRECATED_WITH_MSG
andIDYNTREE_DEPRECATED
in a favor of[[deprecated]]
attributes. However SWIG seems to still have problem with it, we should check if it is a problem in old version of SWIG and eventually get rid ofIDYNTREE_DEPRECATED_WITH_MSG
andIDYNTREE_DEPRECATED
.The text was updated successfully, but these errors were encountered: