#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
228955 |
|
29-Dec-2011 |
ed |
Don't define static_assert for C++.
Even though _Static_assert() is pretty robust for C code, it cannot work correctly with C++ code. This is due to the fact that C++ template parameters may contain commas that are not enclosed in parentheses. For example:
static_assert(foo<int, int>::bar == baz, "...");
This causes _Static_assert to be called with an excessive number of parameters. If you want to use static_assert in C++, just use a C++11 compiler.
Reported on: current@, ports@
|
#
228902 |
|
26-Dec-2011 |
ed |
As per C11, add static_assert() to <assert.h>.
|
#
217207 |
|
09-Jan-2011 |
ed |
Add missing __dead2 to __assert().
__assert() is called when an assertion fails. After printing an error message, it will call abort(). abort() never returns, hence it has the __dead2 attribute. Also add this attribute to __assert().
MFC after: 3 weeks
|
#
203964 |
|
16-Feb-2010 |
imp |
Remove the Berkeley clause 3's. Add a few $FreeBSD$
|
#
174133 |
|
01-Dec-2007 |
phk |
Only protect the prototypes with #ifndef _ASSERT_H_, the standards specifically allow changes to the NDEBUG macro between #includes of assert.h
|
#
174131 |
|
01-Dec-2007 |
phk |
Add missing #ifndef _ASSERT_H_ protection against multiple inclusions
|
#
93032 |
|
23-Mar-2002 |
imp |
Breath deep and take __P out of the system include files.
# This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure.
|
#
85605 |
|
27-Oct-2001 |
mike |
Restore K&R prototype. Fix other style bugs.
Reviewed by: asmodai, bde
|
#
85421 |
|
24-Oct-2001 |
asmodai |
Add $FreeBSD$. Change assert() macro to print failing function name. Change K&R function prototype wrapper to ANSI prototype. This makes us C99 conforming.
|
#
1540 |
|
24-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1539, which included commits to RCS files with non-trunk default branches.
|
#
1539 |
|
24-May-1994 |
rgrimes |
BSD 4.4 Lite Include Sources
|