Archived issue #0023013

Fails to build with gcc 4.6.3

CommunityOCCT:Codingclosed4 public notes

Search issues

Description

Trying to build it with gcc 4.6.3, I get this error, that I can bypass using "-fpermissive":

gcc says:
../../../src/BRepClass3d/BRepClass3d_SClassifier.cxx:93:44: error: taking address of temporary [-fpermissive]

Steps to reproduce

build it with gcc 4.6.3

Public activity

4 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Removed unnecessary cast in BRepClass3d_SClassifier::PerformInfinitePoint function

Git branch CR23013 is ready to be reviewed.

Dear Andrey,
Please review.
02Commenter 2
No comments, please test
03Commenter 1
Dear Commenter 2,
     Workbench KAS:dev:apn-23013-occt was created from git branch CR23013
   (and apn-23013-products from svn trunk) and compiled on Linux platform.
   
     There are not regressions in apn-23013-products regarding to KAS:dev:products-20120316-opt
     
     See results in /QADisk/occttests/results/KAS/dev/apn-23013-products_21032012/lin
     See reference results in /QADisk/occttests/results/KAS/dev/products-20120316-opt_17032012/lin
     See test cases in /QADisk/occttests/tests/ED
04Commenter 2
Integrated into master