Allow building fxos with Clang

This commit is contained in:
Dr-Carlos 2022-12-20 15:33:29 +10:30
parent bbd25b625c
commit 5a3de5aa17
3 changed files with 4 additions and 3 deletions

View File

@ -87,7 +87,7 @@ struct BitfieldType: public BaseType
should equal the size of the array type. */
struct ArrayType: public BaseType
{
struct DataType *object_type;
class DataType *object_type;
int elements;
};

View File

@ -28,14 +28,14 @@ auto constexpr Bottom = RelConst::Bottom;
return bottom(); \
}
inline RelConst RelConstDomain::bottom() const noexcept
RelConst RelConstDomain::bottom() const noexcept
{
RelConst b {};
b.spe = Bottom;
return b;
}
inline RelConst RelConstDomain::top() const noexcept
RelConst RelConstDomain::top() const noexcept
{
RelConst b {};
b.spe = Top;

View File

@ -6,6 +6,7 @@
#include <fxos/symbols.h>
#include <fmt/core.h>
#include <endian.h>
//---
// sh