[hatari-devel] Compiler warnings

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

With the new softfloat stuff, there are new compiler warnings
(see below).  I guess those will be fixed on Previous (or WinUAE)
side, we don't need to do anything?


	- Eero

src/cpu/gencpu.c:688:13: warning: ‘fill_prefetch_full_2’ defined but not used [-Wunused-function]
 static void fill_prefetch_full_2 (void)

src/cpu/fpp.c:1728:6: warning: no previous prototype for ‘fpsr_set_quotient’ [-Wmissing-prototypes]
 void fpsr_set_quotient(uae_u64 quot, uae_s8 sign)
      ^
src/cpu/fpp.c: In function ‘fpu_reset’:
src/cpu/fpp.c:3779:2: warning: this decimal constant is unsigned only in ISO C90
  fxsizes[4] = int32_to_floatx80(-2147483648);
  ^
In file included from src/cpu/softfloat/softfloat.c:55:0:
src/cpu/softfloat/softfloat-specialize.h:71:6: warning: no previous prototype for ‘float32_is_nan’ [-Wmissing-prototypes]
 flag float32_is_nan( float32 a )
      ^
cpu/softfloat/softfloat-specialize.h:156:6: warning: no previous prototype for ‘float64_is_nan’ [-Wmissing-prototypes]
 flag float64_is_nan( float64 a )
      ^
src/cpu/softfloat/softfloat-specialize.h:398:10: warning: no previous prototype for ‘propagateFloatx80NaN’ [-Wmissing-prototypes]
 floatx80 propagateFloatx80NaN( floatx80 a, floatx80 b )
          ^
src/cpu/softfloat/softfloat-specialize.h:472:6: warning: no previous prototype for ‘float128_is_nan’ [-Wmissing-prototypes]
 flag float128_is_nan( float128 a )
      ^
src/cpu/softfloat/softfloat.c: In function ‘roundAndPackInt64’:
src/cpu/softfloat/softfloat.c:154:4: warning: signed and unsigned type in conditional expression [-Wsign-compare]
    : LIT64( 0x7FFFFFFFFFFFFFFF );
    ^
src/cpu/softfloat/softfloat.c: In function ‘roundAndPackFloatx80’:
src/cpu/softfloat/softfloat.c:590:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if ( zSig0 < roundIncrement ) {
             ^
[ 61%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/softfloat/fsincos.c.o
src/cpu/softfloat/fsincos.c:100:6: warning: no previous prototype for ‘normalizeFloatx80Subnormal’ [-Wmissing-prototypes] void normalizeFloatx80Subnormal(uint64_t aSig, int32_t *zExpPtr, uint64_t *zSigPtr)
      ^
src/cpu/softfloat/fsincos.c:295:5: warning: no previous prototype for ‘sf_fsincos’ [-Wmissing-prototypes]
 int sf_fsincos(floatx80 a, floatx80 *sin_a, floatx80 *cos_a)
     ^
src/cpu/softfloat/fsincos.c:509:10: warning: no previous prototype for ‘EvalPoly’ [-Wmissing-prototypes]
 float128 EvalPoly(float128 x, float128 *arr, unsigned n)
          ^
[ 61%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/softfloat/fyl2x.c.o
src/cpu/softfloat/fyl2x.c:373:10: warning: no previous prototype for ‘fyl2xp1’ [-Wmissing-prototypes]
 floatx80 fyl2xp1(floatx80 a, floatx80 b)
          ^



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/