[Bug 208845] graphics/inventor: Fix build with libc++ 3.8.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 16 21:28:24 UTC 2016


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

            Bug ID: 208845
           Summary: graphics/inventor: Fix build with libc++ 3.8.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: dim at FreeBSD.org
                CC: c47g at gmx.at
                CC: c47g at gmx.at
             Flags: maintainer-feedback?(c47g at gmx.at)

Created attachment 169382
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=169382&action=edit
Rename abs functions to avoid conflicts in graphics/inventor

During the exp-run in bug 208158, it was found that graphics/inventor gives
errors with libc++ 3.8.0 [1]:

In file included from nurbsClient.c++:64:
./softsurfeval.c++:53:13: error: 'abs' is missing exception specification
'throw()'
inline REAL abs( REAL x ) { return (x < 0.0) ? -x : x; }
            ^
                          throw()

This is because inventor attempts to define its own incompatible version of
abs().  Fix it by renaming the inventor-internal version to absr().

[1]
http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-03-22_18h30m05s/logs/errors/inventor-2.1.5.p10_12.log

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


More information about the freebsd-ports-bugs mailing list