Open gucio321 opened 3 years ago
snprintf
should not be used, the D2Lib version of snprintf should be used instead.
Yeah, but what does this error mean? What should I do to fix it?
Same error in FreeBSD: clang 10.0.1 and g++ 10.2.0
Same missing cstdio in Slackware using gcc 10.3.0
When I added cstdio to /Modcode/Common/DataTables.cpp and remake I get the error
snprintf should not be used, the D2Lib version of snprintf should be used instead.
@eezstreet so what should I do? should I change the code in order to run it? Or I'm doing something wrong?
Are we missing a library flag or need to specify a different library file to use the right function call?
@gucio321 did you find a solution?
@kermitdafrog8 not yet
Hi there, I've tried to build OpenD2 project on my Fedora, and reached this:
-- Check for working C compiler: /usr/bin/cc
cc (GCC) 10.2.1 20201125 (Red Hat 10.2.1-9)
-- Check for working CXX compiler: /usr/bin/c++
c++ (GCC) 10.2.1 20201125 (Red Hat 10.2.1-9)
I've tried to include
cstdio
library, but had another errors.