View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024998 | Community | OCCT:Foundation Classes | public | 2014-06-10 15:27 | 2014-11-11 13:01 |
Reporter | drazmyslovich | Assigned To | apn | ||
Priority | normal | Severity | major | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2010 | ||
Product Version | 6.7.0 | ||||
Target Version | 6.8.0 | Fixed in Version | 6.8.0 | ||
Summary | 0024998: The incorrect _USE_MATH_DEFINES definition in Standard_math.hxx prevents the clean build for client applications | ||||
Description | _USE_MATH_DEFINES definition for Windows is necessary for using the standard math.h definitions in VS. In case of a client application using OpenCASCADE library, the definition of _USE_MATH_DEFINES in Standard_math.hxx can lead to redefinition compile error. For instance, the client application has already defined _USE_MATH_DEFINES for it's internal uses and has already included math.h - Standard_math.hxx in this case tries to redefine _USE_MATH_DEFINES. The proposed solution: cover #define _USE_MATH_DEFINES line with #ifndef clause. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
The proposed solution is committed, please, verify |
|
Reviewed, please integrate (no testing is needed) |
occt: master acbb658a 2014-06-10 11:50:14 razmyslovich Committer: apn Details Diff |
0024998: The incorrect _USE_MATH_DEFINES definition in Standard_math.hxx prevents the clean build for client applications Add #ifndef clause to avoid redefinition compile error |
Affected Issues 0024998 |
|
mod - src/Standard/Standard_math.hxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-06-10 15:27 | drazmyslovich | New Issue | |
2014-06-10 15:27 | drazmyslovich | Assigned To | => drazmyslovich |
2014-06-10 15:53 | drazmyslovich | Note Added: 0029762 | |
2014-06-10 15:53 | drazmyslovich | Status | new => resolved |
2014-06-10 15:55 |
|
Note Added: 0029763 | |
2014-06-10 15:55 |
|
Assigned To | drazmyslovich => bugmaster |
2014-06-10 15:55 |
|
Status | resolved => reviewed |
2014-06-10 16:02 |
|
Status | reviewed => tested |
2014-06-10 16:02 |
|
Target Version | Unscheduled => 6.8.0 |
2014-06-10 17:50 | kgv | Relationship added | related to 0024234 |
2014-06-10 17:50 | kgv | Product Version | Unscheduled => 6.7.0 |
2014-06-17 17:22 | apn | Changeset attached | => occt master acbb658a |
2014-06-17 17:22 | apn | Assigned To | bugmaster => apn |
2014-06-17 17:22 | apn | Status | tested => verified |
2014-06-17 17:22 | apn | Resolution | open => fixed |
2014-10-21 09:01 |
|
Relationship added | related to 0025401 |
2014-11-11 12:44 |
|
Fixed in Version | => 6.8.0 |
2014-11-11 13:01 |
|
Status | verified => closed |