MantisBT - Community
View Issue Details
0022685Community[OCCT] OCCT:Application Frameworkpublic2011-07-25 13:022012-03-29 17:26
atp 
bugmaster 
normaltrivial 
closedfixed 
All
 
[OCCT] 6.5.3[OCCT] 6.5.3 
Test case is not required
0022685: Missing parentheses around trigraph operator
A thorough review of compiler warnings emitted when building OpenCascade
exhibits bugs in the following files:
ros/src/Aspect/Aspect_MarkMapEntry.cxx
ros/src/Aspect/Aspect_TypeMapEntry.cxx
ros/src/Aspect/Aspect_WidthMapEntry.cxx
ros/src/TDataStd/TDataStd_ExtStringArray.cxx
ros/src/TDataStd/TDataStd_IntPackedMap.cxx
ros/src/TDataStd/TDataStd_IntegerArray.cxx
ros/src/TDataStd/TDataStd_RealArray.cxx

A patch is attached, all fixes are similar to this one:
--- a/src/TDataStd/TDataStd_RealArray.cxx
+++ b/src/TDataStd/TDataStd_RealArray.cxx
@@ -242,7 +242,7 @@ Standard_OStream& TDataStd_RealArray::Dump
(Standard_OStream& anOS) const
for(i = lower; i<=upper; i++)
anOS << " " <<myValue->Value(i);
}
- anOS << " Delta is " << myIsDelta ? "ON":"OFF";
+ anOS << " Delta is " << (myIsDelta ? "ON":"OFF");
anOS << endl;
return anOS;
}
Reproducing is not required.
No tags attached.
patch missing-parentheses-around-trigraph.patch (4,795) 2011-07-25 11:02
https://tracker.dev.opencascade.org/
Issue History
2011-08-02 10:32bugmasterCategoryOCCT:OCAF => OCCT:Application Framework
2011-09-21 13:49szyFixed in VersionEMPTY =>
2011-09-21 13:49szyTarget Version => 6.5.3
2011-09-21 13:49szyDescription Updatedbug_revision_view_page.php?rev_id=614#r614
2011-09-21 13:49szySteps to Reproduce Updatedbug_revision_view_page.php?rev_id=616#r616
2011-09-21 13:50szyAssigned Tobugmaster => szy
2011-09-21 13:50szyStatusacknowledged => assigned
2011-09-21 13:52szyNote Added: 0018244
2011-09-21 13:52szyStatusassigned => resolved
2011-10-21 16:40szyResolutionsuspended => fixed
2011-10-21 16:49szyNote Added: 0018386
2011-10-21 16:49szyAssigned Toszy => vro
2011-10-21 16:49szyStatusresolved => assigned
2011-11-03 15:33vroStatusassigned => reviewed
2011-11-14 14:42apnNote Added: 0018533
2011-11-14 14:43apnNote Edited: 0018533bug_revision_view_page.php?bugnote_id=18533#r800
2011-11-14 14:44apnTest case number => Test case is not required
2011-11-14 14:44apnStatusreviewed => tested
2011-11-18 14:25bugmasterNote Added: 0018583
2011-11-18 14:25bugmasterStatustested => verified
2011-11-21 11:49szyNote Edited: 0018533bug_revision_view_page.php?bugnote_id=18533#r838
2011-11-22 11:24szyNote Edited: 0018533bug_revision_view_page.php?bugnote_id=18533#r862
2012-03-29 17:26bugmasterChangeset attached => occt master eb901da6

Notes
(0018244)
szy   
2011-09-21 13:52   
Branch 22685 is created.
Problem is fixed.
(0018386)
szy   
2011-10-21 16:49   
Vlad,
Could you make reviewing of the Branch 22685.
Sergey
(0018533)
apn   
2011-11-14 14:42   
(edited on: 2011-11-22 11:24)
Dear BugMaster,
   Workbench apn-OCC22685-occt was created from SVN branch http://svn/svn/occt/branches/22685 [^] [^]
  (and apn-OCC22685-products from trunk) and compiled on Linux platform.
   
   There are not regressions in apn-OCC22685-products regarding to KAS:dev:products-652-opt.
   
   See results in /QADisk/occttests/results/KAS/dev/apn-OCC22685-products_11112011/lin
   See reference results in /QADisk/occttests/results/KAS/dev/products-652-opt_23092011/lin
   See test cases in /QADisk/occttests/tests/ED

(0018583)
bugmaster   
2011-11-18 14:25   
Fix has been integrated into occt repository

Date: 2011-11-18 14:22:54 +0400 (Fri, 18 Nov 2011)
New Revision: 9434

Modified:
   trunk/src/Aspect/Aspect_MarkMapEntry.cxx
   trunk/src/Aspect/Aspect_TypeMapEntry.cxx
   trunk/src/Aspect/Aspect_WidthMapEntry.cxx
   trunk/src/TDataStd/TDataStd_ExtStringArray.cxx
   trunk/src/TDataStd/TDataStd_IntPackedMap.cxx
   trunk/src/TDataStd/TDataStd_IntegerArray.cxx
   trunk/src/TDataStd/TDataStd_RealArray.cxx