diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2012-06-23 23:14:16 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2012-06-23 23:14:16 +0000 |
commit | b40a6fbc7e43e37f06c0501e5923b31fe04f0b46 (patch) | |
tree | 4d0d6826405cb894cf2ac45fd15c02ed3d95245f /share/man/man1 | |
parent | 8d6e67f24f75d0dfc4af3cffcf6de71a924bce9a (diff) |
Document that -Wsystem-headers is on by default.
ok pascal@, jmc@.
Diffstat (limited to 'share/man/man1')
-rw-r--r-- | share/man/man1/gcc-local.1 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/share/man/man1/gcc-local.1 b/share/man/man1/gcc-local.1 index 800f1b856b4..9f83d75e0f2 100644 --- a/share/man/man1/gcc-local.1 +++ b/share/man/man1/gcc-local.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gcc-local.1,v 1.28 2012/04/21 14:21:58 miod Exp $ +.\" $OpenBSD: gcc-local.1,v 1.29 2012/06/23 23:14:15 matthieu Exp $ .\" .\" Copyright (c) 2002 Marc Espie .\" Copyright (c) 2003 Anil Madhavapeddy @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: April 21 2012 $ +.Dd $Mdocdate: June 23 2012 $ .Dt GCC-LOCAL 1 .Os .Sh NAME @@ -243,6 +243,12 @@ mode). This is used to allow annotations in macros for lint. .It +The warning option +.Fl Wsystem-headers +which makes +.Nm gcc +report warnings in systems headers is enabled by default. +.It .Nm gcc supports two extra warning options: .Bl -item |