[Issue 23249] New: Deprecation: argument &p for format specification "%m" must be char*, not char**
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jul 14 11:09:45 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23249
Issue ID: 23249
Summary: Deprecation: argument &p for format specification "%m"
must be char*, not char**
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: ibuclaw at gdcproject.org
This deprecation message is wrong, the %m specifier needs to accept a `char**`
as it must dynamically allocate it.
On an implementation note, it's also not a GNU, but a POSIX.1-2008 extension.
https://pubs.opengroup.org/onlinepubs/9699919799/functions/fscanf.html
--
More information about the Digitalmars-d-bugs
mailing list