diff options
author | Giovanni Conte <gconte@cisco.com> | 2019-01-16 12:09:43 +0100 |
---|---|---|
committer | Giovanni Conte <gconte@cisco.com> | 2019-01-16 18:15:26 +0100 |
commit | 33b53c7f5cef4cf19770a38baa4b627f234322cf (patch) | |
tree | 619dc322af2616fea2c97d812b69131aa26f45a8 /libparc/parc/algol/parc_Object.h | |
parent | db496684a300b2d65ae7739c918177111d5a3500 (diff) |
removed longbow dependency
Change-Id: I0c224b26261c7b24699410fc5e41ed6f3fab9815
Signed-off-by: Giovanni Conte <gconte@cisco.com>
Diffstat (limited to 'libparc/parc/algol/parc_Object.h')
-rw-r--r-- | libparc/parc/algol/parc_Object.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libparc/parc/algol/parc_Object.h b/libparc/parc/algol/parc_Object.h index 0f3a932b..b1a48558 100644 --- a/libparc/parc/algol/parc_Object.h +++ b/libparc/parc/algol/parc_Object.h @@ -42,8 +42,7 @@ #include <stdint.h> #include <time.h> -#include <LongBow/runtime.h> -#include <LongBow/longBow_Compiler.h> +#include <parc/assert/parc_Assert.h> #include <parc/algol/parc_CMacro.h> //#include <parc/algol/parc_JSON.h> @@ -598,8 +597,9 @@ const PARCObjectDescriptor *parcObject_SetDescriptor(PARCObject *object, const P * Create new `PARCObjectDescriptor` based on an existing `PARCObjectDescriptor.` * The new `PARCObjectDescriptor` uses the existing `PARCObjectDescriptor` as the super-type of the new descriptor. */ + #define parcObject_Extends(_subtype, _superType, ...) \ - LongBowCompiler_IgnoreInitializerOverrides \ + _Pragma("GCC diagnostic ignored \"-Woverride-init\"") \ parcObjectDescriptor_Declaration(_subtype) = { \ .super = &parcObject_DescriptorName(_superType), \ .name = #_subtype, \ @@ -619,7 +619,7 @@ const PARCObjectDescriptor *parcObject_SetDescriptor(PARCObject *object, const P .typeState = NULL, \ __VA_ARGS__ \ }; \ - LongBowCompiler_WarnInitializerOverrides \ + _Pragma("GCC diagnostic warning \"-Woverride-init\"") \ const PARCObjectDescriptor parcObject_DescriptorName(_subtype) /** |