compile with gcc 8
Hello, i am trying to compile master branch using the gcc version 8.1.1 20180502 but it gives all sort of error related to strncpy and other string library functions such as format errors or string truncation issues i was replacing the strncpy with memcpy but i reached a point ... any advice how to compile using that compiler on linux fedora 28 64bits ? thank you!!
We have made no attempt to use fedora, sounds like they cranked up more warnings and the code should be fixed accordingly. Replacing with memcpy wouldn’t be a good fix, fixing why its complaining would be. These issues should be properly corrected and submitted via a pull request. Mike
On Jul 17, 2018, at 6:44 PM, Juan Pablo L <jpablolorenzetti@gmail.com> wrote:
Hello, i am trying to compile master branch using the gcc version 8.1.1 20180502 but it gives all sort of error related to strncpy and other string library functions such as format errors or string truncation issues i was replacing the strncpy with memcpy but i reached a point ... any advice how to compile using that compiler on linux fedora 28 64bits ? thank you!! _________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
participants (2)
-
Juan Pablo L
-
Michael Jerris