[hatari-devel] Current dev version warnings

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


Hi all,

Just for your info, I get the following warnings when I compile hatari current dev version :


[ 23%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/fpp_softfloat.c.o
/home/laurent/Atari/hatari/src/cpu/fpp_softfloat.c: In function ‘fp_mod’:
/home/laurent/Atari/hatari/src/cpu/fpp_softfloat.c:344:40: warning: passing argument 3 of ‘floatx80_mod’ from incompatible pointer type [-Wincompatible-pointer-types]
  a->fpx = floatx80_mod(a->fpx, b->fpx, q, s, &fs);
                                        ^
In file included from /home/laurent/Atari/hatari/src/cpu/newcpu.h:44:0,
                 from /home/laurent/Atari/hatari/src/cpu/fpp_softfloat.c:26: /home/laurent/Atari/hatari/src/cpu/softfloat/softfloat.h:417:10: note: expected ‘uint64_t * {aka long unsigned int *}’ but argument is of type ‘uae_u64 * {aka long long unsigned int *}’  floatx80 floatx80_mod( floatx80 a, floatx80 b, uint64_t *q, flag *s, float_stat
          ^
/home/laurent/Atari/hatari/src/cpu/fpp_softfloat.c: In function ‘fp_rem’:
/home/laurent/Atari/hatari/src/cpu/fpp_softfloat.c:356:40: warning: passing argument 3 of ‘floatx80_rem’ from incompatible pointer type [-Wincompatible-pointer-types]
  a->fpx = floatx80_rem(a->fpx, b->fpx, q, s, &fs);
                                        ^
In file included from /home/laurent/Atari/hatari/src/cpu/newcpu.h:44:0,
                 from /home/laurent/Atari/hatari/src/cpu/fpp_softfloat.c:26: /home/laurent/Atari/hatari/src/cpu/softfloat/softfloat.h:416:10: note: expected ‘uint64_t * {aka long unsigned int *}’ but argument is of type ‘uae_u64 * {aka long long unsigned int *}’  floatx80 floatx80_rem( floatx80 a, floatx80 b, uint64_t *q, flag *s, float_stat
          ^



[ 73%] Building C object src/CMakeFiles/hatari.dir/midi.c.o
/home/laurent/Atari/hatari/src/midi.c:518:13: warning: ‘Midi_Host_SwitchPort’ defined but not used [-Wunused-function]
 static bool Midi_Host_SwitchPort(const char* portName, bool forInput)
             ^


Regards

Laurent






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