This is the mail archive of the
cgen@sourceware.org
mailing list for the CGEN project.
annoying warning on cgen simulator compiles
- From: Alan Lehotsky <qsmgmt at earthlink dot net>
- To: cgen at sourceware dot org
- Date: Sun, 7 Dec 2008 12:33:42 -0500
- Subject: annoying warning on cgen simulator compiles
I'm guessing somethings munged with a #define that I should have set;
but it's not obvious which
#define I'm missing that generates about a dozen warnings about
endian_t2h_<X> and inline function GETT<Y>.
gcc -c -DHAVE_CONFIG_H -DWITH_DEFAULT_MODEL='"atdsp32"' -DPROFILE=1
-DWITH_PROFILE=-1 -DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT -
DWITH_ENVIRONMENT=ALL_ENVIRONMENT -
DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DWITH_SCACHE=16384 -
Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -
Wpointer-arith -I. -I/Users/alehotsky/src/sim/atdsp -I../common -
I/Users/alehotskysrc/sim/atdsp/../common -I../../include -I/Users/
alehotskysrc/sim/atdsp/../../include -I../../bfd -I/Users/alehotsky/
src/sim/atdsp/../../bfd -I../../opcodes -I/Users/alehotsky/src/sim/
atdsp/../../opcodes -g -O0 /Users/alehotsky/src/sim/atdsp/sem.c
In file included from /Users/alehotsky/src/sim/atdsp/sem.c:29:
/Users/alehotsky/src/sim/atdsp/../common/cgen-mem.h: In function
'GETTQI':
/Users/alehotsky/src/sim/atdsp/../common/cgen-mem.h:177: warning:
'endian_t2h_1' is static but used in inline function 'GETTQI' which is
not static