Archived issue #0026584
Eliminate compile warnings obtained by building occt with vc14: declaration of local variable hides class member
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
/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.
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"
[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"
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Warnings were fixed on vc14.
Reviewed, please integrate
Branch [archived branch] has been deleted by Commenter 3.
[revision removed]
[revision removed]
Related records