Go to file
kamil 7db6ba3b08 Import <stdalign.h>
This header conforms to the C11 standard
Reference: ISO/IEC 9899:201x 7.15 Alignment <stdalign.h>

According to ISO/IEC 9899:201x (draft) 7.15 Alignment <stdalign.h> defines
four macros:
 - alignas which expands to _Alignas
 - alignof which expands to _Alignof
 - __alignas_is_defined and __alignof_is_defined which both expand to 1

The _Alignas declaration appears as one of the type specifiers to modify
the alignment requirement of the object being declared.

The _Alignof operator is used to query the alignment requirement of its
operand type.

ISO/IEC N3242=11-0012 (C++1x) and ISO/IEC N3797 (C++1y) both note a header
<cstdalign> which defines only __alignas_is_defined and shall not define
the alignas macro. It misses the alignof case as it's probably based on an
older C1x draft, which defined only alignas. Assume that this is a bug in
the standard and treat alignof the same way as alignas in C++11.

Allow to define alignas and alignof in C++ prior the C++11 standard. It
might be broken but a nonstandard C++ compiler might support C11-like
_Alignas and _Alignof. Note that it's fatal for g++(1) v.5.4.
2016-10-02 17:19:00 +00:00
bin Drop main() prototype. 2016-09-05 01:00:07 +00:00
common PR port-ia64/51261 2016-08-05 15:06:02 +00:00
compat remove the xfree86 reachover makefiles and the vast majority of 2015-07-23 08:03:24 +00:00
crypto Add section number to the Xrefs 2016-09-12 16:54:31 +00:00
dist/pf PR 50709 David Binderman: memory leak 2016-05-30 17:21:07 +00:00
distrib Import <stdalign.h> 2016-10-02 17:19:00 +00:00
doc Note tzdata update to 2016g 2016-09-29 20:44:06 +00:00
etc Fix to cannnot be opened a nvme(4) namespace device file. 2016-09-08 15:00:08 +00:00
external Merge tzdata2016g 2016-09-29 20:41:33 +00:00
extsrc
games Fix another place with a wrong author of "Unkempt Thoughts" 2016-08-28 19:44:44 +00:00
gnu has moved to external/gpl3 2016-01-16 18:41:12 +00:00
include Import <stdalign.h> 2016-10-02 17:19:00 +00:00
lib Be more careful about preserving errno. Might conceivably be related 2016-09-30 06:22:21 +00:00
libexec Missed in previous: exit 1 if html_cmp says no match. 2016-09-26 00:21:22 +00:00
regress Fix the mmap call, KNF, and make the output more readable. 2016-09-03 08:47:38 +00:00
rescue vnconfig(8) was renamed to vndconfig(8) some time ago, and most places 2016-08-04 03:50:55 +00:00
sbin Return to printing explicit "netmask 0x...." in the case that the 2016-10-01 20:59:49 +00:00
share Add NetBSD 7.0.1 2016-09-29 15:10:37 +00:00
sys drop wl_mtx mutex during call to pool_get() with PR_WAITOK 2016-10-02 16:52:27 +00:00
tests This test works fine on real hardware, but due to PR kern/43997 (qemu 2016-10-02 15:27:32 +00:00
tools Add exec_ecoff.h 2016-09-14 00:41:04 +00:00
usr.bin define the attribute first. 2016-09-13 16:06:59 +00:00
usr.sbin Sprinkle some RCSID loving. 2016-09-29 15:25:28 +00:00
BUILDING Document MKREPRO_TIMESTAMP. 2016-01-29 13:51:13 +00:00
Makefile fix direct reference to texinfo, bleh 2016-01-14 02:51:25 +00:00
Makefile.inc
UPDATING switch amd64, i386, shark, ofppc and macppc to xorg-server 1.18. 2016-09-15 07:49:08 +00:00
build.sh When setting TOP the idea is to run the [/usr]/bin/pwd binary, and 2016-06-03 00:00:01 +00:00