Bug 1306648

Summary: bionetgen-2.2.5-8.fc24 FTBFS: 'int isnan(double)' conflicts with a previous declaration
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: bionetgenAssignee: Zbigniew Jędrzejewski-Szmek <zbyszek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koji.fedoraproject.org/koji/buildinfo?buildID=716699
Whiteboard:
Fixed In Version: bionetgen-2.2.6-1.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-11 21:18:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Petr Pisar 2016-02-11 14:07:12 UTC
bionetgen-2.2.5-8.fc24 fails to build in F24:

g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I../muparser_v2_2_3/include -I../cvode-2.6.0/include   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c -o run_network-network.o `test -f 'network.cpp' || echo './'`network.cpp
[...]
In file included from network.cpp:52:0:
network.h:42:28: error: 'int isnan(double)' conflicts with a previous declaration
 extern "C" int isnan(double);
                            ^

This seems to be triggered by GCC 6.