Revert "Pedantically warn about // comments in gnu89 mode"
This reverts commit f6dff936. This diagnostic is also in the -Wcomment group, which is in the -Wall group, so the diagnostic is enabled in a wider context than GCC does. That turns out to be disruptive for the Linux kernel builds still using -std=gnu89 because the kernel requires C source files to start with // comments: https://kernel.org/doc/html/v5.18-rc5/process/license-rules.html#license-identifier-syntax
Loading
Please sign in to comment