#10541 closed Feature Requests (obsolete)
boost::format support for Microsoft extension length modifier prefixes I, I32, and I64
| Reported by: | Owned by: | James E. King, III | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | format |
| Version: | Boost 1.56.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
Microsoft's printf implementation includes non-ANSI extensions to the valid length modifier prefixes: I, I32, and I64. boost::format currently does not recognize them.
It would ease migration to boost::format if parse_printf_directive() in format/parsing.hpp would parse and ignore them, just as it currently does with h and l.
(Note: I'd be willing to code the proposed enhancement, if that's appropriate.)
Thanks!!!! Dan K.
Change History (4)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:3 by , 5 years ago
| Resolution: | → obsolete |
|---|---|
| Status: | assigned → closed |
I am going to move this over to github.
Note:
See TracTickets
for help on using tickets.

It would probably be good to support the ISO C99 extensions as well. I need to gather some more official sources for what is required in each C++ version, what is allowed, and what is not allowed.