Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] building on RPi...

Victor Lazzarini <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Message-ID <[email protected]>
Do you want to build Csound 6 or 7?
========================
Prof. Victor Lazzarini
Maynooth University
Ireland

> On 14 Nov 2023, at 12:08, Rory Walsh <[email protected]> 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'm having an issue building on a RPi Zero 2 w. Some warnings are being treated as errors(see below), but I can't seem to disable this behaviour in Cmake even though I have added the following to my Custom.cmake file: 
> 
> set(CMAKE_COMPILE_WARNING_AS_ERROR OFF)
> 
> Anyone have any ideas?
> 
> /home/rory/sourcecode/csound/Engine/fgens.c: In function 'isstrcod':
> /home/rory/sourcecode/csound/Engine/fgens.c:46:9: error: unused variable 'sel' [-Werror=unused-variable]
>    46 |     int sel = (byte_order()+1)&1;
>       |         ^~~
> cc1: all warnings being treated as errors
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.