this is your irregular reminder that it is not safe to treat C++ as a superset o...

@linear@nya.social

this is your irregular reminder that it is not safe to treat C++ as a superset of C because C++ adds a whole lot of new and potentially surprising places where undefined behavior can be found, and there exists lots of "safe" and acceptable C code that it is an extremely bad idea to compile as C++

https://godbolt.org/z/neYY9rbGc