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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 25 01:25:00 +0000 2016
>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:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.