4 ms·
> can't break the dork that decided to Why not? We've broken the dork who used undeclared functions, void main, gets ... (It's the same funking dork anyway. Y
by kazinator 4y ago
> can't break the dork that decided to
Why not? We've broken the dork who used undeclared functions, void main, gets ...
(It's the same funking dork anyway. You know who you are, I'm looking at you!)
Note that
int x = ((void *) 0);
will actually work in GCC and get you a zero into x, just with a conversion warning. The dork is unaffected; their code works and they don't read warnings.
- GabrielTFS 4y agoSee https://gcc.gnu.org/pipermail/gcc/2023-May/241264.html https://gcc.gnu.org/pipermail/gcc/2023-May/241264.html for why this might not be the case anymore soon - although I suppose that adding in -fpermissive or -Wno-error=conversion or something like that isn't too much effort.