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

Re: [MiNT] MiNT1.17 Changes



Jo Even Skarstein wrote:
make[3]: Entering directory '/e/Prosjekt/freemint/sys/arch/magic'
gcc -I../.. -Werror -mshort -g -c genmagic.c -o genmagic.o
cc1: warnings being treated as errors
In file included from ../../mint/kerinfo.h:23
	fron genmagic.c:13,
../../mint/block_IO.h:218: warning: 'always_inline' attribute directive
ignored
../../mint/block_IO.h:225: warning: 'always_inline' attribute directive
ignored

I hit that problem recently when building FreeMiNT with GCC 4.5.1.

Please remove -Winline in CONFIGVARS, and commit:
http://www.atariforge.net/cgi-bin/cvsweb/freemint/CONFIGVARS?rev=1.20&content-type=text/x-cvsweb-markup
I believe this warning is pretty useless, and a real problem when used along with -Werror.

Note that -Werror has been explicitly turned on in the kernel here:
http://www.atariforge.net/cgi-bin/cvsweb/freemint/sys/CONFIGVARS?rev=1.8&content-type=text/x-cvsweb-markup

--
Vincent Rivière