Page 1 of 1
r1553 Compile Error
Posted: Sun Apr 21, 2013 22:04
by Enjay
Code: Select all
Error 1 error C2065: 'null' : undeclared identifier c:\Doom\GZdoomSource\gzdoomcomp\src\gl\scene\gl_sky.cpp 84
Re: r1553 Compile Error
Posted: Sun Apr 21, 2013 22:25
by Gargi
Got the same here. Replacing in line 84 in the gl_sky.cpp
if (skyboxx == null) skyboxx = level.DefaultSkybox;
with
if (skyboxx == NULL) skyboxx = level.DefaultSkybox;
fixed it for me.
cu
Gargi
Re: r1553 Compile Error
Posted: Sun Apr 21, 2013 23:43
by Graf Zahl
Damn. I've been coding too much Java recently...
Re: r1553 Compile Error
Posted: Mon Apr 22, 2013 10:52
by Blue Shadow
So this 'NULL' pointer thing is always case-sensitive?
Re: r1553 Compile Error
Posted: Mon Apr 22, 2013 19:30
by Graf Zahl
All identifiers in C are case sensitive.