We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
ratchetfreak
cmuratori Yes, what I am saying is stronger: 0 _must_ be a reserved address meaning "null pointer…
»
Casey Muratori
Yes, what I am saying is stronger: 0 _must_ be a reserved address meaning "null pointer", always,…
»
ratchetfreak
mojobojo for (;;) was causing an unreachable code warning in something like. 1 2 3 4 5 6 7int …
»
mojobojo
iffy As far as I'm aware, no major compiler currently issues a warning when using "for (;;)" to …
»
Mārtiņš Možeiko
If you use Visual Studio, try to upgrade to 2015. It detects these situations and produces warnin…
»
CJ Nelson
I found out that it was the way I was creating the file that was the problem after all. A header …
»
Simon Morgan
ratchetfreak Because the second assignment to XInputLibrary in 1 2 3 4 5HMODULE XInputLibrary =…
»
Jeroen van Rijn
Slash Hey guys I really miss an important feature, that honestly it's preventing me to come here…
»
Nuno
Hey guys I really miss an important feature, that honestly it's preventing me to come here often…
»
ratchetfreak
drguildo I found the cause (I think) but don't know what was causing it. This code didn't work: …
»
Andre
mojobojo Today I wanted to have an infinite loop without generating a warning with /W4 and withou…
»
Simon Morgan
I found the cause (I think) but don't know what was causing it. This code didn't work: 1 2 3 4 5…
»
Simon Morgan
I used to have controller support working. It has stopped working. I have no idea why it has stop…
»
ratchetfreak
Whether or not the null pointer is represented by 0 is orthogonal to letting 0 implicitly convert…
»
mojobojo
Today I wanted to have an infinite loop without generating a warning with /W4 and without suppres…
»
Roderic Bos
What I was wondering why Casey is so hung up about the "rug" example spanning multiple tiles. He …
»
Casey Muratori
At the risk of stating the obvious, I strongly disagree with the notion that a pointer's zero val…
»
xcodedave
What Minecraft has looks like faked ambient-occlusion baking, but what I mean is faked global ill…
»
Bryan Taylor
Randy Gaul For example I have my own opinion: C defining NULL as ((void*)0) was great because any…
»
Oswald Hurlem
That's going to create T-junction problems... not worth it IMO.
»
Oswald Hurlem
Yeah I'm definitely planning to have "baked" lighting which recomputes (for some subset of blocks…
»
Randy Gaul
ratchetfreak C has many mistakes in its history, defining NULL as 0 (an int) instead of a special…
»
Mārtiņš Možeiko
This issue is not Microsoft compilers fault. This is C standards fault. If C compiler doesn't see…
»
rizoma
mrmixer Since you're not including string.h, I guess you're implementing strstr in mylib.c. I got…
»
Andrew Russell
After watching episode 299 of Handmade Hero, I wanted to share with Casey and the Handmade Hero c…
»
rizoma
Ok that is really weird, I forgot to include string.h now the warning is gone. I really don't wan…
»
Simon Anciaux
Since you're not including string.h, I guess you're implementing strstr in mylib.c. Does your str…
»
xcodedave
Maybe you could fake some static global illumination? If your world is constructed of cube voxe…
»
xcodedave
Oswald_Hurlem Are you only rendering voxels which aren't surrounded by other voxels? Yep! I'm re…
»
ratchetfreak
C++ isn't the only language with mistakes in its design. C has its fair share, among which null-t…
»