Playing devil's advocate here... given that:

libmingwex.a is only linked if someone passes
-D__USE_MINGW_ANSI_STDIO=1 and that
msvcrt doesn't implement asprintf or vasprintf,

could we not just say that anyone who expects ms formatting in this
scenario is just mistaken? - and they'd get warnings from the to that
effect compiler too.

Cheers,

Ray.

On Thu, Jul 5, 2012 at 1:20 PM, Kai Tietz <ktiet...@googlemail.com> wrote:
> 2012/7/5 Ray Donnelly <mingw.andr...@gmail.com>:
>> Thanks Kai,
>>
>> You decided against renaming __mingw_vasprintf to vasprintf (and same
>> for asprintf) then?
>>
>> Cheers,
>>
>> Ray.
>
> Yes, the issue is that __mingw_vasprintf assumes POSIX-formatter
> style.  This could lead to troubles for ventures checking for
> vasprintf/asprintf and assuming it has MS' formatting.
>
> Therefore I think it is more sane to disable those two functions in
> standard-namespace.  Of course people can check for __mingw_vasprintf
> and use it.  But so it is clear it has POSIX-formatting (and result)
> rules.
>
> Cheers,
> Kai
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to