]> The Tcpdump Group git mirrors - tcpdump/commitdiff
CONTRIBUTING: update to reflect that we require a C99 compiler. [skip ci]
authorGuy Harris <[email protected]>
Wed, 9 Aug 2023 07:55:35 +0000 (00:55 -0700)
committerFrancois-Xavier Le Bail <[email protected]>
Sat, 14 Oct 2023 18:38:32 +0000 (20:38 +0200)
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)

CONTRIBUTING.md

index c76330784bdf0dc8422500cf37d132598041bb55..9b405a5c7e56826125f0deb5b4272eca890f4c90 100644 (file)
@@ -349,7 +349,8 @@ and ask!
 
 *  Don't mix declarations and code.
 
 
 *  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
 
 *  Avoid trailing tabs/spaces