IntersectionOperator fails to build with GCC 4.7

Bug #999025 reported by Johannes Ring
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DOLFIN
Fix Released
Medium
Johannes Ring

Bug Description

After upgrading to GCC 4.7 I get errors like this when building the 1.0.x branch:

  /home/johannr/dev/fenics/src/dolfin/1.0.x/dolfin/intersection/IntersectionOperator.cpp:242:1: required from here
  /home/johannr/dev/fenics/src/dolfin/1.0.x/dolfin/intersection/Segment_3_Tetrahedron_3_intersection.h:61:12: error: ‘dolfin_error’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

The complete error message can be found here:

  http://paste.ubuntu.com/986782/

Applying the patch from revision 6663 in trunk fixes the problem:

  http://bazaar.launchpad.net/~dolfin-core/dolfin/trunk/revision/6663

Is that an acceptable fix?

Related branches

Revision history for this message
Garth Wells (garth-wells) wrote : Re: [Bug 999025] [NEW] IntersectionOperator fails to build with GCC 4.7

On 14 May 2012 09:35, Johannes Ring <email address hidden> wrote:
> Public bug reported:
>
> After upgrading to GCC 4.7 I get errors like this when building the
> 1.0.x branch:
>
>  /home/johannr/dev/fenics/src/dolfin/1.0.x/dolfin/intersection/IntersectionOperator.cpp:242:1:   required from here
>  /home/johannr/dev/fenics/src/dolfin/1.0.x/dolfin/intersection/Segment_3_Tetrahedron_3_intersection.h:61:12: error: ‘dolfin_error’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
>
> The complete error message can be found here:
>
>  http://paste.ubuntu.com/986782/
>
> Applying the patch from revision 6663 in trunk fixes the problem:
>
>  http://bazaar.launchpad.net/~dolfin-core/dolfin/trunk/revision/6663
>
> Is that an acceptable fix?
>

Yes.

> ** Affects: dolfin
>     Importance: Undecided
>         Status: New
>
> --
> You received this bug notification because you are a member of DOLFIN
> Core Team, which is subscribed to DOLFIN.
> https://bugs.launchpad.net/bugs/999025
>
> Title:
>  IntersectionOperator fails to build with GCC 4.7
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dolfin/+bug/999025/+subscriptions

Johannes Ring (johannr)
Changed in dolfin:
status: New → Fix Committed
assignee: nobody → Johannes Ring (johannr)
importance: Undecided → Medium
Changed in dolfin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.