Re: [hatari-devel] Compiler Warnings |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Compiler Warnings
- From: Christer Solskogen <christer.solskogen@xxxxxxxxx>
- Date: Sun, 24 Nov 2013 10:07:15 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=l6EMrLViAmkRw6lc3dNk2/RxHuv7Sx+m+qeQF4T6zT8=; b=b31tTHN7KxufD96kTGfbSMYW99k5yw3oHksehDUa4ajaXmUnQ3yJb3Ulb3NKuHCu/G XZHxkCVj7MZEUOPKECo7QIXhXykoyB6C0wU5Q6MLHgH4+5FnLuy/zCl8hAJcewIgBWvX fq4Vv76oyYv1swvdzw4XgAYIJXqLpAnKaCSD2fqeQ+8cFfOMYVL3tglVoPGoTRq58X1S A1pWY2YfC0DngcTINBVeEoQWDO6ejnqQVlWirbeWauCUYIR14NaiD167lCnbVUK2wv4K 7zTsPxc3KhD3Er5e2Qjm+EvtxK0Vaz7VgwBTLhlzNi3xESLkQsxon7ZL4BDUG9ABXjHp vVGw==
On Sun, Nov 24, 2013 at 10:01 AM, David Savinkoff <dsavnkff@xxxxxxxxx> wrote:
> Hi,
>
> I compiled oldcore Hatari with gcc-4.4.7 and got some warnings that don't
> appear with gcc-4.1.2:
>
>
> Scanning dependencies of target Falcon
>
> [ 28%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp.c.o
> hatari.4748/src/falcon/dsp.c: In function ‘DSP_DisasmMemory’:
> hatari.4748/src/falcon/dsp.c:339: warning: array subscript is above array bounds
>
> [ 30%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp_cpu.c.o
> hatari.4748/src/falcon/dsp_cpu.c: In function ‘dsp_btst_pp’:
> hatari.4748/src/falcon/dsp_cpu.c:1226: warning: array subscript is above array bounds
> hatari.4748/src/falcon/dsp_cpu.c: In function ‘dsp_jset_pp’:
> hatari.4748/src/falcon/dsp_cpu.c:1226: warning: array subscript is above array bounds
> hatari.4748/src/falcon/dsp_cpu.c: In function ‘dsp_jclr_pp’:
> hatari.4748/src/falcon/dsp_cpu.c:1226: warning: array subscript is above array bounds
> hatari.4748/src/falcon/dsp_cpu.c: In function ‘dsp_bchg_pp’:
> hatari.4748/src/falcon/dsp_cpu.c:1226: warning: array subscript is above array bounds
> hatari.4748/src/falcon/dsp_cpu.c: In function ‘dsp_bset_pp’:
> hatari.4748/src/falcon/dsp_cpu.c:1226: warning: array subscript is above array bounds
>
Does not happen with gcc 4.8, nor clang.
http://antarctica.no/~hatari/latest/linux/
--
chs,