View Issue Details

IDProjectCategoryView StatusLast Update
0032407CommunityOCCT:Configurationpublic2021-06-15 09:45
Reporterwassimj Assigned Tobugmaster  
Status closedResolutionno change required 
PlatformWindowsOSVC++ 2015 
Product Version7.5.1 
Target Version7.6.0 
Summary0032407: Standard_Macro.hxx needs a tweak in one IF statement
DescriptionIn linking our software (Topologic) to OCCT, our software developer found that we need to change one line in the OCCT installation/configuration files: C:\OpenCASCADE-7.X.X-vc14-64\opencascade-7.X.X\inc\Standard_Macro.hxx. You need to change line 67 from

#if defined(__has_cpp_attribute)

#if defined(__has_cpp_attribute) && !defined(__CLING__)

Please consider making this change to your official files. Thank you.
Steps To ReproduceNothing to reproduce.
TagsNo tags attached.
Test case number



2021-06-01 09:39

developer   ~0101533

Could you please provide more details on the problem you are experiencing?

Do you have compilation errors in your application code or warnings?
How do they look alike?

Described configuration (VC++ 2015) is widely used one, so it is unclear what exactly might be wrong...
Maybe you are using another C++ standard in your project settings?


2021-06-03 10:06

reporter   ~0101569

We have interfaced our C++ code ( with python using cppyy. We are having problem where loading the library fails. A software developer (now not associated with the project) recommended this tweak, but did not explain its effect. We are not sure it has an effect or not.


2021-06-08 09:12

reporter   ~0101680

Please close. Further testing revealed this change is not needed.


2021-06-08 09:17

developer   ~0101681

wassimj, thanks for checking.

Issue History

Date Modified Username Field Change
2021-06-01 09:27 wassimj New Issue
2021-06-01 09:27 wassimj Assigned To => bugmaster
2021-06-01 09:39 kgv Note Added: 0101533
2021-06-01 09:39 kgv Assigned To bugmaster => wassimj
2021-06-01 09:39 kgv Status new => feedback
2021-06-01 09:39 kgv Target Version => 7.6.0
2021-06-03 10:06 wassimj Note Added: 0101569
2021-06-08 09:12 wassimj Note Added: 0101680
2021-06-08 09:17 kgv Note Added: 0101681
2021-06-08 09:17 kgv Assigned To wassimj => bugmaster
2021-06-08 09:17 kgv Resolution open => no change required
2021-06-15 09:45 bugmaster Status feedback => closed