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

Revert "Use c++11 attribute when C++11 is activated" #726

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

jorisv
Copy link
Contributor

@jorisv jorisv commented Nov 5, 2024

Reverts #725

[[gnu::visibility]] is not working well for global variable:

extern [[gnu::visibility("default")]] int GLOBAL; // not working
extern __attribute__((visibility("default"))) int GLOBAL; // working

So I revert it to avoid compatibility issue.
We finally found another solution in stack-of-tasks/pinocchio#2469

@jorisv jorisv self-assigned this Nov 5, 2024
@jorisv jorisv merged commit 5bed33b into master Nov 5, 2024
3 checks passed
@jorisv jorisv deleted the revert-725-topic/modern_attribute branch November 5, 2024 16:14
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

Successfully merging this pull request may close these issues.

2 participants