THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/01/2011 at 21:10, xxxxxxxx wrote:
Cinema 4D Version: R12
Platform: Windows ;
Language(s) : C++ ;
I've compiled my plugin with the FBXSDK2010 library for all version without any problems except for R12 PC version, where I get a ton of both errors C4263 and C4264. After googling those errors, I found this information:
Compiler Warning (level 1) C4264
Visual Studio 2005
'virtual_function' : no override available for virtual member function from base 'class'; function is hidden
C4264 is always generated after C4263.
This warning is off by default. See Compiler Warnings That Are Off by Default for more information.
...which says that those warnings should be off by default.
I also found out that those warnings can be turned on and off with the #pragma warning() preprocessor directive so, I added this line to my code:
#if API_VERSION == 12000 #pragma warning(disable : 4263 4264) #endif
With those turned off, it compiles and runs fine in R12 on PC, but is it safe to do that?