NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
standards/50848: missing static_assert macro in <assert.h>
>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:
Home |
Main Index |
Thread Index |
Old Index