View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022685 | Community | OCCT:Application Framework | public | 2011-07-25 13:02 | 2012-03-29 17:26 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | trivial | ||
Status | closed | Resolution | fixed | ||
OS | All | ||||
Target Version | 6.5.3 | Fixed in Version | 6.5.3 | ||
Summary | 0022685: Missing parentheses around trigraph operator | ||||
Description | 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; } | ||||
Steps To Reproduce | Reproducing is not required. | ||||
Tags | No tags attached. | ||||
Test case number | Test case is not required | ||||
2011-07-25 11:02
|
missing-parentheses-around-trigraph.patch (4,795 bytes) |
|
Branch 22685 is created. Problem is fixed. |
|
Vlad, Could you make reviewing of the Branch 22685. Sergey |
|
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 |
|
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 |
occt: master eb901da6 2011-11-18 10:22:54
Committer: bugmaster Details Diff |
0022685: Missing parentheses around trigraph operator |
Affected Issues 0022685 |
|
mod - src/Aspect/Aspect_MarkMapEntry.cxx | Diff File | ||
mod - src/Aspect/Aspect_TypeMapEntry.cxx | Diff File | ||
mod - src/Aspect/Aspect_WidthMapEntry.cxx | Diff File | ||
mod - src/TDataStd/TDataStd_ExtStringArray.cxx | Diff File | ||
mod - src/TDataStd/TDataStd_IntegerArray.cxx | Diff File | ||
mod - src/TDataStd/TDataStd_IntPackedMap.cxx | Diff File | ||
mod - src/TDataStd/TDataStd_RealArray.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-08-02 10:32 | bugmaster | Category | OCCT:OCAF => OCCT:Application Framework |
2011-09-21 13:49 |
|
Fixed in Version | EMPTY => |
2011-09-21 13:49 |
|
Target Version | => 6.5.3 |
2011-09-21 13:49 |
|
Description Updated | |
2011-09-21 13:49 |
|
Steps to Reproduce Updated | |
2011-09-21 13:50 |
|
Assigned To | bugmaster => szy |
2011-09-21 13:50 |
|
Status | acknowledged => assigned |
2011-09-21 13:52 |
|
Note Added: 0018244 | |
2011-09-21 13:52 |
|
Status | assigned => resolved |
2011-10-21 16:40 |
|
Resolution | suspended => fixed |
2011-10-21 16:49 |
|
Note Added: 0018386 | |
2011-10-21 16:49 |
|
Assigned To | szy => vro |
2011-10-21 16:49 |
|
Status | resolved => assigned |
2011-11-03 15:33 | vro | Status | assigned => reviewed |
2011-11-14 14:42 | apn | Note Added: 0018533 | |
2011-11-14 14:43 | apn | Note Edited: 0018533 | |
2011-11-14 14:44 | apn | Test case number | => Test case is not required |
2011-11-14 14:44 | apn | Status | reviewed => tested |
2011-11-18 14:25 | bugmaster | Note Added: 0018583 | |
2011-11-18 14:25 | bugmaster | Status | tested => verified |
2011-11-21 11:49 |
|
Note Edited: 0018533 | |
2011-11-22 11:24 |
|
Note Edited: 0018533 | |
2012-03-29 17:26 | bugmaster | Changeset attached | => occt master eb901da6 |