Re: [hatari-devel] Next Hatari release for OSX

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


Le 22/05/2015 15:20, Cocoa Pod a écrit :
/Users/msaro/Desktop/Hatari-ObjC/hatari/src/cpu/fpp.c:154:9: warning:
'FP_SNAN' macro redefined [-Wmacro-redefined]
#define FP_SNAN  (1 << 14)
         ^
/usr/include/math.h:700:9: note: previous definition is here
#define FP_SNAN         FP_NAN
         ^
1 warning generated.

[ 46%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/newcpu.c.o
/Users/msaro/Desktop/Hatari-ObjC/hatari/src/cpu/newcpu.c:5468:4:
warning: implicit declaration of function 'mmu_do_hit' is invalid in C99
       [-Wimplicit-function-declaration]
                         mmu_do_hit ();
                         ^
/Users/msaro/Desktop/Hatari-ObjC/hatari/src/cpu/newcpu.c:6468:68:
warning: for loop has empty body [-Wempty-body]
                 for (lookup2 = lookuptab; lookup2->mnemo != dp->mnemo;
lookup2++);

           ^
/Users/msaro/Desktop/Hatari-ObjC/hatari/src/cpu/newcpu.c:6468:68: note:
put the semicolon on a separate line to silence this warning

Hi

those 3 warnings seem ok to me. 1st one is about a conflicting name between fp_snan and osx' math.h. But as FP_SNAN is not used anymay in fpp.c, that's not a problem.

The 2 others are more about proper declaration / formatting, but here also it's harmless, it depends on the C compiler and its level of warning.

Nicolas




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