View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023365 | Community | OCCT:Visualization | public | 2012-08-02 00:10 | 2012-11-16 13:17 |
Reporter | Roman Lygin | Assigned To | Roman Lygin | ||
Priority | normal | Severity | major | ||
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | RHEL/CentOS | ||
Product Version | 6.5.3 | ||||
Target Version | 6.5.4 | Fixed in Version | 6.5.4 | ||
Summary | 0023365: Name collision of global IsEqual() leads to overriding user's definition | ||||
Description | AIS_ConnectedShape.cxx defines a global IsEqual() function, which in run-time overrides user's definition of IsEqual() in completely different module. This is Linux-specific behavior caused by global resolution. It is unclear why static symbol gets exported and redefines another symbol though. See details on the forum - http://www.opencascade.org/org/forum/thread_23553/?forum=3. | ||||
Additional information and documentation updates | Recommendation to use NCollection containers is to use a hasher parameter (introduced in 6.5.3) instead of global definition of IsEqual()/HashCode(), and also use of explicit namespaces' to avoid name collision. | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
Fix pushed as CR23365 |
|
Branch CR23365 reviewed without remarks, ready for testing. |
|
Dear BugMaster, Branch CR23365 (and products from GIT master) was compiled on Linux and Windows platforms and tested. Regression: Not detected Improvements: Not detected Testing case: Not needed |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-08-02 00:10 | Roman Lygin | New Issue | |
2012-08-02 00:10 | Roman Lygin | Assigned To | => san |
2012-08-02 00:15 | Roman Lygin | Note Added: 0021196 | |
2012-08-02 00:15 | Roman Lygin | Status | new => resolved |
2012-08-03 16:04 |
|
Note Added: 0021200 | |
2012-08-03 16:04 |
|
Assigned To | san => bugmaster |
2012-08-03 16:04 |
|
Status | resolved => reviewed |
2012-08-07 13:12 |
|
Note Added: 0021207 | |
2012-08-07 13:13 |
|
Test case number | => Not needed |
2012-08-07 13:13 |
|
Status | reviewed => tested |
2012-08-10 10:32 | bugmaster | Target Version | => 6.5.4 |
2012-08-13 15:38 |
|
Changeset attached | => occt master f3fa1d35 |
2012-08-13 15:38 |
|
Assigned To | bugmaster => rln |
2012-08-13 15:38 |
|
Status | tested => verified |
2012-08-13 15:38 |
|
Resolution | open => fixed |
2012-08-31 11:58 |
|
Assigned To | rln => Roman Lygin |
2012-11-16 13:14 | bugmaster | Fixed in Version | => 6.5.4 |
2012-11-16 13:17 | bugmaster | Status | verified => closed |