For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Some help for those who hate warning C4291

Omar Msaaf's picture

What you can do to avoid it, and if you don't use a MFC project, is to add the pragma command in the following file : %CASROOT%/INC/Standard_Macro.hxx

Include inside the following lines : under the (#ifdef WNT)

#if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #pragma warning( disable : 4244 ) // Issue warning 4244 #pragma warning( disable : 4291 ) This way you get rid off the warnings Enjoy Omar Msaaf

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.