On Wed, Mar 16, 2022 at 02:34:09PM -0400, James K. Lowden wrote:
> [I sent this to gcc-help by mistake. I'm reposting it here in case
> anyone has a suggestion. I did take dje's advice, and deleted the build
> directory, except that I preserved config.status and regenerated
> Makefile. The observe
[I sent this to gcc-help by mistake. I'm reposting it here in case
anyone has a suggestion. I did take dje's advice, and deleted the build
directory, except that I preserved config.status and regenerated
Makefile. The observed behavior remains unchanged. TIA.]
https://git.symas.net:443/cobolworx
Oh,
Sorry I've missed that.
Thanks
Guy
On Wed, Mar 16, 2022 at 1:42 AM Guy Benyei via Gcc wrote:
>
> Hello all,
> Compiling for RISC-V, I've ran into an error like this:
>
> tmp.c:15:3: error: 'memcpy' writing 4 bytes into a region of size 0 overflows
> the destination [-Werror=stringop-overflow=]
>15 | memcpy(&str2->c, &str1->c
Hello all,
Compiling for RISC-V, I've ran into an error like this:
tmp.c:15:3: error: 'memcpy' writing 4 bytes into a region of size 0 overflows
the destination [-Werror=stringop-overflow=]
15 | memcpy(&str2->c, &str1->c, sizeof(str2->c));
| ^~