INSTALL: Mention --enable-Werror.
authorBen Pfaff <blp@nicira.com>
Wed, 18 Dec 2013 05:44:25 +0000 (21:44 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 18 Dec 2013 05:44:25 +0000 (21:44 -0800)
I think that some developers haven't noticed this, but it's useful, so
mention it.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
INSTALL

diff --git a/INSTALL b/INSTALL
index c8b1aa7..c3693f3 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -198,6 +198,11 @@ Prerequisites section, follow the procedure below to build.
 
       % ./configure --with-linux=/path/to/linux KARCH=mips
 
+   If you plan to do much Open vSwitch development, you might want to
+   add --enable-Werror, which adds the -Werror option to the compiler
+   command line, turning warnings into errors.  That makes it
+   impossible to miss warnings generated by the build.
+
    The configure script accepts a number of other options and honors
    additional environment variables.  For a full list, invoke
    configure with the --help option.