On 6/30/2012 22:23, Ray Donnelly wrote:
> Hi guys,
> 
> I've attached a fairly simple patch as requested by Kai on IRC which
> allows GDB to be compiled successfully.
> 
> Without the patch, configure for libiberty fails to find the functions
> and tries to build its own versions which then leads to multiply
> defined symbols due to the inclusion of stdio.h
> 
> Since Windows doesn't provide either of these two functions it should
> be safe to move them from being inlined functions into the lib.
> 

asprintf prototype should not exist, you should be using the mingw stdio
macro thing to reach it instead.

These inlines should stay in the header, see the __CRT__NO_INLINE macro,
the non-inline prototypes can go in there.

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
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