NetBSD Problem Report #50848

From www@NetBSD.org  Thu Feb 25 01:22:34 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D86BB7ABF4
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 25 Feb 2016 01:22:34 +0000 (UTC)
Message-Id: <20160225012233.E6D1B7ACD9@mollari.NetBSD.org>
Date: Thu, 25 Feb 2016 01:22:33 +0000 (UTC)
From: rhansen@rhansen.org
Reply-To: rhansen@rhansen.org
To: gnats-bugs@NetBSD.org
Subject: missing static_assert macro in <assert.h>
X-Send-Pr-Version: www-1.0

>Number:         50848
>Category:       standards
>Synopsis:       missing static_assert macro in <assert.h>
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    standards-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 25 01:25:00 +0000 2016
>Closed-Date:    Mon Sep 09 10:50:31 +0000 2024
>Last-Modified:  Mon Sep 09 10:50:31 +0000 2024
>Originator:     Richard hansen
>Release:        7.0
>Organization:
>Environment:
NetBSD example.com 7.0 NetBSD 7.0 (GENERIC.201509250726Z) amd64
>Description:
The C11 standard [1] says that assert.h defines the static_assert macro and that it expands to _Static_assert.  This is not the case on NetBSD 7.  (The version of gcc that comes with NetBSD 7 does support _Static_assert.)

[1] http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Mon, 09 Sep 2024 10:50:31 +0000
State-Changed-Why:
This was fixed in netbsd-9, and netbsd<9 is EOL.


>Unformatted:

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.