DGA-MI-SSI / YaCo

YaCo is an Hex-Rays IDA plugin. When enabled, multiple users can work simultaneously on the same binary. Any modification done by any user is synchronized through git version control.
GNU General Public License v3.0
313 stars 36 forks source link

Build fails on Fedora #42

Closed jamiehush closed 6 years ago

jamiehush commented 6 years ago

With up-to-date Fedora (gcc-8.1.1) fails to build with following error:

[ 94%] Building CXX object CMakeFiles/yadifflib.dir/build/YaCo/YaDiff/YaDiffLib/Matching.cpp.o
In function ‘yadiff::BinaryInfo_t::BinaryInfo_t(const IModel&, const yadiff::AlgoCfg&)::<lambda(const HVersion&)>::<lambda(const const_string_ref&, const const_string_ref&)>’,
    inlined from ‘static _Res std::_Function_handler<_Res(_ArgTypes ...), _Functor>::_M_invoke(const std::_Any_data&, _ArgTypes&& ...) [with _Res = ContinueWalking_e; _Functor = yadiff::BinaryInfo_t::BinaryInfo_t(const IModel&, const yadiff::AlgoCfg&)::<lambda(const HVersion&)>::<lambda(const const_string_ref&, const const_string_ref&)>; _ArgTypes = {const const_string_ref&, const const_string_ref&}]’ at /usr/include/c++/8/bits/std_function.h:282:44:
/build/YaCo/YaDiff/YaDiffLib/Algo/VectorSign/VectorTypes.cpp:171:20: error: ‘char* strncpy(char*, const char*, size_t)’ specified bound 256 equals destination size [-Werror=stringop-truncation]
             strncpy(format, val.value, FORMAT_MAX_SIZE);
             ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bamiaux commented 6 years ago

@jamiehush Please check it's fixed for you and I'll close this issue