
2 Nov
2007
2 Nov
'07
12:52 p.m.
David Deakins wrote:
Windows CE does not supply the ANSI version of FormatMessage (only FormatMessageW). The attached patch substitutes FormatMessageW-based code in this case.
I've applied the patch, but am concerned about the name of the BOOST_NO_ANSI_APIS macro. For clarity, I'd prefer the name indicate that this is a Windows workaround. Perhaps BOOST_NO_WINDOWS_ANSI_API? Is this something used by other libraries? If it is specific to Boost.System, I'd prefer BOOST_SYSTEM_NO_WINDOWS_ANSI_API. Thanks, --Beman