| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
Notes:
svn path=/head/; revision=228955
|
| |
|
|
| |
Notes:
svn path=/head/; revision=228902
|
| |
|
|
|
|
|
|
|
|
|
| |
__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
Notes:
svn path=/head/; revision=217207
|
| |
|
|
|
|
|
| |
Add a few $FreeBSD$
Notes:
svn path=/head/; revision=203964
|
| |
|
|
|
|
|
| |
specifically allow changes to the NDEBUG macro between #includes of assert.h
Notes:
svn path=/head/; revision=174133
|
| |
|
|
| |
Notes:
svn path=/head/; revision=174131
|
| |
|
|
|
|
|
|
|
| |
# 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.
Notes:
svn path=/head/; revision=93032
|
| |
|
|
|
|
|
| |
Reviewed by: asmodai, bde
Notes:
svn path=/head/; revision=85605
|
| |
|
|
|
|
|
|
|
| |
Change assert() macro to print failing function name.
Change K&R function prototype wrapper to ANSI prototype.
This makes us C99 conforming.
Notes:
svn path=/head/; revision=85421
|
|
|
Notes:
svn path=/head/; revision=1539
|