mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2018-05-20, 22:10   #1
Gokuruto
 
May 2018

22 Posts
Default 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));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Gokuruto is offline   Reply With Quote
Old 2018-05-21, 13:47   #2
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

354310 Posts
Default

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.
jasonp is offline   Reply With Quote
Old 2018-05-21, 15:23   #3
VictordeHolland
 
VictordeHolland's Avatar
 
"Victor de Hollander"
Aug 2011
the Netherlands

49816 Posts
Default

Maybe somewhere -Werror is passed? Did you try it with -Wno-error to get past the warnings?
VictordeHolland is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora gedit for bash has become useless EdH Linux 11 2016-05-13 15:36
I'm trying to speedup AES MSIEVE factoring using CUDA build but... loopdemack Msieve 11 2016-01-18 13:44
Fedora ecm installed, but where? jasong GMP-ECM 8 2011-01-03 03:57
Running mprime on fedora jimmychauck Information & Answers 1 2010-06-16 04:42
Fedora tha Software 2 2004-01-13 23:12

All times are UTC. The time now is 18:13.


Sun Oct 17 18:13:45 UTC 2021 up 86 days, 12:42, 1 user, load averages: 1.45, 1.41, 1.37

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.