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

Unaddressed warning -Wdocumentation-deprecated-sync with LLVM 19 fails -Werror build #2146

Open
mering opened this issue Nov 29, 2024 · 0 comments

Comments

@mering
Copy link

mering commented Nov 29, 2024

For example:

/path/to/cyclonedds/src/core/ddsc/include/dds/dds.h:759:5: error: declaration is marked with '@deprecated' command but does not have a deprecation attribute [-Werror,-Wdocumentation-deprecated-sync]
  759 |  * @deprecated Get enabled status on entity. Use \ref dds_get_status_mask instead.
      |    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  760 |  * @ingroup deprecated
      |  ~
/path/to/cyclonedds/src/core/ddsc/include/dds/dds.h:766:23: note: add a deprecation attribute to the declaration to silence this warning
  766 | DDS_DEPRECATED_EXPORT dds_return_t
      |                       ^
      |                       __attribute__((deprecated))

Using latest released version 0.10.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant