Twas brillig at 18:43:49 19.12.2010 UTC+01 when [email protected] did gyre and gimble:
CB> asprintf is a GNU extension and one needs to define _GNU_SOURCE before CB> including stdio.h. Otherwise, the build breaks this way with CB> CFLAGS="-Wall -Werror": CB> | CC process.lo CB> | cc1: warnings being treated as errors CB> | process.c: In function ‘ProcessError’: CB> | process.c:672: error: implicit declaration of function ‘asprintf’ CB> | process.c:672: error: nested extern declaration of ‘asprintf’ CB> | make[2]: *** [process.lo] Error 1 CB> Signed-off-by: Cyril Brulebois <[email protected]> Reviewed-by: Mikhail Gusarov <[email protected]> -- http://fossarchy.blogspot.com/
pgpK5FGeLrSb0.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
