View Issue Details

IDProjectCategoryView StatusLast Update
0032950Open CASCADEOCCT:Codingpublic2022-04-26 18:14
Reportersmoskvin Assigned Toddzama  
PrioritynormalSeverityminor 
Status newResolutionopen 
Product Version7.7.0 
Target Version7.7.0 
Summary0032950: Problem compile CSharp sample on Windows with VC12, VC14, VC142
Description1>e:\install\CR0-WEEK-16_CR0-WEEK-16\Windows-64-VC12-opt\OCCT\inc\NCollection_StlIterator.hxx(34): error C2873: 'iterator_category' : symbol cannot be used in a using-declaration
1> e:\install\CR0-WEEK-16_CR0-WEEK-16\Windows-64-VC12-opt\OCCT\inc\NCollection_StlIterator.hxx(220) : see reference to class template instantiation 'NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>' being compiled

1>e:\install\CR0-WEEK-16_CR0-WEEK-16\Windows-64-VC12-opt\OCCT\inc\NCollection_StlIterator.hxx(34): error C2143: syntax error : missing ';' before '='

1>e:\install\CR0-WEEK-16_CR0-WEEK-16\Windows-64-VC12-opt\OCCT\inc\NCollection_StlIterator.hxx(34): error C2238: unexpected token(s) preceding ';'

1>e:\install\CR0-WEEK-16_CR0-WEEK-16\Windows-64-VC12-opt\OCCT\inc\NCollection_StlIterator.hxx(35): error C2873: 'value_type' : symbol cannot be used in a using-declaration

1>e:\install\CR0-WEEK-16_CR0-WEEK-16\Windows-64-VC12-opt\OCCT\inc\NCollection_StlIterator.hxx(35): error C2143: syntax error : missing ';' before '='

1>e:\install\CR0-WEEK-16_CR0-WEEK-16\Windows-64-VC12-opt\OCCT\inc\NCollection_StlIterator.hxx(35): error C2238: unexpected token(s) preceding ';'

1>e:\install\CR0-WEEK-16_CR0-WEEK-16\Windows-64-VC12-opt\OCCT\inc\NCollection_StlIterator.hxx(36): error C2873: 'difference_type' : symbol cannot be used in a using-declaration

1>e:\install\CR0-WEEK-16_CR0-WEEK-16\Windows-64-VC12-opt\OCCT\inc\NCollection_StlIterator.hxx(36): error C2143: syntax error : missing ';' before '='

1>e:\install\CR0-WEEK-16_CR0-WEEK-16\Windows-64-VC12-opt\OCCT\inc\NCollection_StlIterator.hxx(36): error C2238: unexpected token(s) preceding ';'

1>e:\install\CR0-WEEK-16_CR0-WEEK-16\Windows-64-VC12-opt\OCCT\inc\NCollection_StlIterator.hxx(37): error C2873: 'pointer' : symbol cannot be used in a using-declaration

1>e:\install\CR0-WEEK-16_CR0-WEEK-16\Windows-64-VC12-opt\OCCT\inc\NCollection_StlIterator.hxx(37): error C2143: syntax error : missing ';' before '='

1>e:\install\CR0-WEEK-16_CR0-WEEK-16\Windows-64-VC12-opt\OCCT\inc\NCollection_StlIterator.hxx(37): error C2238: unexpected token(s) preceding ';'

1>e:\install\CR0-WEEK-16_CR0-WEEK-16\Windows-64-VC12-opt\OCCT\inc\NCollection_StlIterator.hxx(38): error C2873: 'reference' : symbol cannot be used in a using-declaration

1>e:\install\CR0-WEEK-16_CR0-WEEK-16\Windows-64-VC12-opt\OCCT\inc\NCollection_StlIterator.hxx(38): error C2143: syntax error : missing ';' before '='

1>e:\install\CR0-WEEK-16_CR0-WEEK-16\Windows-64-VC12-opt\OCCT\inc\NCollection_StlIterator.hxx(38): error C2238: unexpected token(s) preceding ';'
TagsNo tags attached.
Test case number

Relationships

child of 0032906 verifiedddzama Coding Rules - get rid of std::iterator inheritance (deprecated since C++17) 

Activities

ddzama

2022-04-26 14:38

developer   ~0108187

@smoskvin, no any error occures on branch CR32887 using MSVC 142.

kgv

2022-04-26 18:14

developer   ~0108195

@ddzama please switch the bug to appropriate state and assign to appropriate person if you expect some feedback.

Issue History

Date Modified Username Field Change
2022-04-23 12:40 smoskvin New Issue
2022-04-23 12:40 smoskvin Assigned To => ddzama
2022-04-23 19:44 kgv Relationship added child of 0032906
2022-04-26 14:38 ddzama Note Added: 0108187
2022-04-26 18:14 kgv Note Added: 0108195
2022-04-26 18:14 kgv Product Version => 7.7.0