For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

[Patch] OCCT 6.5.2 Fix build failures with g++ 4.6

Denis Barbier's picture


Here is a patch to fix build failures with recent g++:
src/BRepClass3d/BRepClass3d_SClassifier.cxx: In member function ‘void BRepClass3d_SClassifier::PerformInfinitePoint(BRepClass3d_SolidExplorer&, Standard_Real)’:
src/BRepClass3d/BRepClass3d_SClassifier.cxx:93:44: error: taking address of temporary [-fpermissive]

Forum supervisor's picture

Dear Denis,
In order to take advantage of the proposed patch, we are bound to sign the CLA Agreement with you.
So, we suggest you to register at the contribution portal -
and consider a possibility to sign the CLA according the procedure published on that site.