[Bug 246720] math/saga: fix build on GCC architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 25 11:19:23 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246720

            Bug ID: 246720
           Summary: math/saga: fix build on GCC architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: pkubaj at FreeBSD.org
                CC: rhurlin at gwdg.de
                CC: rhurlin at gwdg.de
             Flags: maintainer-feedback?(rhurlin at gwdg.de)

Created attachment 214841
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=214841&action=edit
patch

Returning NULL as bool is not ok.
--- globe_gores.lo ---
globe_gores.cpp: In member function 'bool CGlobe_Gores::Add_Gore(int, int)':
globe_gores.cpp:210:16: error: converting to 'bool' from 'std::nullptr_t'
requires direct-initialization [-fpermissive]
  210 |   return( NULL );

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list