Archived issue #0027435

Compilation error on Linux platfrom in Debug mode with enabled OCCT_DEBUG definition

Open CASCADEOCCT:Codingclosed3 public notes

Search issues

Description

Compilation error appears during compilation on Linux platfrom in Debug mode with enabled OCCT_DEBUG definition:

../src/MAT2d/MAT2d_Tool2d.cxx: In member function 'void MAT2d_Tool2d::Dump(Standard_Integer, Standard_Integer) const':
../src/MAT2d/MAT2d_Tool2d.cxx:1081:62: error: passing 'const opencascade::handle<Geom2d_TrimmedCurve>' as 'this' argument of 'opencascade::handle<T>::operator opencascade::handle<T2>&() [with T2 = Geom2d_Curve; <template-parameter-2-2> = void; T = Geom2d_TrimmedCurve]' discards qualifiers [-fpermissive]

Steps to reproduce

Try to build occt on Linux platform in Debug mode with enabled OCCT_DEBUG definition (switch BUILD_WITH_DEBUG CMake variable to ON)

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Tue Apr 26 16:02:32 2016 +0300

    0027435: Compilation error on Linux platfrom in Debug mode with enabled OCCT_DEBUG definition
    
    Error was fixed.
02Commenter 2
Dear kgv,

please review.
03Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]