3 ms·
Clang says it's already been killed in C99: https://www.godbolt.org/z/KaWzsc6qT https://www.godbolt.org/z/KaWzsc6qT ...in GCC it's still just a warning though
by flohofwoe 4y ago
Clang says it's already been killed in C99:
https://www.godbolt.org/z/KaWzsc6qT https://www.godbolt.org/z/KaWzsc6qT
...in GCC it's still just a warning though.
- yrro 4y agoHuh I had no idea! Seems weird that it's not an error by default!
- linkdd 4y agoMeh, I compile with -Werror :)
- ekeane 4y agoThat is a 'warning as default error', so for at least Clang16, it is still disable-able. The Clang code owner is on a bit of a well-deserved war-path against these, so they are likely to be completely illegal in the next version or two.