summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2023-10-29 23:31:17 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2023-10-29 23:31:17 +0000
commit48239f4e1de5c697d4836329fd6ef0f732b26fd4 (patch)
treef2ea11317ea942014a348d939ae91bb79ebd29da /share
parent273e62b26726721c9720313b282bbe42937a7abc (diff)
Make gnu99 the default for gcc 3.3.6 and 4.2.1, not gnu89.
While these versions of gcc don't have full C99 support, it is better than defaulting to C89 when building modern software. OK deraadt@
Diffstat (limited to 'share')
-rw-r--r--share/man/man1/gcc-local.115
1 files changed, 13 insertions, 2 deletions
diff --git a/share/man/man1/gcc-local.1 b/share/man/man1/gcc-local.1
index 24584c0117b..928c01d1155 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.56 2023/10/28 00:25:19 millert Exp $
+.\" $OpenBSD: gcc-local.1,v 1.57 2023/10/29 23:31:16 millert 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: October 28 2023 $
+.Dd $Mdocdate: October 29 2023 $
.Dt GCC-LOCAL 1
.Os
.Sh NAME
@@ -42,6 +42,17 @@ the software comes with specific modifications for
.Ox :
.Bl -dash
.It
+For the C programming language,
+.Nm gcc
+defaults to the
+.Em gnu99
+standard,
+not
+.Em gnu89 .
+The
+.Fl std
+option can be used to select a different language standard.
+.It
.Nm gcc
does not search under
.Pa /usr/local