View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022928 | Community | OCCT:Foundation Classes | public | 2012-01-25 20:13 | 2016-04-20 15:48 |
Reporter | Roman Lygin | Assigned To | bugmaster | ||
Priority | normal | Severity | feature | ||
Status | closed | Resolution | fixed | ||
OS | Windows | ||||
Product Version | 6.5.2 | ||||
Target Version | 7.0.0 | Fixed in Version | 7.0.0 | ||
Summary | 0022928: Stop enforcing /DWNT on Windows in Standard_Macro.hxx | ||||
Description | Currently Standard_Macro.hxx contains: #if defined(_MSC_VER) && !defined(WNT) #error "Wrong compiler options has been detected. Add /DWNT option for proper compilation!!!!!" #endif which leads to annoying error if WNT is not defined on Windows. This is actually has no practical value and the code should rather be: #if defined(_WIN32) && !defined(WNT) #define WNT #endif In this case this will be fully transparent for a developer, and will add definition for other compilers on Windows (e.g. mingw), and will be consistent with other macro(s), e.g. _OCC64 which are not required to be explicitly defined by the developer. Note that use of _WIN32 is valid for 64 bit platform as well. If you like, you can use: #if (defined(_WIN32) || defined(_WIN64)) && !defined(WNT) | ||||
Steps To Reproduce | Compile any Windows example excluding WNT from the project file. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2012-01-25 20:13 | Roman Lygin | New Issue | |
2012-01-25 20:13 | Roman Lygin | Assigned To | => abv |
2014-01-17 09:29 | kgv | Relationship added | duplicate of 0022972 |
2014-01-17 09:32 |
|
Target Version | => 6.7.1 |
2014-04-04 18:16 |
|
Target Version | 6.7.1 => 6.8.0 |
2014-09-11 10:20 |
|
Target Version | 6.8.0 => 7.0.0 |
2015-09-09 11:53 |
|
Assigned To | abv => akz |
2015-09-09 11:53 |
|
Status | new => assigned |
2015-09-25 00:17 |
|
Note Added: 0046111 | |
2015-09-25 00:17 |
|
Assigned To | akz => bugmaster |
2015-09-25 00:17 |
|
Status | assigned => feedback |
2015-09-30 11:42 | bugmaster | Status | feedback => tested |
2015-09-30 11:42 | bugmaster | Status | tested => verified |
2015-09-30 11:42 | bugmaster | Resolution | open => fixed |
2016-04-20 15:44 |
|
Fixed in Version | => 7.0.0 |
2016-04-20 15:48 |
|
Status | verified => closed |