Ticket #4: ThePEG_gcc6_failed.patch
File ThePEG_gcc6_failed.patch, 1.0 KB (added by , 8 years ago) |
---|
-
Config/std.h
From: Michel Normand <normand@linux.vnet.ibm.com> Subject: ThePEG gcc6 failed Date: Thu, 16 Jun 2016 10:58:11 +0200 to avoid compilation error with gcc6 now default compiler for TW === [ 355s] In file included from FastJetFinder.cc:27:0: [ 355s] ../include/ThePEG/Persistency/PersistentOStream.h: In member function 'ThePEG::PersistentOStream& ThePEG::PersistentOStream::operator<<(double)': [ 355s] ../include/ThePEG/Persistency/PersistentOStream.h:222:17: error: 'isnan' was not declared in this scope [ 355s] if ( isnan(d) || isinf(d) ) === Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com> --- Config/std.h | 2 ++ 1 file changed, 2 insertions(+)
old new using std::mem_fun; 106 106 using std::sqrt; 107 107 //using std::pow; 108 108 using std::atan2; 109 using std::isnan; 110 using std::isinf; 109 111 110 112 /** Powers - standard or non-standard */ 111 113 template <class ExponentT>