Enable addtional compilation warnings

These warnings are not enabled by default with -Wall nor with -Wextra.
This commit is contained in:
Pietro Fezzardi
2022-06-14 12:21:22 +02:00
parent 71b99464fe
commit ad81bc7020
8 changed files with 23 additions and 14 deletions
+1
View File
@@ -26,6 +26,7 @@ using NodeAllocatorT = SpecificBumpPtrAllocator<dla::LayoutTypeSystemNode>;
static Logger<> CollapsedNodePrinter("dla-print-collapsed-in-dot");
void *operator new(size_t, NodeAllocatorT &NodeAllocator);
void *operator new(size_t, NodeAllocatorT &NodeAllocator) {
return NodeAllocator.Allocate();
}