[hatari-devel] LLVM static analyzer output
Eero Tamminen
eerot at users.berlios.de
Sun May 22 20:42:59 CEST 2011
Hi,
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?
- Eero
-------------- next part --------------
A non-text attachment was scrubbed...
Name: consts.diff
Type: text/x-patch
Size: 1325 bytes
Desc: not available
URL: <https://lists.berlios.de/pipermail/hatari-devel/attachments/20110522/72c8c41c/attachment.bin>
More information about the hatari-devel
mailing list