Posts
This curious typo could be a serious bug
Here’s an interesting bug I found in my old code. It’s a small typo that completely nukes an
if
switch, and the best part is that it is undetected by:- MSVC with
/W4
- clang with
-Wall -Wextra
- GCC with
-Wall -Wextra
- MSVC with
Comparing the syntax of build systems that support C++
Let’s see how the same C++ project (or at least very similar ones) would look like in different modern build systems. Courtesy of ChatGPT.
subscribe via RSS