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

-Wattributes visibility warning with some GCC versions #1975

Merged
merged 5 commits into from
Nov 5, 2020

Conversation

alexezeder
Copy link
Contributor

@alexezeder alexezeder commented Nov 3, 2020

I agree that my contributions are licensed under the {fmt} license, and agree to future changes to the licensing.

More info about the problem that should be fixed by this PR: #1973

There are a few steps in this PR:

  1. fail CI build on ARM by passing -fvisibility=hidden to the tests, looks like it was not specific to ARM, but x86_64 gcc-6 also produces this warning, so there was no need to create additional CI configuration, but I didn't know that
  2. fix the problem, so CI should pass again
  3. revert my commit which failed the CI build without this fix

@alexezeder alexezeder force-pushed the fix/visibility_warning_gcc_arm branch from a1568d4 to 574cd27 Compare November 3, 2020 19:34
include/fmt/format.h Outdated Show resolved Hide resolved
.travis.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@vitaut vitaut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Mostly looks good but please address inline comments.

.travis.yml Outdated Show resolved Hide resolved
test/CMakeLists.txt Outdated Show resolved Hide resolved
@alexezeder alexezeder changed the title Draft: visibility warnings with ARM GCC visibility warnings with some GCC versions Nov 4, 2020
@alexezeder alexezeder marked this pull request as ready for review November 4, 2020 15:51
@alexezeder alexezeder changed the title visibility warnings with some GCC versions -Wattributes visibility warning with some GCC versions Nov 4, 2020
include/fmt/format.h Outdated Show resolved Hide resolved
include/fmt/format.h Outdated Show resolved Hide resolved
@vitaut
Copy link
Contributor

vitaut commented Nov 5, 2020

LGTM but please rebase since there seem to be some conflicts.

@alexezeder
Copy link
Contributor Author

LGTM but please rebase since there seem to be some conflicts.

hmm... @vitaut, are you sure, because I can see "This branch has no conflicts with the base branch" text here, also I'm able to merge in my local repo

@vitaut vitaut merged commit 6a2495c into fmtlib:master Nov 5, 2020
@vitaut
Copy link
Contributor

vitaut commented Nov 5, 2020

Yes, but I guess I can squash the commits.

@alexezeder alexezeder deleted the fix/visibility_warning_gcc_arm branch November 5, 2020 01:13
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.

3 participants