Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
-Wrestrict warning on cc 8.3.0
- X-seq: zsh-workers 44206
- From: Wesley Schwengle <wesley@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: -Wrestrict warning on cc 8.3.0
- Date: Wed, 3 Apr 2019 20:59:27 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mintlab-nl.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=Nth+9BUNe4kSdMwxsxa2VAb3ir6kqRln9K6au63TOQw=; b=LG15nr0qqDI74aLU9JkLgBIQgPCUGEfYc/UMB2KNvoD5P+KgB2bNZmbB1uvye2qLhg lIi8t865UNIKr69LJq0mY/7Gj/kAxjiAnTh3JF2fy4VU6eNfj3fB2H/p0K/Hp6uX6pII gT73eS6XEGwQwi6LQ1lWeT++pm2aSd3p+NrTtTYi/rl5PPIz8kZ4hgiCPu3aQOGkDH2T dVoaeC07VISg8i1+PTuSXv7jQaTqICdPGdnMiDCaGS8pxV7QMd6nh2ZsVPbDfhXP+pOp Ha05t8JTtuIJvMraYuT61JkCRD0LWDIew4vA+pMGPC5KZRG+p06znRqJoqyGc4InhpTY 7c1w==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hello all,
During a make of the latest master I got the following warning:
gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -DHAVE_CONFIG_H
-DMODULE -Wall -Wmissing-prototypes -O2 -fPIC -o compctl..o compctl.c
compctl.c: In function ‘makecomplistflags.isra.6’:
compctl.c:3340:7: warning: ‘strcpy’ accessing 1 byte at offsets [0,
9223372036854775807] and [0,9223372036854775807] may overlap 1 byte at
offset 0 [-Wrestrict]
strcpy(p, p + bl);
^~~~~~~~~~~~~~~~~
rm -f compctl.so
Cheers,
Wesley
--
Wesley Schwengle, Developer
Mintlab B.V., https://www.zaaksysteem.nl
E: wesley@xxxxxxxxxx
T: +31 20 737 00 05
Messages sorted by:
Reverse Date,
Date,
Thread,
Author