annoying warning on cgen simulator compiles

Alan Lehotsky qsmgmt@earthlink.net
Sun Dec 7 17:34:00 GMT 2008


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



More information about the Cgen mailing list