Re: [hatari-devel] compiler warnings

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


Hi,

On tiistai 12 helmikuu 2013, David Savinkoff wrote:
> I noticed some new warnings:

Thanks for reporting them!

> [ 34%] Building C object src/debug/CMakeFiles/Debug.dir/profile.c.o
> hatari/src/debug/profile.c: In function ‘Profile_CpuUpdate’:
> hatari/src/debug/profile.c:677: warning: unused variable ‘misses’

This is harmless, but I added WINUAE ifdef to get rid of it.


> hatari/src/debug/profile.c: In function ‘Profile_DspShowStats’:
> hatari/src/debug/profile.c:911: warning: comparison is always false due
> to limited range of data type

This was real issue.  For some reason my GCC didn't warn about it.

They should've gone with this:
http://hg.tuxfamily.org/mercurialroot/hatari/hatari/rev/c50c2840640c


	- Eero



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