[cfe-dev] Sema/format-strings.c test problem on Windows

John Thompson john.thompson.jtsoftware at gmail.com
Wed Oct 28 15:50:10 PDT 2009


MSVC doesn't have an snprintf, so in the enclosed patch I just declare one
for Windows.

Neither MSVC nor MinGW have a vasprintf, so it seemed reasonable to
substitute vsprintf, since only the second argument seems of interest.
Is this okay?

-- 
John Thompson
John.Thompson.JTSoftware at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091028/6bc7d239/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: formatstrings.patch
Type: application/octet-stream
Size: 912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091028/6bc7d239/attachment.obj>


More information about the cfe-dev mailing list