diff --git a/include/fxos/semantics.h b/include/fxos/semantics.h index 631da14..3e0201f 100644 --- a/include/fxos/semantics.h +++ b/include/fxos/semantics.h @@ -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; }; diff --git a/lib/ai/RelConst.cpp b/lib/ai/RelConst.cpp index 36d7719..a72cb5e 100644 --- a/lib/ai/RelConst.cpp +++ b/lib/ai/RelConst.cpp @@ -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; diff --git a/shell/s.cpp b/shell/s.cpp index ed5838b..b9196c7 100644 --- a/shell/s.cpp +++ b/shell/s.cpp @@ -6,6 +6,7 @@ #include #include +#include //--- // sh