You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 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
The text was updated successfully, but these errors were encountered:
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? ThanksThe text was updated successfully, but these errors were encountered: