Bug 984986

Summary: GCC6: ThePEG fails to build
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dominique Leuenberger <dimstar>
Component: OtherAssignee: Atri Bhattacharya <badshah400>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: i
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 984984    

Description Dominique Leuenberger 2016-06-16 08:45:00 UTC
+++ This bug was initially created as a clone of Bug #984984 +++

ThePEG fails to build with gcc6:

[  284s] In file included from FastJetFinder.cc:27:0:
[  284s] ../include/ThePEG/Persistency/PersistentOStream.h:235:29: error: 'isinf' was not declared in this scope
[  284s]      if ( isnan(f) || isinf(f) )
[  284s]                              ^
[  284s] ../include/ThePEG/Persistency/PersistentOStream.h:235:29: note: suggested alternative:
[  284s] In file included from /usr/include/c++/6/complex:44:0,
[  284s]                  from ../include/ThePEG/Config/Complex.h:16,
[  284s]                  from ../include/ThePEG/Config/ThePEG.h:31,
[  284s]                  from ../include/ThePEG/Interface/Interfaced.h:13,
[  284s]                  from ../include/ThePEG/Cuts/JetFinder.h:16,
[  284s]                  from FastJetFinder.h:16,
[  284s]                  from FastJetFinder.cc:15:
[  284s] /usr/include/c++/6/cmath:630:5: note:   'std::isinf'
[  284s]      isinf(_Tp __x)
Comment 1 Marguerite Su 2016-06-24 17:06:15 UTC
*** Bug 985093 has been marked as a duplicate of this bug. ***
Comment 2 Marguerite Su 2016-07-03 07:05:44 UTC
fixed in https://build.opensuse.org/request/show/403539