Csound Csound-dev Csound-tekno Search About

[Csnd-dev] Failures on 32bit i386

Date2022-11-05 18:15
FromJohn ffitch
Subject[Csnd-dev] Failures on 32bit i386
I am lost.  I pulled om yjr i386 \and it failed to compile with

home/jpff/csound6/Engine/csound_orc_semantics.c: In function ‘convert_internal_to_external’:
/home/jpff/csound6/Engine/csound_orc_semantics.c:1126:5: error: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
 1126 |     strncpy(current, arg, len);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jpff/csound6/Engine/csound_orc_semantics.c:1115:22: note: length computed here
 1115 |   int nameLen, len = strlen(arg);
      |                      ^~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [CMakeFiles/csound-static.dir/build.make:3225: CMakeFiles/csound-static.dir/Engine/csound_orc_semantics.c.o] Error 1
make[2]: Leaving directory '/home/jpff/csound6'
make[1]: *** [CMakeFiles/Makefile2:524: CMakeFiles/csound-static.dir/all] Error 2
make[1]: Leaving directory '/home/jpff/csound6'
make: *** [Makefile:185: all] Error 2

But this is not the code I sww in csound_orc_semantics.c

What am I missing?

I must be very tired...
==John ffitch

Date2022-11-06 10:52
FromVictor Lazzarini
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] Failures on 32bit i386
which branch is this?
========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 5 Nov 2022, at 18:15, John ffitch  wrote:
> 
> *Warning*
> 
> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> 
> I am lost.  I pulled om yjr i386 \and it failed to compile with
> 
> home/jpff/csound6/Engine/csound_orc_semantics.c: In function ‘convert_internal_to_external’:
> /home/jpff/csound6/Engine/csound_orc_semantics.c:1126:5: error: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
> 1126 |     strncpy(current, arg, len);
>      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /home/jpff/csound6/Engine/csound_orc_semantics.c:1115:22: note: length computed here
> 1115 |   int nameLen, len = strlen(arg);
>      |                      ^~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[2]: *** [CMakeFiles/csound-static.dir/build.make:3225: CMakeFiles/csound-static.dir/Engine/csound_orc_semantics.c.o] Error 1
> make[2]: Leaving directory '/home/jpff/csound6'
> make[1]: *** [CMakeFiles/Makefile2:524: CMakeFiles/csound-static.dir/all] Error 2
> make[1]: Leaving directory '/home/jpff/csound6'
> make: *** [Makefile:185: all] Error 2
> 
> But this is not the code I sww in csound_orc_semantics.c
> 
> What am I missing?
> 
> I must be very tired...
> ==John ffitch


Date2022-11-06 13:09
FromJohn ff
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] Failures on 32bit i386
I think that is part of the problem.  O thought it was cs6
But might be develop
agaona
I will look after Athlone
On 6 Nov 2022, at 10:53, Victor Lazzarini <victor.lazzarini@mu.ie> wrote:
which branch is this?
========================
Prof. Victor Lazzarini
Maynooth University
Ireland

On 5 Nov 2022, at 18:15, John ffitch <jpff@codemist.co.uk> wrote:

*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

I am lost. I pulled om yjr i386 \and it failed to compile with

home/jpff/csound6/Engine/csound_orc_semantics.c: In function ‘convert_internal_to_external’:
/home/jpff/csound6/Engine/csound_orc_semantics.c:1126:5: error: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
1126 | strncpy(current, arg, len);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jpff/csound6/Engine/csound_orc_semantics.c:1115:22: note: length computed here
1115 | int nameLen, len = strlen(arg);
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [CMakeFiles/csound-static.dir/build.make:3225: CMakeFiles/csound-static.dir/Engine/csound_orc_semantics.c.o] Error 1
make[2]: Leaving directory '/home/jpff/csound6'
make[1]: *** [CMakeFiles/Makefile2:524: CMakeFiles/csound-static.dir/all] Error 2
make[1]: Leaving directory '/home/jpff/csound6'
make: *** [Makefile:185: all] Error 2

But this is not the code I sww in csound_orc_semantics.c

What am I missing?

I must be very tired...
==John ffitch