I believe it is due to a change in the C standard library. The warning means
that the new version of the function may truncate the string. This triggers a
warning. The linphone build system treats warnings as errors. I tried setting
"enable_strict" to no but it didn't help. cmake said it was an unused option.
I have my doubts that the developers monitor this list.
Rob D
On Sunday, July 29, 2018 12:31:34 PM PDT Bernd Kuhls wrote:
Am Sun, 17 Jun 2018 14:22:29 -0700 schrieb Robert Dyck:
Dear developers, FYI
Source is from git as June 17.
[ 29%] Building C object src/CMakeFiles/mediastreamer_voip.dir/
audiofilters/
tonedetector.c.o
*/home/rdyck/Downloads/linphone-desktop/submodules/mediastreamer2/src/
audiofilters/tonedetector.c:* In function ‘*detector_process*’:
*/home/rdyck/Downloads/linphone-desktop/submodules/mediastreamer2/src/
audiofilters/tonedetector.c:176:8:* *error: *‘*strncpy*’ specified
bound 8 equals
destination size [*-Werror=stringop-trunca*
]
*strncpy(event.tone_name,tone_def->tone_name,sizeof(event.tone_name))*;
Hi,
same here while building linphone-desktop for linux with git master HEAD
after updating Debian testing to gcc8.
Regards, Bernd
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hiddenhttps://lists.nongnu.org/mailman/listinfo/linphone-developers