[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] mshort support



Helmut Karlowski wrote:
Of course I use my cross-GCC 4.4.2.

This one seems to be more sensible, but I won't switch to that until the
current version of MiNT+XaAES has reached release-status and proved to
be stable (so never ..).

Sure. One change at time.

> Would you quote one of these of the XaAES-compile?

Sure:

../c_mouse.c: In function 'cXA_wheel_event':
../c_mouse.c:623: warning: array subscript is above array bounds

../c_window.c: In function 'find_window':
../c_window.c:1778: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~'

../obtree.c: In function 'obj_edit':
../xa_global.h:456: warning: inlining failed in call to 'hidem': call is unlikely and code size would grow
../obtree.c:3745: warning: called from here
../xa_global.h:457: warning: inlining failed in call to 'showm': call is unlikely and code size would grow
../obtree.c:3753: warning: called from here
../obtree.c:149: warning: inlining failed in call to 'object_get_tedinfo': call is unlikely and code size would grow
../obtree.c:3811: warning: called from here
(this one appears countless)

../xa_evnt.c: In function 'exec_iredraw_queue':
../xa_evnt.c:181: warning: dereferencing pointer 'r' does break strict-aliasing rules ../xa_evnt.c:181: warning: dereferencing pointer 'r' does break strict-aliasing rules
../xa_evnt.c:177: note: initialized from here

../xa_menu.c: In function 'XA_menu_settings':
../xa_menu.c:868: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
../xa_menu.c:868: note: initialized from here
../xa_menu.c:875: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
../xa_menu.c:875: note: initialized from here

I didn't look at them, maybe there is no real problem.

Finally, there are not much warnings in XaAES itself.
Most of them come from other parts of the kernel.

--
Vincent Rivière