linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Compile failure


From: Bernd Kuhls
Subject: Re: [Linphone-developers] Compile failure
Date: Wed, 01 Aug 2018 00:21:05 +0200
User-agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]