NetBSD Problem Report #58600

From www@netbsd.org  Thu Aug 15 14:39:56 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 0FBA81A9242
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 15 Aug 2024 14:39:56 +0000 (UTC)
Message-Id: <20240815143954.CEB031A9243@mollari.NetBSD.org>
Date: Thu, 15 Aug 2024 14:39:54 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: man pages lack C17, C23, C++98, C++03, C++11, C++17, C++20, C++23 citation syntax
X-Send-Pr-Version: www-1.0

>Number:         58600
>Category:       misc
>Synopsis:       man pages lack C17, C23, C++98, C++03, C++11, C++17, C++20, C++23 citation syntax
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 15 14:40:00 +0000 2024
>Last-Modified:  Mon Aug 19 06:00:02 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current, 10, 9
>Organization:
The NetBSD/IEC-9899:2023 Foundation
>Environment:
>Description:
We have

.St -isoC-2011

for C11, and mdoc(7) documents

.St -isoC-2018

but doesn't say what it's for (is it C17, i.e., ISO/IEC 9899:2018?).

I can't find anything in mdoc(7) for C23 or any C++ standard versions.
>How-To-Repeat:
Write a man page that needs to cite C23 and C++20 (or any of various other C++ standards).
>Fix:
Yes, please!

>Audit-Trail:
From: Taylor R Campbell <riastradh@NetBSD.org>
To: gnats-bugs@NetBSD.org, netbsd-bugs@NetBSD.org
Cc: 
Subject: Re: misc/58600: man pages lack C17, C23, C++98, C++03, C++11, C++17, C++20, C++23 citation syntax
Date: Thu, 15 Aug 2024 23:32:16 +0000

 Would also be nice to have:

 .St -ieee754-2008
 .St -ieee754-2019

From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: misc/58600: man pages lack C17, C23, C++98, C++03, C++11, C++17,
 C++20, C++23 citation syntax
Date: Mon, 19 Aug 2024 07:57:16 +0200

 On Thu, Aug 15, 2024 at 02:40:01PM +0000, campbell+netbsd@mumble.net wrote:
 > We have
 > 
 > .St -isoC-2011
 > 
 > for C11, and mdoc(7) documents
 > 
 > .St -isoC-2018
 > 
 > but doesn't say what it's for (is it C17, i.e., ISO/IEC 9899:2018?).

 On this particular point: Just googling this I found
 https://blog.ansi.org/2018/11/c-language-standard-iso-iec-9899-2018-c18/
 and this page says

 "The Current C Programming Language Standard – ISO/IEC 9899:2018 (C18)"

 so perhaps ANSI just prefers C18 to C17, I don't know.
  Thomas

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.