D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 23254 - Deprecation: format specifier "%S" and "%C" are invalid
Summary: Deprecation: format specifier "%S" and "%C" are invalid
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 normal
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2022-07-16 13:57 UTC by Iain Buclaw
Modified: 2022-07-20 05:14 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Iain Buclaw 2022-07-16 13:57:25 UTC
The "%S" and "%C" format specifiers are part of POSIX.1-2017 XSI extensions for both printf and scanf.

https://pubs.opengroup.org/onlinepubs/9699919799/functions/printf.html
https://pubs.opengroup.org/onlinepubs/9699919799/functions/scanf.html
Comment 1 Dlang Bot 2022-07-20 03:41:28 UTC
@ibuclaw created dlang/dmd pull request #14317 "fix Issue 23254 - Deprecation: format specifier %S and %C are invalid" fixing this issue:

- fix Issue 23254 - Deprecation: format specifier %S and %C are invalid

https://github.com/dlang/dmd/pull/14317
Comment 2 Dlang Bot 2022-07-20 05:14:44 UTC
dlang/dmd pull request #14317 "fix Issue 23254 - Deprecation: format specifier %S and %C are invalid" was merged into master:

- e281a0c01acb353d3b1bc6e06bce18feb4ba8f53 by Iain Buclaw:
  fix Issue 23254 - Deprecation: format specifier %S and %C are invalid

https://github.com/dlang/dmd/pull/14317