i have enum below:
enum myfilter { myfilter_none = 0, myfilter_line = 1, myfilter_arcccw = 2, myfilter_arccw = 4, myfilter_circle = 8, myfilter_arc = myfilter_arcccw | myfilter_arccw, myfilter_all = myfilter_line | myfilter_arc | myfilter_circle };
this compiles fine in vs 2010. when ported same vs 2013, error.
intellisense: expression must have constant value
the error thrown |
in myfilter_arc
, myfilter_all
.
though linking successful, intellisense error, resolve this. doing wrong?
Comments
Post a Comment