more updates
This commit is contained in:
parent
9a2876cfb9
commit
03e3a98f78
3 changed files with 3 additions and 3 deletions
|
|
@ -8,7 +8,6 @@ AlignConsecutiveAssignments:
|
|||
AcrossEmptyLines: false
|
||||
AcrossComments: false
|
||||
AlignCompound: false
|
||||
AlignFunctionDeclarations: false
|
||||
AlignFunctionPointers: false
|
||||
PadOperators: true
|
||||
AlignConsecutiveBitFields:
|
||||
|
|
|
|||
3
makefile
3
makefile
|
|
@ -27,10 +27,12 @@ WARNFLAGS := \
|
|||
-Wduplicated-cond \
|
||||
-Wduplicated-branches \
|
||||
-Wnull-dereference \
|
||||
-Wno-conversion \
|
||||
-Wformat-overflow \
|
||||
-Wformat-truncation \
|
||||
-Wdouble-promotion \
|
||||
-Wundef
|
||||
|
||||
BASEDEFS := -DLOCAL
|
||||
INCLUDES := -I$(INCLUDE_DIR)
|
||||
|
||||
|
|
@ -48,6 +50,7 @@ DBGFLAGS := \
|
|||
-ffunction-sections \
|
||||
-D_GLIBCXX_DEBUG \
|
||||
-D_GLIBCXX_DEBUG_PEDANTIC
|
||||
|
||||
DBG_LDFLAGS := \
|
||||
-fsanitize=address,undefined \
|
||||
-fsanitize=float-divide-by-zero \
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#include <cassert>
|
||||
|
||||
#include "../include/bmath.hh"
|
||||
|
||||
int main() {
|
||||
assert(bmath::add(3, 4) == 3 + 3);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue