View Issue Details

IDProjectCategoryView StatusLast Update
0012146Open CASCADEOCCT:Visualizationpublic2012-01-13 16:26
ReporteragvAssigned Toagv 
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSWindows NT 
Fixed in Version6.1.1 
Summary0012146: Package WNT: Compilation problems under Visual Studio 8.0
DescriptionThere is a common problem in WNT package:
   for (int i = 0; ...; ...) {
    ...
   }
   i++;

This code violates standard C++ behaviour: the loop iterator variable goes out
of scope at the closing brace of the for-block. However this was allowed in
Microsoft C++ extensions prior to 8.0. In the last version it is required to
modify the source. The alternative (using /Zc:forScope-) does not appear
justified for OCCT because it would preserve the portability problem.
Additional information
and documentation updates
Documentation remark, added by AGV 2006-04-21 12:25:20:

Improvements:
Improved compatibility with ANSI C++
Modified entities:
package WNT
TagsNo tags attached.
Test case number

Attached Files

  • OCC12146.tar.gz (32,078 bytes)
  • OCC12146_ros.tgz (332,272 bytes)
  • OCC12146_Products.tgz (26,458 bytes)

Activities

2006-04-11 10:45

 

OCC12146.tar.gz (32,078 bytes)

2006-05-26 15:17

 

OCC12146_ros.tgz (332,272 bytes)

2006-05-29 09:25

 

OCC12146_Products.tgz (26,458 bytes)

Issue History

Date Modified Username Field Change
2006-04-19 16:54 bugmaster Assigned To bugmaster => agv
2006-04-19 16:54 bugmaster Status new => assigned
2006-04-21 14:25 agv Status assigned => resolved
2006-09-06 09:28 bugmaster Status resolved => verified
2007-01-12 13:47 bugmaster Status verified => closed
2007-01-12 13:47 bugmaster Resolution @0@ => fixed
2011-08-02 11:24 bugmaster Category OCCT:VIZ => OCCT:Visualization
2012-01-13 16:26 atp Description Updated
2012-01-13 16:26 atp Additional Information Updated