mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-27 21:38:40 +02:00
Some work toward Issue 27 and Issue 319
This commit is contained in:
parent
fea12827d4
commit
f974d8d680
74 changed files with 4057 additions and 3756 deletions
|
@ -98,6 +98,10 @@
|
|||
// this one's a little too aggressive
|
||||
# pragma warning(disable: 4127) // conditional expression is constant
|
||||
|
||||
// Code Analysis
|
||||
# pragma warning(disable: 6011)
|
||||
|
||||
|
||||
// emitted incorrectly under release build in some circumstances
|
||||
# if defined(NDEBUG)
|
||||
# pragma warning(disable: 4702) // unreachable code
|
||||
|
@ -129,6 +133,15 @@
|
|||
// define NULL
|
||||
#include <stddef.h>
|
||||
|
||||
// we don't want to use NULL since it's old and nasty, so replace any
|
||||
// usages with nullptr (warning: this could break many things).
|
||||
// if not c++0x yet, future proof code by allowing use of nullptr
|
||||
#ifdef nullptr
|
||||
#define NULL nullptr
|
||||
#else
|
||||
#define nullptr NULL
|
||||
#endif
|
||||
|
||||
// make assert available since we use it a lot
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue