[hatari-devel] LLVM static analyzer output

Eero Tamminen eerot at users.berlios.de
Sun May 22 21:25:59 CEST 2011


Hi,

On sunnuntai 22 toukokuu 2011, Nicolas Pomarède wrote:
> Le 22/05/2011 20:42, Eero Tamminen a écrit :
> > On sunnuntai 22 toukokuu 2011, Eero Tamminen wrote:
> >> On sunnuntai 22 toukokuu 2011, Nicolas Pomarède wrote:
> >>> debug/debugui.c: In function 'DebugUI_SetOptions':
> >>> debug/debugui.c:344:32: attention : to be safe all intermediate
> >>> pointers in cast from 'char **' to 'const char **' must be 'const'
> >>> qualified [-Wcast-qual]
> >>> 
> >>> main.c: In function 'main':
> >>> main.c:739:33: attention : to be safe all intermediate pointers in
> >>> cast from 'char **' to 'const char **' must be 'const' qualified
> >>> [-Wcast-qual]
> > 
> > Nicolas, as I don't get this warning, could you try whether adding
> > consts to lines indicated in the attached patch helps?
> 
> Nope, the warning remains exactly the same.

Ah, sorry, that patch was basically a no-opt.  Please try the new
attached one.


	- Eero
-------------- next part --------------
A non-text attachment was scrubbed...
Name: consts.diff
Type: text/x-patch
Size: 2152 bytes
Desc: not available
URL: <https://lists.berlios.de/pipermail/hatari-devel/attachments/20110522/aecfa746/attachment.bin>


More information about the hatari-devel mailing list