Skip to content

Use FMT_THROW in report_error#4521

Merged
vitaut merged 1 commit intofmtlib:masterfrom
HazardyKnusperkeks:report-error
Aug 31, 2025
Merged

Use FMT_THROW in report_error#4521
vitaut merged 1 commit intofmtlib:masterfrom
HazardyKnusperkeks:report-error

Conversation

@HazardyKnusperkeks
Copy link
Copy Markdown
Contributor

With exceptions: No change (if FMT_THROW is not user provided)

Without exceptions: Now also states where it comes from (report_error) and uses fprintf instead of fputs.

My motivation is, now that I have my own fmt::assert_failed, also to get rid of fputs for my embedded build.

With exceptions: No change (if FMT_THROW is not user provided)

Without exceptions: Now also states where it comes from (report_error)
and uses fprintf instead of fputs.

My motivation is, now that I have my own fmt::assert_failed, also to get
rid of fputs for my embedded build.
@vitaut vitaut merged commit ff1caa5 into fmtlib:master Aug 31, 2025
41 checks passed
@vitaut
Copy link
Copy Markdown
Contributor

vitaut commented Aug 31, 2025

Looks reasonable, merged.

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