Hi, this seems to be a problem with gcc 3.1 or a bad DJGPP instalation. Can somebody check it?
Thanks, M.Alvarez
-------- Original Message -------- Asunto: GRX 2.4.3 makefile.dj2 Fecha: Tue, 30 Jul 2002 18:53:12 +0200 De: "Dr. Peter Prinz" prinz_peter@t-online.de A: malfer@telefonica.net
Dear M. Alvarez,
would you please let me know how to build the GRX-Lib (2.4.3)?
Runing 'make -f makefile.dj2 install' results in the following error:
gcc -c -O2 -Wall -I. -I./include -I../include -I../addons/print -I../addons/ bmp mouse/mscursor.c -o mouse/mscursor.o In file included from include/libgrx.h:35, from mouse/mscursor.c:22: d:/gnu-c/include/stdio.h:35: conflicting types for `va_list' d:/gnu-c/lib/gcc-lib/djgpp/3.1/include/stdarg.h:110: previous declaration of `va _list' mouse/mscursor.c: In function `GrMouseSetCursorMode': mouse/mscursor.c:166: first argument to `va_arg' not of type `va_list' mouse/mscursor.c:167: first argument to `va_arg' not of type `va_list' mouse/mscursor.c:171: first argument to `va_arg' not of type `va_list' mouse/mscursor.c:172: first argument to `va_arg' not of type `va_list' mouse/mscursor.c:173: first argument to `va_arg' not of type `va_list'
Thank You!
Best regards, Peter Prinz
On Tue, 30 Jul 2002, Mariano Alvarez Fernandez wrote:
Hi, this seems to be a problem with gcc 3.1 or a bad DJGPP instalation. Can somebody check it?
It's known problem.
$DJDIR/include/sys/djtypes.h must be patched to be used with gcc-3.1. See patch at end of gnu/gcc-3.1/readme.DJGPP inside gcc31b.zip
Andris
-------- Original Message -------- Asunto: GRX 2.4.3 makefile.dj2 Fecha: Tue, 30 Jul 2002 18:53:12 +0200 De: "Dr. Peter Prinz" prinz_peter@t-online.de A: malfer@telefonica.net
Dear M. Alvarez,
would you please let me know how to build the GRX-Lib (2.4.3)?
Runing 'make -f makefile.dj2 install' results in the following error:
gcc -c -O2 -Wall -I. -I./include -I../include -I../addons/print -I../addons/ bmp mouse/mscursor.c -o mouse/mscursor.o In file included from include/libgrx.h:35, from mouse/mscursor.c:22: d:/gnu-c/include/stdio.h:35: conflicting types for `va_list' d:/gnu-c/lib/gcc-lib/djgpp/3.1/include/stdarg.h:110: previous declaration of `va _list' mouse/mscursor.c: In function `GrMouseSetCursorMode': mouse/mscursor.c:166: first argument to `va_arg' not of type `va_list' mouse/mscursor.c:167: first argument to `va_arg' not of type `va_list' mouse/mscursor.c:171: first argument to `va_arg' not of type `va_list' mouse/mscursor.c:172: first argument to `va_arg' not of type `va_list' mouse/mscursor.c:173: first argument to `va_arg' not of type `va_list'
Thank You!
Best regards, Peter Prinz