From 8a6de510b0ce003a05629dbb3f6522f6fbb045eb Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 1 Aug 2013 15:27:52 -0700 Subject: INSTALL, CodingStyle: Recognize that Clang is an acceptable compiler. Clang has nice static analysis and works well as an Open vSwitch compiler, so mention it more explicitly. Signed-off-by: Ben Pfaff Acked-by: Ethan Jackson --- CodingStyle | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'CodingStyle') diff --git a/CodingStyle b/CodingStyle index 22f0f458a..55b37a1cb 100644 --- a/CodingStyle +++ b/CodingStyle @@ -518,7 +518,8 @@ older compilers: As a matter of style, avoid // comments. - Avoid using GCC extensions unless you also add a fallback for -non-GCC compilers. You can, however, use GCC extensions and C99 -features in code that compiles only on GNU/Linux (such as -lib/netdev-linux.c), because GCC is the system compiler there. + Avoid using GCC or Clang extensions unless you also add a fallback +for other compilers. You can, however, use C99 features or GCC +extensions also supported by Clang in code that compiles only on +GNU/Linux (such as lib/netdev-linux.c), because GCC is the system +compiler there. -- cgit v1.2.1