[kmymoney] [Bug 401448] Windows build is broken - '_isinf': identifier not found
    Ralf Habacker 
    bugzilla_noreply at kde.org
       
    Tue Nov 27 07:21:26 GMT 2018
    
    
  
https://bugs.kde.org/show_bug.cgi?id=401448
Ralf Habacker <ralf.habacker at freenet.de> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ralf.habacker at freenet.de
--- Comment #1 from Ralf Habacker <ralf.habacker at freenet.de> ---
https://www.christophlassner.de/collection-of-msvc-gcc-compatibility-tricks.html
mentiones the following code to provide std compatible functions for msvc <
2017.
#if defined(_MSC_VER)
#if _MSC_VER < 1800
namespace std {
  template <typename T>
  bool isnan(const T &x) { return _isnan(x); }
  template <typename T>
  bool isinf(const T &x) { return !_finite(x); }
}
#endif
#endif
Beside the option to fix this in kmymoney directly, there is also the option to
add this to the KDE windows supplemental library (kdewin), which is also used
by kmymoney.
-- 
You are receiving this mail because:
You are the assignee for the bug.
    
    
More information about the KMyMoney-devel
mailing list