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: If I'm not mistaken, ConvertT…
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 i…
Hey guys! I just came back from many many many weeks absence from this project (I followed religio…
Mox —
Hi, I believe there is a bug in GetBoundFor that might exaggerate the problems with sorting: the Y…
I'm actually using Community 2015 and didn't get any warnings. Pretty sure I'm using the default w…
I don't know how much this would help, but I think i saw that you were having some performance iss…
TM —
There is a reason nullptr was introduced into c++ that wasn't mentioned yet. It is a consequence o…
Casey[/quote] An numeric value is not a pointer if you want to convert a numeric value into a poin…
But why? Do you also have an issue with saying "long long value = 0;" instead of, say, "long lon…
Roman —
What you are doing is a "solve all" design, which is unimplementable. I have never published a gam…
Roman —
Why not take into account the min/max range for each axis we sort by? Use the collision volumes bo…
++i; // i = 1 ++p1; // p1 = 1 ++p2; // p2 = 2 ++p4; // p4 = 4 [/code] This difference in operat…
Here is what I do for very dynamic strings in C. (Uses custom allocator system)
Casey[/quote] I don't disagree with that. I just have an issue with the fact that "void* ptr = 0;"…
Yes, what I am saying is stronger: 0 must be a reserved address meaning "null pointer", always, in…
for (;;) was causing an unreachable code warning in something like. }[/code][/quote] Well then d…
for (;;) was causing an unreachable code warning in something like. }[/code]
If you use Visual Studio, try to upgrade to 2015. It detects these situations and produces warning…
I found out that it was the way I was creating the file that was the problem after all. A header f…
if (!XInputLibrary) { HMODULE XInputLibrary = LoadLibrary("xinput1_3.dll"); } [/code] is assigne…
I really miss an important feature, that honestly it's preventing me to come here often, it's a b…
Nuno —
Hey guys I really miss an important feature, that honestly it's preventing me to come here often, …
if (!XInputLibrary) { HMODULE XInputLibrary = LoadLibrary("xinput1_3.dll"); } [/code] and this d…
Andre —
As far as I'm aware, no major compiler currently issues a warning when using "for (;;)" to indica…
I found the cause (I think) but don't know what was causing it. This code didn't work: if (!XInpu…
I used to have controller support working. It has stopped working. I have no idea why it has stopp…