compile error

e:\mywork\panda3d1.9_master\panda\src\display\graphicsStateGuardian.cxx(1161): error C2513: “float”:
1>e:\mywork\panda3d1.9_master\panda\src\display\graphicsStateGuardian.cxx(1162): error C2513: “float”:
1>e:\mywork\panda3d1.9_master\panda\src\display\graphicsStateGuardian.cxx(1163): error C2059:

PN_stdfloat not defined ?

remotes/origin/master ,2015-12-08 04:12:07

near and far is defined?

PN_stdfloat fnear = lt->get_lens(0)->get_near();
PN_stdfloat ffar = lt->get_lens(0)->get_far();
t = LMatrix4(c[0],c[1],c[2],c[3],s[0],s[1],s[2],s[3],p[0],p[1],p[2],fnear,a[0],a[1],a[2],ffar);

complie ok

I’m confused. What exactly did you do to get to this point? Which version of Panda are you compiling? Can you show more output?

Ah, I just ran into this error today. My bad, it seems that MSVC doesn’t like variables named “near” or “far”. I’ve checked in a change.