diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-05-23 14:40:27 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-23 14:40:27 -0400 |
commit | 771ca7c5446584989d1602a053c4261ca3450cab (patch) | |
tree | b579b4ad56e9350303c3a22609c782eb51133c85 /doc | |
parent | 2fa7a3af4c77047525d7372b6845b547b2f6bf92 (diff) | |
download | tor-771ca7c5446584989d1602a053c4261ca3450cab.tar.gz tor-771ca7c5446584989d1602a053c4261ca3450cab.zip |
Stop recommending --enable-gcc-warnings in doc/HACKING
Diffstat (limited to 'doc')
-rw-r--r-- | doc/HACKING/CodingStandards.md | 12 | ||||
-rw-r--r-- | doc/HACKING/HowToReview.md | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/doc/HACKING/CodingStandards.md b/doc/HACKING/CodingStandards.md index 4aafa5ddd4..f1c65850a4 100644 --- a/doc/HACKING/CodingStandards.md +++ b/doc/HACKING/CodingStandards.md @@ -3,7 +3,7 @@ Coding conventions for Tor tl;dr: - - Run configure with `--enable-gcc-warnings` + - Run configure with `--enable-fatal-warnings` - Run `make check-spaces` to catch whitespace errors - Document your functions - Write unit tests @@ -21,7 +21,7 @@ preference) Did you remember... - - To build your code while configured with `--enable-gcc-warnings`? + - To build your code while configured with `--enable-fatal-warnings`? - To run `make check-spaces` on your code? - To run `make check-docs` to see whether all new options are on the manpage? @@ -125,10 +125,10 @@ deviations from our C whitespace style. Generally, we use: `puts (x)`. - Function declarations at the start of the line. -We try hard to build without warnings everywhere. In particular, if you're -using gcc, you should invoke the configure script with the option -`--enable-gcc-warnings`. This will give a bunch of extra warning flags to -the compiler, and help us find divergences from our preferred C style. +We try hard to build without warnings everywhere. In particular, if +you're using gcc, you should invoke the configure script with the +option `--enable-fatal-warnings`. This will tell the compiler +to make all warnings into errors. Functions to use; functions not to use -------------------------------------- diff --git a/doc/HACKING/HowToReview.md b/doc/HACKING/HowToReview.md index de7891c923..d53318942f 100644 --- a/doc/HACKING/HowToReview.md +++ b/doc/HACKING/HowToReview.md @@ -15,7 +15,7 @@ Top-level smell-checks (Difficulty: easy) -- Does it compile with `--enable-gcc-warnings`? +- Does it compile with `--enable-fatal-warnings`? - Does `make check-spaces` pass? |