Archived issue #0026584

Eliminate compile warnings obtained by building occt with vc14: declaration of local variable hides class member

Open CASCADEOCCT:Codingclosed5 public notes

Search issues

Description

Next warnings appears during occt compilation with vc14:

/src/NCollection/NCollection_CellFilter.hxx(284): warning C4458: declaration of 'myDim' hides class member
/src/NCollection/NCollection_CellFilter.hxx(304): warning C4458: declaration of 'myDim' hides class member
/src/NCollection/NCollection_CellFilter.hxx(314): warning C4458: declaration of 'myDim' hides class member
\src\math\math_GlobOptMin.cxx(270): warning C4458: declaration of 'myTmp' hides class member
\src\math\math_GlobOptMin.cxx(287): warning C4458: declaration of 'myTmp' hides class member

Steps to reproduce

Try to compile occt with vc14 (Visual Studio 2015)

Public activity

5 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 Aug 18 14:47:04 2015 +0300

    0026584: Eliminate compile warnings obtained by building occt with vc14: declaration of local variable hides class member
    
    Eliminated warning "declaration of variable hides class member"
02Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
03Commenter 3
Warnings were fixed on vc14.
04Commenter 4
Reviewed, please integrate
05Commenter 2
Branch [archived branch] has been deleted by Commenter 3.

[revision removed]

Related records