[Bug c++/124469] error: 'format' attribute argument 3 value '6' does not refer to a variable argument list

office at faf dot software gcc-bugzilla@gcc.gnu.org
Thu Mar 12 20:23:27 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124469

--- Comment #4 from Peter VARGA <office at faf dot software> ---
I consider "printf" still as the most powerful function. Please, tell me, how
do I set in std::format the ' character as thousand separator, which I can do
with the localization in printf.

So, the output for %'09u should be 000'073'259. A way to achieve it with
std::format()?


More information about the Gcc-bugs mailing list