[Bug 212696] devel/avr-gcc: Fix build with libc++ 3.9.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 14 21:11:49 UTC 2016


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

            Bug ID: 212696
           Summary: devel/avr-gcc: Fix build with libc++ 3.9.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: joerg at FreeBSD.org
          Reporter: dim at FreeBSD.org
          Assignee: joerg at FreeBSD.org
             Flags: maintainer-feedback?(joerg at FreeBSD.org)

Created attachment 174791
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=174791&action=edit
Include <new> in gcc/system.h

During the exp-run for bug 212343, devel/avr-gcc encounters a similar problem
as with bug 212465 for lang/gcc49, namely:

In file included from ../.././gcc/c/c-objc-common.c:33:
In file included from /usr/include/c++/v1/new:70:
/usr/include/c++/v1/exception:267:5: error: no member named 'fancy_abort' in
namespace 'std::__1'; did you mean simply 'fancy_abort'?
    _VSTD::abort();
    ^~~~~~~

This is because gcc's system.h redefines abort to fancy_abort, and then
includes a number of C++ standard headers.  I propose to fix this with the same
patch as I submitted for bug 212465.

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


More information about the freebsd-ports-bugs mailing list