summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2017-02-12 09:55:15 +0000
committerjsg <jsg@openbsd.org>2017-02-12 09:55:15 +0000
commit9b080e49cc3dd61117542c6a6174ebc41d29ec41 (patch)
tree89f825aba2509740ec1d29ee8929984df906556b
parentDisable -Wpointer-sign warnings per default (diff)
downloadwireguard-openbsd-9b080e49cc3dd61117542c6a6174ebc41d29ec41.tar.xz
wireguard-openbsd-9b080e49cc3dd61117542c6a6174ebc41d29ec41.zip
mention -Wpointer-sign being off by default
-rw-r--r--share/man/man1/clang-local.121
1 files changed, 15 insertions, 6 deletions
diff --git a/share/man/man1/clang-local.1 b/share/man/man1/clang-local.1
index 8229a477b10..c41ece877be 100644
--- a/share/man/man1/clang-local.1
+++ b/share/man/man1/clang-local.1
@@ -1,11 +1,11 @@
-.\" $OpenBSD: clang-local.1,v 1.2 2016/09/27 19:33:57 pascal Exp $
+.\" $OpenBSD: clang-local.1,v 1.3 2017/02/12 09:55:15 jsg Exp $
.\"
.\" Copyright (c) 2016 Pascal Stumpf <pascal@stumpf.co>
-.\"
+.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
-.\"
+.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
@@ -13,9 +13,9 @@
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.\"
-.\"
-.Dd $Mdocdate: September 27 2016 $
+.\"
+.\"
+.Dd $Mdocdate: February 12 2017 $
.Dt CLANG-LOCAL 1
.Os
.Sh NAME
@@ -57,6 +57,15 @@ The
.Fl pg
flag is an alias of
.Fl p .
+.It
+.Nm clang
+does not warn for pointer arguments passing or assignment with
+different signedness outside of
+.Fl pedantic .
+This can be
+re-enabled with the
+.Fl Wpointer-sign
+flag.
.El
.Sh SEE ALSO
.Xr clang 1