View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026613 | Community | OCCT:Coding | public | 2015-08-28 06:19 | 2015-10-23 20:50 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | tweak | ||
Status | closed | Resolution | fixed | ||
Target Version | 6.9.1 | Fixed in Version | 6.9.1 | ||
Summary | 0026613: Coding - avoid use of macros in Resource_Manager.cxx | ||||
Description | As reported in https://github.com/tpaviot/oce/issues/564#issuecomment-135169338, the preprocessor macros used in Resource_Manager.cxx can cause conflicts with other definitions when building under Windows. It is worth replacing these by enums with more specific names. | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
Branch CR26613 has been created by kgv. SHA-1: 8d9ab4c0e135454e822d2c8794342e288f84fc28 Detailed log of new commits: Author: kgv Date: Fri Aug 28 10:35:59 2015 +0300 0026613: Coding - avoid use of macros in Resource_Manager.cxx Replace macros by enum Resource_KindOfLine. |
|
Patch is ready for review. |
|
No remarks, please test |
|
Branch CR26613 has been updated forcibly by apv. SHA-1: dab7f6161b720e92089028895583b4f6768c02ae |
|
Branch CR26613 has been rebased on the current master |
|
Dear BugMaster, Branch CR26613 from occt git-repository (and master from products git-repository) was compiled on Linux and Windows platforms and tested. SHA-1: dab7f6161b720e92089028895583b4f6768c02ae Number of compiler warnings: occt component: Linux: 16 (15 on master) Windows: 0 (0 on master) products component: Linux: 39 (39 on master) Windows: 0 (0 on master) There is new additional warning: Resource_Manager.cxx:126, GNU C Compiler 4 (gcc), Priority: Normal enumeration value 'Resource_KOL_End' not handled in switch [-Wswitch] Regressions/Differences: Not detected Testing cases: Not needed Testing on Linux: Total MEMORY difference: 90700835 / 91194202 [-0.54%] Total CPU difference: 17694.139999998923 / 17164.219999999383 [+3.09%] Testing on Windows: Total MEMORY difference: 57033353 / 57042860 [-0.02%] Total CPU difference: 16107.976855599065 / 16075.793849298934 [+0.20%] |
|
Branch CR26613 has been updated by kgv. SHA-1: 918ca684de978970b5d9b5a65363b0f3df63cc65 Detailed log of new commits: Author: kgv Date: Wed Sep 2 16:45:45 2015 +0300 suppress gcc warning |
|
Branch CR26613_1 has been created by kgv. SHA-1: 9c75e18680dd50b9ee01adc2f79606b8b7cb3102 Detailed log of new commits: Author: kgv Date: Wed Sep 2 16:47:09 2015 +0300 0026613: Coding - avoid use of macros in Resource_Manager.cxx Replace macros by enum Resource_KindOfLine. |
|
Dear bugmaster, > There is new additional warning: > Resource_Manager.cxx:126, GNU C Compiler 4 (gcc), Priority: Normal > enumeration value 'Resource_KOL_End' not handled in switch [-Wswitch] this is compiler bug - this condition should never happen. Nevertheless, please check compilation of patch (no testing needed) in branch CR26613_1 with compiler warning eliminated. |
|
Dear BugMaster, Branch CR26613_1 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms on Release mode. SHA-1: 9c75e18680dd50b9ee01adc2f79606b8b7cb3102 Number of compiler warnings: occt component : Linux: 15 (15 on master) Windows: 0 (0 on master) products component : Linux: 39 (39 on master) Windows: 0 (0 on master) |
|
Branch CR26613 has been deleted by kgv. SHA-1: 918ca684de978970b5d9b5a65363b0f3df63cc65 |
|
Branch CR26613_1 has been deleted by kgv. SHA-1: 9c75e18680dd50b9ee01adc2f79606b8b7cb3102 |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-08-28 06:19 |
|
New Issue | |
2015-08-28 06:19 |
|
Assigned To | => kgv |
2015-08-28 10:36 | git | Note Added: 0044778 | |
2015-08-28 10:38 | kgv | Note Added: 0044780 | |
2015-08-28 10:38 | kgv | Assigned To | kgv => abv |
2015-08-28 10:38 | kgv | Status | new => resolved |
2015-08-28 12:20 |
|
Note Added: 0044789 | |
2015-08-28 12:20 |
|
Assigned To | abv => bugmaster |
2015-08-28 12:20 |
|
Status | resolved => reviewed |
2015-08-28 14:50 |
|
Assigned To | bugmaster => apv |
2015-08-28 16:31 | git | Note Added: 0044833 | |
2015-08-28 16:31 |
|
Note Added: 0044834 | |
2015-09-02 16:31 |
|
Test case number | => Not needed |
2015-09-02 16:34 |
|
Note Added: 0044970 | |
2015-09-02 16:34 |
|
Assigned To | apv => kgv |
2015-09-02 16:34 |
|
Status | reviewed => assigned |
2015-09-02 16:45 | git | Note Added: 0044971 | |
2015-09-02 16:47 | git | Note Added: 0044972 | |
2015-09-02 16:49 | kgv | Note Added: 0044973 | |
2015-09-02 16:49 | kgv | Assigned To | kgv => bugmaster |
2015-09-02 16:49 | kgv | Status | assigned => resolved |
2015-09-02 16:49 | kgv | Status | resolved => reviewed |
2015-09-02 18:05 |
|
Assigned To | bugmaster => mkv |
2015-09-03 13:07 |
|
Note Added: 0045001 | |
2015-09-03 13:07 |
|
Assigned To | mkv => bugmaster |
2015-09-03 13:07 |
|
Status | reviewed => tested |
2015-09-03 13:07 |
|
Note Edited: 0045001 | |
2015-09-04 13:02 | bugmaster | Changeset attached | => occt master 969d1caf |
2015-09-04 13:02 | bugmaster | Status | tested => verified |
2015-09-04 13:02 | bugmaster | Resolution | open => fixed |
2015-10-16 14:56 |
|
Status | verified => closed |
2015-10-16 16:24 | git | Note Added: 0046936 | |
2015-10-16 16:24 | git | Note Added: 0046937 | |
2015-10-23 20:50 |
|
Fixed in Version | => 6.9.1 |