Board index FlightGear Support Compiling

[SOLVED] isnan problem while compiling simgear

Building FlightGear from source, and in the need for help?

Re: isnan problem while compiling simgear

Postby mifi » Wed Nov 02, 2016 1:33 pm

Errhhmm, I just noticed a push by jmturner:

jmturner pushed a change to branch next
in repository simgear.

from e3a4144 Switch to SGMisc::isNaN
new e4cddb1 Drastically simplify compiler.h
new b44c70b Simplify isnan detection with C++11 library.


and some of the isnan problems have re-appeared.

Code (): Select all
/home/mifi/Software/Sources/fgfs53/next/install/simgear/include/simgear/math/SGMisc.hxx: In static member function ‘static bool SGMisc<T>::isNaN(const T&)’:
/home/mifi/Software/Sources/fgfs53/next/install/simgear/include/simgear/math/SGMisc.hxx:156:12: error: ‘isnan’ is not a member of ‘std’
return std::isnan(v);


Am I missing something?
Regards
Michiel
mifi
 
Posts: 310
Joined: Mon Jul 23, 2007 3:24 pm
Location: NL
Version: git next
OS: Ubuntu 16.04.x Gnome

Re: isnan problem while compiling simgear

Postby rominet » Wed Nov 02, 2016 2:54 pm

There are many build fixes these days, so it is necessary to tell which SG and FG commit IDs you are trying to compile. Moreover, it would be more convenient if you posted directly on flightgear-devel, where this kind of feedback really belongs.

Thanks. :wink:
rominet
 
Posts: 548
Joined: Sat Nov 01, 2014 1:33 pm
Callsign: F-KATS
Version: Git next
OS: Debian GNU/Linux

Re: [SOLVED] isnan problem while compiling simgear

Postby mifi » Wed Nov 02, 2016 3:00 pm

It is fixed.
I am not a real developer, rominet, so I did not subscribe to the developers mailing list under the assumption that it is reserved for people that actually change code. I am perfectly willing to help test things, but I do not have enough familiarity with the code to be able to stick my nose into anything that others can do better.
Having said that, I do like to help from time to time. Hmmm, perhaps I should enlist.
EDIT: done.
m
mifi
 
Posts: 310
Joined: Mon Jul 23, 2007 3:24 pm
Location: NL
Version: git next
OS: Ubuntu 16.04.x Gnome

Re: [SOLVED] isnan problem while compiling simgear

Postby rominet » Wed Nov 02, 2016 3:06 pm

It is not reserved to developers. It can be useful for you to follow what is happening and possibly participate in some of the discussions. Additionally, posting detailed reports as you did above about failed builds, assuming your repositories are up-to-date, is definitely helpful.
rominet
 
Posts: 548
Joined: Sat Nov 01, 2014 1:33 pm
Callsign: F-KATS
Version: Git next
OS: Debian GNU/Linux

Re: [SOLVED] isnan problem while compiling simgear

Postby mifi » Wed Nov 02, 2016 3:08 pm

rominet wrote in Wed Nov 02, 2016 3:06 pm:It is not reserved to developers. It can be useful for you to follow what is happening and possibly participate in some of the discussions. Additionally, posting detailed reports as you did above about failed builds, assuming your repositories are up-to-date, is definitely helpful.


Done. Thanks.
Regards
m
mifi
 
Posts: 310
Joined: Mon Jul 23, 2007 3:24 pm
Location: NL
Version: git next
OS: Ubuntu 16.04.x Gnome

Previous

Return to Compiling

Who is online

Users browsing this forum: No registered users and 1 guest