-
Notifications
You must be signed in to change notification settings - Fork 79
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
Compilation problem: error: 'visibility' attribute ignored when parsing type (enum) #25
Comments
barbieri
added a commit
to barbieri/capicxx-core-runtime
that referenced
this issue
May 8, 2021
The structure is declared in the header and the export is unused as seen with clang and -Wignored-attributes: CommonAPI-3.2/CommonAPI/Logger.hpp:31:37: warning: 'visibility' attribute ignored when parsing type [-Wignored-attributes] enum class Level : std::uint8_t COMMONAPI_EXPORT { ^~~~~~~~~~~~~~~~ CommonAPI-3.2/CommonAPI/Export.hpp:19:46: note: expanded from macro 'COMMONAPI_EXPORT' #define COMMONAPI_EXPORT __attribute__ ((visibility ("default"))) ^~~~~~~~~~~~~~~~~~~~~~ Closes: COVESA#25 Signed-off-by: Gustavo Sverzut Barbieri <barbieri@profusion.mobi>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using Ubuntu 20.04 and the last release of Common API (3.2).
The text was updated successfully, but these errors were encountered: