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

--- Comment #16 from Egmont Koblinger <egmont at gmail dot com> ---
(In reply to Tobias Burnus from comment #13)

> but using KDE Konsole, the warnings now have:
> 
>    warning: control reaches end of non-void function [\-Wreturn-type\]
> 
> That is: There are spurious \ in the output.

This has recently been fixed and is going to be released in konsole 19.12. See
https://bugs.kde.org/show_bug.cgi?id=231405 for details.

I don't know when gcc 10 planned to be released, but if later than that then
very few users will hit this bug (and as far as I understand, they can still
disable this formatting in gcc, correct?).

> The quoted reference [...] but not stating what ST exactly is.

Please read that reference again carefully, it _does_ state what ST is. ECMA-48
also states what it is, and states it as the only terminator for an OSC
(section 8.3.89).

Contrary, BEL is a nonstandard extension.

That's why the OSC 8 spec also uses ST.

> Assuming there is no (known) downside

There is no practical downside I'm aware of, except that you would switch from
the official standard solution to an unofficial nonstandard one.

Should you do it in order to workaround a terminal emulator which failed to fix
this bug for 9.5 years after it was reported? Or should you comply with the
standards and blame them for this mistake? Your call.

Reply via email to