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

Document FMT_STRING requires >C++14 #2041

Closed
wants to merge 1 commit into from

Conversation

yeswalrus
Copy link
Contributor

Per the title & conversation in #2039, updates the documentation.

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

Comment on lines +164 to +165
``FMT_STRING`` may function in C++11 environments, but is not supported and can
produce illegible error messages. It is also known to fail in GCC when passing zero arguments.
Copy link
Contributor

Choose a reason for hiding this comment

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

This is no longer the case, please remove.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

#2042 only fixed this for FMT_COMPILE, not FMT_STRING in old gcc versions?

@vitaut
Copy link
Contributor

vitaut commented Dec 3, 2020

FMT_STRING does work with C++11 where it is a noop: https://godbolt.org/z/rfsqzc. If you get an error please open an issue with a repro.

@vitaut vitaut closed this Dec 3, 2020
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