[Vortex] [ANN] Vortex Library 0.9.0 is ready!

Francis Brosnan Blazquez francis at aspl.es
Sat Jul 8 09:58:47 CEST 2006


El sáb, 08-07-2006 a las 00:22 +0200, Milton YATES escribió:

Hi Milton!

> while testing the new libaxl 0.2.4, I get these errors while compiling
> my program:
> 
> Dans le fichier inclus à partir de /usr/include/axl/axl.h:41,
>           à partir de /usr/include/vortex/vortex.h:53,
>           à partir de netuser.hpp:16,
>           à partir de netuser.cpp:7:
> /usr/include/axl/axl_decl.h:44:1: attention : "_GNU_SOURCE" redefined
> <ligne de commande>:1:1: attention : this is the location of the
> previous definition
> 
> AFAICT, _GNU_SOURCE is redefined many times on multiple inclusions.
> The
> following patch solves the problem.
> 
> 
> 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 
> --- axl_decl.h.old  2006-07-07 23:23:14.000000000 +0200
> +++ axl_decl.h      2006-07-08 00:13:01.072546500 +0200
> @@ -41,7 +41,9 @@
> 
>  /* include this at this place to load GNU extensions */
>  #ifdef __GNUC__
> -#define _GNU_SOURCE
> + #ifndef _GNU_SOURCE
> +  #define _GNU_SOURCE
> + #endif
>  #endif
>  #include <stdio.h>
> 
> 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 8< 
> 

Ok. Applied. Thanks for the patch! 

Cheers!
> 
> Cheers! 




More information about the Vortex mailing list