chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] gcc 3.4.0


From: Felix Winkelmann
Subject: Re: [Chicken-users] gcc 3.4.0
Date: Fri, 23 Apr 2004 07:28:40 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113

address@hidden wrote:

Hi.

I just tried to build chicken 1.43 (and cvs) with gcc 3.4.0.
I get many errors because it seems to be that gcc now requires
declaration and definition of a function to match in all attributes,
esp. in C_regparm, C_noret etc:


make

/bin/sh ./libtool --mode=compile gcc340 -DHAVE_CONFIG_H -I. -I. -I. 
-DC_STACK_GROWS_DOWNWARD=1 
-DC_INSTALL_LIB_HOME='"/programs/free/chicken-1.43b/lib/chicken"' 
-DC_USE_C_DEFAULTS -DC_NO_PIC_NO_DLL   -DC_BUILDING_LIBCHICKEN  -O3 -fomit-frame-pointer 
-Wall -Wno-unused -Wno-uninitialized -DHAVE_ALLOCA_H -fstrict-aliasing -c -o 
libchicken_la-runtime.lo `test -f 'runtime.c' || echo './'`runtime.c
mkdir .libs
 gcc340 -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GROWS_DOWNWARD=1 
-DC_INSTALL_LIB_HOME=\"/programs/free/chicken-1.43b/lib/chicken\" 
-DC_USE_C_DEFAULTS -DC_NO_PIC_NO_DLL -DC_BUILDING_LIBCHICKEN -O3 -fomit-frame-pointer 
-Wall -Wno-unused -Wno-uninitialized -DHAVE_ALLOCA_H -fstrict-aliasing -c runtime.c  
-fPIC -DPIC -o .libs/libchicken_la-runtime.o
runtime.c:618: error: conflicting types for 'C_new_symbol_table'
chicken.h:1162: error: previous declaration of 'C_new_symbol_table' was here


Groan!

So adding a C_regparm to the definition of runtime.c would be needed,
right? Ok, as long as this is downward compatible, I'll add this.

Thanks for pointing that out.


cheers,
felix





reply via email to

[Prev in Thread] Current Thread [Next in Thread]