[Toolserver-l] Alternative C function to vasprintf() on Toolserver
Platonides
platonides at gmail.com
Sat Apr 9 13:41:01 UTC 2011
Andrew Dunbar wrote:
> I've got a little program to index dump files that supports Windows
> and Linux but it doesn't compile on the Toolserver with either cc or
> gcc due to the lack of the function vasprintf(). It's a GNU extension
> so I'm surprised it didn't work even with gcc.
>
> Why doesn't the Toolserver gcc have it, and does anybody know of a workaround?
Did you do
#define _GNU_SOURCE
at the top of the source file?
More information about the Toolserver-l
mailing list