8000
Skip to content

modules missing pieces#3399

Merged
vitaut merged 1 commit intofmtlib:masterfrom
DanielaE:feature/missing-pieces
May 5, 2023
Merged

modules missing pieces#3399
vitaut merged 1 commit intofmtlib:masterfrom
DanielaE:feature/missing-pieces

Conversation

@DanielaE
Copy link
Copy Markdown
Contributor
  • don't export names from detail
  • put more headers into the global module fragment
  • support MSYS2 and Clang

@DanielaE DanielaE force-pushed the feature/missing-pieces branch from b19310b to ed407d8 Compare April 23, 2023 13:47
Copy link
Copy Markdown
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, just one comment inline.

Comment on lines +1042 to +1045
FMT_BEGIN_DETAIL_NAMESPACE
FMT_API bool write_console(std::FILE* f, string_view text);
FMT_API void print(std::FILE*, string_view);
} // namespace detail
FMT_END_DETAIL_NAMESPACE
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we should use FMT_{BEGIN,END}_EXPORT instead of "magically" folding exports into namespace macros.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ok, will do!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done!

- don't export names from `detail`
- put more headers into the global module fragment
- support MSYS2 and Clang
@DanielaE DanielaE force-pushed the feature/missing-pieces branch from ed407d8 to 728333c Compare May 2, 2023 08:19
@vitaut vitaut merged commit 192df93 into fmtlib:master May 5, 2023
@vitaut
Copy link
Copy Markdown
Contributor
vitaut commented May 5, 2023

Thank you!

@DanielaE DanielaE deleted the feature/missing-pieces branch May 8, 2023 06:20
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

0