Quantcast
Channel: Adobe Community : Unanswered Discussions - After Effects
Viewing all articles
Browse latest Browse all 30854

Warning treated as error in VS2012. Any idea to fix?

$
0
0

When I build, I'm seeing some errors popup and they are all on lines where I am setting up checkbox parameters.  The compiler is throwing the following errors:

 

error C2220: warning treated as error - no 'object' file generated
warning C4244: '=' : conversion from 'PF_ParamValue' to 'PF_Boolean', possible loss of data

 

These are being thrown on any line where I have the following:

 

PF_ADD_CHECKBOXX(STR(StrID_Input_Required), true, PF_ParamFlag_CANNOT_TIME_VARY, PLG_REQUIRED);

 

I could turn off the error by removing the /WX flag during compiling, but do I really want to do that?  It seems like all would be okay if I did, but thought I'd post here to see if anybody had a suggestion as to why the `possible loss of data` error ocurrs.  Any ideas?

 

Thanks,

Arie


Viewing all articles
Browse latest Browse all 30854

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>