From: Guy Harris Date: Wed, 9 Aug 2023 07:55:35 +0000 (-0700) Subject: CONTRIBUTING: update to reflect that we require a C99 compiler. [skip ci] X-Git-Tag: tcpdump-4.99.5~167 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/1656633b87485d1f7f96869b44a686610deb08d5?ds=sidebyside CONTRIBUTING: update to reflect that we require a C99 compiler. [skip ci] In particular, // comments may now be used, along with other C99 features; however, C11 or later features should not be used. (cherry picked from commit 72b158095904ff50dff77506fb50b904b1175a79) --- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c7633078..9b405a5c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -349,7 +349,8 @@ and ask! * Don't mix declarations and code. -* Don't use `//` for comments. - Not all C compilers accept C++/C99 comments by default. +* tcpdump requires a compiler that supports C99 or later, so C99 + features may be used in code, but C11 or later features should not be + used. * Avoid trailing tabs/spaces