Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2016 21:28:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 208845] graphics/inventor: Fix build with libc++ 3.8.0
Message-ID:  <bug-208845-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208845

            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@FreeBSD.org
          Reporter: dim@FreeBSD.org
                CC: c47g@gmx.at
                CC: c47g@gmx.at
             Flags: maintainer-feedback?(c47g@gmx.at)

Created attachment 169382
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D169382&action=
=3Dedit
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208845-13>