Re: [AD] ALLEGRO_USE_C warning

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Tue, 2006-04-11 at 12:45 +0200, Milan Mimica wrote:
> On linux, when compiling with --enable-asm=no I get the following
> warning for every file:
> 
> gcc-3.4.5 -DALLEGRO_MODULES_PATH=\"/usr/local/lib/allegro\"
> -DHAVE_CONFIG_H -I. -Iinclude -Iinclude/allegro -I./include
> -I./include/allegro -I/usr/X11R6/include  -O2 -g0 -DALLEGRO_USE_C
> -DALLEGRO_LIB_BUILD  -march=i686 -O2 -funroll-loops -ffast-math
> -fomit-frame-pointer -Wall -Wno-unused  -c ./src/allegro.c -o
> obj/unix/alleg/allegro.o
> In file included from include/allegro/inline/gfx.inl:25,
>                  from include/allegro/gfx.h:439,
>                  from include/allegro.h:38,
>                  from ./src/allegro.c:23:
> include/allegro/inline/asm.inl:53:1: warning: "ALLEGRO_USE_C" redefined
> <command line>:3:1: warning: this is the location of the previous definition
> 

Try re-running configure. grep here seems to tell me my patch removed
any traces of ALLEGRO_USE_C, so I assume it can only come from sold old
configure files.

-- 
Elias Pschernig





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/