Investigate replacements for boost Format for diagnostics #4784
Labels
breaking-change
This change may break assumptions of compiler back ends.
core
Topics concerning the core segments of the compiler (frontend, midend, parser)
This was discussed in #4347 (comment).
Summary is that boost is problematic by itself and replacing boost::format is one of the critical steps to getting rid of it. One possibility would be to use fmt and later
std::format
.The biggest problem with this is that other formatter will likely use a different syntax for placeholders, which would require all diagnostics (including in downstream projects) to be rewritten and this change would be quite hard to check as mistakes in placeholders would lead to runtime failures.
The text was updated successfully, but these errors were encountered: