Thread overview
[Issue 17381] Checked format string is permissive after floating point argument
Sep 27, 2017
b2.temp@gmx.com
Mar 21, 2020
Basile-z
Feb 13, 2021
Walter Bright
Mar 24, 2021
Berni44
Mar 27, 2021
Berni44
Mar 27, 2021
Berni44
Mar 27, 2021
Berni44
Mar 31, 2021
Dlang Bot
Mar 31, 2021
Dlang Bot
September 27, 2017
https://issues.dlang.org/show_bug.cgi?id=17381

b2.temp@gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp@gmx.com
                 OS|Linux                       |All

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=17381

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|b2.temp@gmx.com             |

--
February 13, 2021
https://issues.dlang.org/show_bug.cgi?id=17381

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=3248

--
March 24, 2021
https://issues.dlang.org/show_bug.cgi?id=17381

Berni44 <bugzilla@bernis-buecher.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@bernis-buecher.de
           Severity|enhancement                 |normal

--
March 27, 2021
https://issues.dlang.org/show_bug.cgi?id=17381

--- Comment #1 from Berni44 <bugzilla@bernis-buecher.de> ---
Meanwhile I found the reason for this: When checking at compile time, there is a cannot-format-floats-at-compiletime-exception thrown. For testing purpose this is ignored (as it is supposed to work in runtime) and hence the orphan-arguments-exception overlooked.

Meanwhile format is able to format floats and doubles at compiletime (but yet not reals). Therefore the code above works meanwhile, but not with 1.5L yet.

--
March 27, 2021
https://issues.dlang.org/show_bug.cgi?id=17381

--- Comment #2 from Berni44 <bugzilla@bernis-buecher.de> ---
dlang-bot seems to have forgotton to mention this:

https://github.com/dlang/phobos/pull/7916

--
March 27, 2021
https://issues.dlang.org/show_bug.cgi?id=17381

Berni44 <bugzilla@bernis-buecher.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |witold.baryluk+d@gmail.com

--- Comment #3 from Berni44 <bugzilla@bernis-buecher.de> ---
*** Issue 21529 has been marked as a duplicate of this issue. ***

--
March 31, 2021
https://issues.dlang.org/show_bug.cgi?id=17381

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
@berni44 updated dlang/phobos pull request #7916 "Fix Issue 17381 - Checked format string is permissive after floating point argument" fixing this issue:

- Fix Issue 17381 - Checked format string is permissive after floating point argument

https://github.com/dlang/phobos/pull/7916

--
March 31, 2021
https://issues.dlang.org/show_bug.cgi?id=17381

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #7916 "Fix Issue 17381 - Checked format string is permissive after floating point argument" was merged into master:

- 88547b8cbbbc70aa6c393286cab6314df3e0c77c by berni44:
  Fix Issue 17381 - Checked format string is permissive after floating point
argument

https://github.com/dlang/phobos/pull/7916

--