r1553 Compile Error

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

r1553 Compile Error

Post by Enjay »

Code: Select all

Error	1	error C2065: 'null' : undeclared identifier	c:\Doom\GZdoomSource\gzdoomcomp\src\gl\scene\gl_sky.cpp	84
Gargi
Posts: 13
Joined: Sun Dec 23, 2012 13:03
Location: Munich, Germany

Re: r1553 Compile Error

Post 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
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: r1553 Compile Error

Post by Graf Zahl »

Damn. I've been coding too much Java recently...
Blue Shadow
Global Moderator
Global Moderator
Posts: 308
Joined: Sun Aug 29, 2010 6:09

Re: r1553 Compile Error

Post by Blue Shadow »

So this 'NULL' pointer thing is always case-sensitive?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: r1553 Compile Error

Post by Graf Zahl »

All identifiers in C are case sensitive.
Locked

Return to “Closed Bugs”