Opened 8 years ago

Closed 5 years ago

Last modified 5 years ago

#10541 closed Feature Requests (obsolete)

boost::format support for Microsoft extension length modifier prefixes I, I32, and I64

Reported by: Dan Konigsbach <dkonigsbach@…> 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 James E. King, III, 5 years ago

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.

comment:2 by James E. King, III, 5 years ago

Owner: changed from Samuel Krempp to James E. King, III
Status: newassigned

comment:3 by James E. King, III, 5 years ago

Resolution: obsolete
Status: assignedclosed

I am going to move this over to github.

Note: See TracTickets for help on using tickets.