Hello. It is must be a warning. I assume in your project you specify Warning to be marked as Errors.
In that case, you need to supress them.
Please before calling header, define the next:
#define OCCT_NO_DEPRECATED
Best regards, Commenter-1.
Archived discussion
If #include<V3d_Viewer.hxx>, an error will occur
OpenCASCADE79\OCCT-7_9_0\src\V3d\V3d_Light.hxx(26,9): error C4996: 'Handle_Graphic3d_CLight': This class will be removed right after 7.9 release. Use Handle(T) directly instead.
Discussion
Posts are displayed in their archived order.
Hello. It is must be a warning. I assume in your project you specify Warning to be marked as Errors.
In that case, you need to supress them.
Please before calling header, define the next:
#define OCCT_NO_DEPRECATED
Best regards, Commenter-1.
Thanks