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

Issue 205: Make iostream support optional. #208

Merged
merged 1 commit into from
Oct 18, 2015

Conversation

JodiTheTigger
Copy link
Contributor

You can disable references to *stream libraries by defining FMT_NO_STREAM_LIBRARIES before including the headers.

#define FMT_NO_STREAM_LIBRARIES
#include <format.h>

@JodiTheTigger
Copy link
Contributor Author

Bah, my build of the doc target works fine. So I don't know why the CI build is failing :-(

@vitaut
Copy link
Contributor

vitaut commented Oct 15, 2015

No worries, the doc build failure is unrelated.

@Spartan322
Copy link

To be honest, this seems to be utterly pointless, but to ones own I guess.

vitaut added a commit that referenced this pull request Oct 18, 2015
Issue 205: Make iostream support optional.
@vitaut vitaut merged commit 6049fd9 into fmtlib:master Oct 18, 2015
@vitaut
Copy link
Contributor

vitaut commented Oct 18, 2015

Merged with some changes in b2714f8. In particular I changed FMT_NO_STREAM_LIBRARIES to FMT_USE_IOSTREAMS for consistency with similar macros and removed unnecessary checks mentioned above.
Thanks!

@JodiTheTigger
Copy link
Contributor Author

Thanks. I was going to do that today, but you beat me to it :-)

@JodiTheTigger JodiTheTigger deleted the Make-streams-optional branch October 18, 2015 21:25
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