Menu

#113 Flightgear fails to compile with -std=c++11

None
closed
nobody
None
1
2017-02-28
2014-09-21
No

I get "call of overloaded ‘to_string(double)’ is ambiguous" error when compiling with -std=c++11 on Kubuntu 14.04.1, using Flightgear from GIT release/3.2.0 at 2014-09-21.

C++ 11 has to_string() also:
http://en.cppreference.com/w/cpp/string/basic_string/to_string

Here's original bug report for Flightgear:
https://code.google.com/p/flightgear-bugs/issues/detail?id=1551

Discussion

  • Bertrand Coconnier

    This should now be fixed in CVS.
    Could you please check and let us know if the problem is fixed on your side as well ?

    FYI the fix has been ported to FlightGear.

     
  • Vincas Dargis

    Vincas Dargis - 2015-02-15

    Yes, Flightgear from next branch compiles fine now (with exception of std::auto_ptr deprecation warning).

    Thank you!

     
  • Bertrand Coconnier

    • status: open --> closed
    • Group: -->
     

Log in to post a comment.