On 02/09/11 00:37, Johannes Ring wrote:
> I 'fixed' this by adding -fno-strict-aliasing to CXXFLAGS.
> 

When was this problem introduced?

Garth

> Johannes
> 
> On Thu, Sep 1, 2011 at 2:10 PM, Johannes Ring <[email protected]> wrote:
>> Anyone knows how to fix this error?
>>
>> cc1plus: warnings being treated as errors
>> In file included from
>> /home/buildbot/buildbots/main/fenics-src/dolfin/dolfin/intersection/IntersectionOperator.cpp:36:
>> /home/buildbot/buildbots/main/fenics-src/dolfin/dolfin/intersection/IntersectionOperatorImplementation.h:
>> In member function 'int
>> dolfin::IntersectionOperatorImplementation_d<Primitive,
>> Kernel>::any_intersected_entity(const dolfin::Point&) const [with
>> Primitive = dolfin::PointCell, Kernel =
>> CGAL::Simple_cartesian<double>]':
>> /home/buildbot/buildbots/main/fenics-src/dolfin/dolfin/intersection/IntersectionOperatorImplementation.h:208:
>> error: dereferencing pointer 'p' does break strict-aliasing rules
>> /home/buildbot/buildbots/main/fenics-src/dolfin/dolfin/intersection/IntersectionOperatorImplementation.h:208:
>> note: initialized from here
>> [ 35%] Building CXX object 
>> dolfin/CMakeFiles/dolfin.dir/io/XMLLocalMeshSAX.cpp.o
>> make[2]: *** 
>> [dolfin/CMakeFiles/dolfin.dir/intersection/IntersectionOperator.cpp.o]
>> Error 1
>> make[2]: *** Waiting for unfinished jobs....
>> make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2
>> make: *** [all] Error 2
>>
>> Johannes
>>
>> On Thu, Sep 1, 2011 at 12:29 PM,  <[email protected]> wrote:
>>> The Buildbot has detected a new failure of dolfin-maverick-i386 on FEniCS 
>>> Buildbot.
>>> Full details are available at:
>>>  http://fenicsproject.org:8080/builders/dolfin-maverick-i386/builds/610
>>>
>>> Buildbot URL: http://fenicsproject.org:8080/
>>>
>>> Buildslave for this Build: maverick-i386
>>>
>>> Build Reason: The web-page 'force build' button was pressed by 'Johannes': 
>>> Set CMAKE_BUILD_TYPE to Developer (was Develooper).
>>>
>>> Build Source Stamp: HEAD
>>> Blamelist:
>>>
>>> BUILD FAILED: failed dolfin build
>>>
>>> sincerely,
>>>  -The Buildbot
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dolfin
>>> Post to     : [email protected]
>>> Unsubscribe : https://launchpad.net/~dolfin
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp


_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp

Reply via email to