[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] Compile failure
From: |
Robert Dyck |
Subject: |
Re: [Linphone-developers] Compile failure |
Date: |
Tue, 31 Jul 2018 18:09:41 -0700 |
Yes, that was the workaround I used back in June when I reported the problem.
Using -DENABLE_STRICT=NO with ./prepare.py didn't work. cmake said it was not
used by the project.
Every month or so I update from git to see if linphone will compile cleanly.
In the meantime my favorite softphone is the decades old Twinkle. Are there
any distros that have a recent version of Linphone?
On Tuesday, July 31, 2018 3:21:05 PM PDT Bernd Kuhls wrote:
> Am Sun, 29 Jul 2018 13:51:44 -0700 schrieb Nick Briggs:
> > GCC 8 introduced the -Wstringop-truncation because failure to NUL
> > terminate strings as a result of a "strncpy(dest, src, sizeof(dest))"
> > often leads to later code wandering off the end of the unterminated
> > destination string. strncpy()'s definition and behavior hasn't changed.
>
> Hi,
>
> one way to fix the problem is to disable the CMake option ENABLE_STRICT
> in these submodules:
>
> submodules/belle-sip
> submodules/linphone
> submodules/mediastreamer2
>
> by patching each CMakeLists.txt like this:
>
> -option(ENABLE_STRICT "Build with strict compile options." YES)
> +option(ENABLE_STRICT "Build with strict compile options." NO)
>
> Regards, Bernd
>
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-developers