[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] mintlib 0.59 ?



>>
>> Is still a goal of this new mintlib version to be compilable under gcc 2.95.3?
>
> Yes.
>
>> i get this error trying to compile:
>
> Does the attached help ?
>

Yes, now compiles with this warning:

gcc -Wall -O2 -fomit-frame-pointer -nostdinc -I../argp -I..
-I../include -I../mintlib -I../stdlib -I$(<../includepath)
-DHAVE_CONFIG_H -D_LIBC -D_REENTRANT -c ../argp/argp-help.c -o
argp-help.o
../argp/argp-help.c:575: warning: `always_inline' attribute directive ignored

the next error comes here:

gcc -Wall -O2 -fomit-frame-pointer -nostdinc -I../stdio -I..
-I../include -I../mintlib -I../stdlib -I$(<../includepath)
-DHAVE_CONFIG_H -D_LIBC -D_REENTRANT -c ../stdio/fxprintf.c -o
fxprintf.o

../stdio/fxprintf.c: In function `__fxprintf':
../stdio/fxprintf.c:33: parse error before `ap'
../stdio/fxprintf.c:34: `ap' undeclared (first use in this function)
../stdio/fxprintf.c:34: (Each undeclared identifier is reported only once
../stdio/fxprintf.c:34: for each function it appears in.)
../stdio/fxprintf.c:36: parse error before `int'
../stdio/fxprintf.c:51: `res' undeclared (first use in this function)
../stdio/fxprintf.c:56: warning: control reaches end of non-void function
make[1]: *** [fxprintf.o] Error 1
make[1]: Leaving directory `/i/CVS/mintlib/lib'
make: *** [all-recursive] Error 1