Yeah, you need to increase warning level to 4. On commandline this is done with /W4 switch.
Same thing with template specialization.
Andre —
I was wondering about a line that slipped into handmade_entity.cpp:
1
2r32 TempZ = EntityTransfor…
Ack! Yes, that is not good at all :)
- Casey
Yes, this is a problem with Handmade Network hosting, apparently. I do not know what the status …
Hey guys!
I just came back from many many many weeks absence from this project (I followed relig…
Mox —
Hi,
I believe there is a bug in GetBoundFor that might exaggerate the problems with sorting: the…
I'm actually using Community 2015 and didn't get any warnings. Pretty sure I'm using the default …
I don't know how much this would help, but I think i saw that you were having some performance is…
TM —
There is a reason nullptr was introduced into c++ that wasn't mentioned yet. It is a consequence …
cmuratori
But why? Do you also have an issue with saying "long long value = 0;" instead of, say…
ratchetfreak I just have an issue with the fact that "void* ptr = 0;" was ever valid code.
But w…
Roman —
What you are doing is a "solve all" design, which is unimplementable.
I have never published a g…
Roman —
Why not take into account the min/max range for each axis we sort by?
Use the collision volumes b…
btaylor2401 Pointers in C do not *act* like integers. Integer math does not apply directly to po…
Here is what I do for very dynamic strings in C.
https://github.com/gingerBill/gb/blob/master/gb…
Mattie —
Semi-related: Raymond Chen on null pointers and accessing memory at address zero.
cmuratori Yes, what I am saying is stronger: 0 _must_ be a reserved address meaning "null pointer…
Yes, what I am saying is stronger: 0 _must_ be a reserved address meaning "null pointer", always,…
mojobojo
for (;;) was causing an unreachable code warning in something like.
1
2
3
4
5
6
7int …
iffy
As far as I'm aware, no major compiler currently issues a warning when using "for (;;)" to …
If you use Visual Studio, try to upgrade to 2015. It detects these situations and produces warnin…
I found out that it was the way I was creating the file that was the problem after all. A header …
ratchetfreak Because the second assignment to XInputLibrary in
1
2
3
4
5HMODULE XInputLibrary =…
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…
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…
I found the cause (I think) but don't know what was causing it. This code didn't work:
1
2
3
4
5…
I used to have controller support working. It has stopped working. I have no idea why it has stop…