[hatari-devel] LLVM static analyzer output
Nicolas Pomarède
npomarede at corp.free.fr
Sun May 22 20:52:28 CEST 2011
Le 22/05/2011 20:42, Eero Tamminen a écrit :
> 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?
>
Nope, the warning remains exactly the same.
Maybe gcc's site has some doc/examples on this specific "const" issue ?
Nicolas
More information about the hatari-devel
mailing list