forknote / dashcoin

Dashcoin with hardcoded values
GNU Lesser General Public License v3.0
19 stars 31 forks source link

Build errors #4

Open cheskos opened 7 years ago

cheskos commented 7 years ago

Hi. I'm getting this as soon as I start to build

[ 1%] Building C object external/miniupnpc/CMakeFiles/upnpc-static.dir/upnpc.c.o /myPath/dashcoin/external/miniupnpc/upnpc.c: In function 'main': /myPath/dashcoin/external/miniupnpc/upnpc.c:130:23: error: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Werror=format-truncation=] snprintf(index, 6, "%d", i); ^~ /myPath/dashcoin/external/miniupnpc/upnpc.c:130:22: note: directive argument in the range [0, 2147483647] snprintf(index, 6, "%d", i); ^~~~ /myPath/dashcoin/external/miniupnpc/upnpc.c:130:3: note: 'snprintf' output between 2 and 11 bytes into a destination of size 6 snprintf(index, 6, "%d", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [external/miniupnpc/CMakeFiles/upnpc-static.dir/build.make:183: external/miniupnpc/CMakeFiles/upnpc-static.dir/upnpc.c.o] Error 1 make[3]: Leaving directory '/myPath/dashcoin/build/release' make[2]: *** [CMakeFiles/Makefile2:177: external/miniupnpc/CMakeFiles/upnpc-static.dir/all] Error 2 make[2]: Leaving directory '/myPath/dashcoin/build/release' make[1]: *** [Makefile:95: all] Error 2 make[1]: Leaving directory '/myPath/dashcoin/build/release' make: *** [Makefile:20: build-release] Error 2

I only downloaded boost and gave it a try. Am I missing something? Thanks

Freccia commented 6 years ago

Same error here. Issue from Jul 2017, not yet fixed nor any support provided. This crypto is a joke. As for Bytecoin.