https://bugs.kde.org/show_bug.cgi?id=400267

            Bug ID: 400267
           Summary: Building Calligra Words 3.1.0 on musl:
                    ustring.cpp:69:18: error: '_isnan' was not declared in
                    this scope
           Product: calligrawords
           Version: 3.1.0
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: filters
          Assignee: calligra-words-bugs-n...@kde.org
          Reporter: awil...@adelielinux.org
  Target Milestone: ---

SUMMARY
Attemping to build Calligra Words 3.1.0 on Linux using musl libc on PowerPC.


STEPS TO REPRODUCE
1. Download calligra-3.1.0.tar.xz
2. Run CMake
3. Run make / ninja


OBSERVED RESULT
/usr/src/packages/user/calligra/src/calligra-3.1.0/filters/words/msword-odf/wv2/src/ustring.cpp:
In function ‘bool wvWare::isNaN(double)’:
/usr/src/packages/user/calligra/src/calligra-3.1.0/filters/words/msword-odf/wv2/src/ustring.cpp:69:18:
error: ‘_isnan’ was not declared in this scope
   return _isnan(d) != 0;
                  ^


EXPECTED RESULT
Successful compilation


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.12.6
KDE Frameworks Version: 5.51.0
Qt Version: 5.9.6


ADDITIONAL INFORMATION
musl does not implement isinf/isnan as linkable functions; they are
preprocessor macros.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to