Vote count:
0
I wrote the following macro:
#define SetParam(PARAM, VALUE3, VALUE2, VALUE1) (((0x00000000000000000000000000000000 | PARAM) << 24) | (VALUE3 << 16) | (VALUE2 << 8) | (VALUE1))
In Visual Studio 2010 I get the error in the question, but in Visual Studio 2013 I do not get the error (both cpp projects). Was there a change in these two versions? Or did I simply miss a configuration?
Furthermore, can I be sure that I get the correct result from the 2010-version (after I get some warnings)?
asked 36 secs ago
left shift count >= width of type in VC10, but not in VC13
Aucun commentaire:
Enregistrer un commentaire