Skip to content
Commit 1c50909f authored by Aaron Ballman's avatar Aaron Ballman
Browse files

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
parent 952fa301
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment