mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Msieve (https://www.mersenneforum.org/forumdisplay.php?f=83)
-   -   Can't Build Msieve on fedora (https://www.mersenneforum.org/showthread.php?t=23355)

Gokuruto 2018-05-20 22:10

Can't Build Msieve on fedora
 
Hi,
I have a problem with building Msieve on fedora.
I have downloaded sources and then tried to build then with "make all"
but i get this piece of warning and it doesn't build.
[QUOTE]demo.c: In function ‘main’:
demo.c:448:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
flags |= MSIEVE_FLAG_NFS_LA_RESTART;
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
demo.c:449:6: note: here
case '2': /* fall through */
^~~~
demo.c:545:5: warning: ‘strncpy’ specified bound 500 equals destination size [-Wstringop-truncation]
strncpy(buf, argv[i], sizeof(buf));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[/QUOTE]

jasonp 2018-05-21 13:47

Does latter-day gcc treat warnings as errors? There would have to be something else going on, as these would not be fatal under ordinary circumstances.

VictordeHolland 2018-05-21 15:23

Maybe somewhere [I]-Werror[/I] is passed? Did you try it with [I]-Wno-error[/I] to get past the warnings?


All times are UTC. The time now is 01:55.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.