Make compilation process compatible to linux on gcc

This commit is contained in:
Jan committed 2021-03-03 06:21:25 -08:00
1 parent 1cd06668e0
commit b4d8e9c17b
23 files changed
+210 -23

No files matched your search

@@ -1,5 +1,7 @@
#include "BaseTypeDefinition.h"
#include <type_traits>
BaseTypeDefinition::BaseTypeDefinition(std::string name, const unsigned size)
: DataDefinition("", std::move(name)),
m_size(size)
@@ -57,4 +59,4 @@ const BaseTypeDefinition* const BaseTypeDefinition::ALL_BASE_TYPES[]
UNSIGNED_LONG_LONG,
VOID
};
const size_t BaseTypeDefinition::ALL_BASE_TYPES_COUNT = _countof(ALL_BASE_TYPES);
const size_t BaseTypeDefinition::ALL_BASE_TYPES_COUNT = std::extent<decltype(ALL_BASE_TYPES)>::value;