endif
VALIDARCH := no
+DEFS := $(EXTRADEFS)
ifeq ($(ARCH),x86)
CROSS := i686-polintos-
} '{' iface_body '}' {
pop_nspace();
pop_nspace();
- $$ = $<iface>3;
+ $$ = $<iface>4;
}
;
void output_methods(Interface *iface, Interface *super, bool prototype);
void output_method_defs(Interface *iface);
- void CPPFile::output_one_method(Interface *iface, Method *m,
- bool prototype, bool retval);
- void CPPFile::output_one_method_ptr(Method *m, Interface *iface);
+ void output_one_method(Interface *iface, Method *m,
+ bool prototype, bool retval);
+ void output_one_method_ptr(Method *m, Interface *iface);
static void output_iface_ns(CPPFile *file, NameSpace *sym);
yyerrorfl(name->file, name->line,
"Explicit size %llu on \"%s\" is too small for "
"type \"%s\", which has a minimum size of %u",
- def.ucon, get_fq_name()->flatten()->c_str(),
+ (unsigned long long)def.ucon,
+ get_fq_name()->flatten()->c_str(),
type->get_fq_name()->flatten()->c_str(), defsize);
}
}
#ifndef _LL_ARCH_TYPES_H
#define _LL_ARCH_TYPES_H
+#include <stddef.h>
+
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef int int32_t;
typedef long long int64_t;
+#if 0
+#ifndef _SIZE_T
+#define _SIZE_T
typedef unsigned long size_t;
+#endif
+#endif
+
+#ifndef _SSIZE_T
+#define _SSIZE_T
typedef long ssize_t;
+#endif
+
+#ifndef _INTPTR_T
+#define _INTPTR_T
typedef long intptr_t;
+#endif
+
+#ifndef _UINTPTR_T
+#define _UINTPTR_T
typedef unsigned long uintptr_t;
+#endif
+
+#ifndef _PTRDIFF_T
+#define _PTRDIFF_T
typedef long ptrdiff_t;
+#endif
#define _LL_LONG_BYTES 4
#define _LL_LONG_LOGBYTES 2
union {
System::RunTime::ParamInfoBlock *pib;
- ulong exptr;
+ uintptr_t exptr;
};
union {
- ulong caller;
- ulong exlen;
+ uintptr_t caller;
+ size_t exlen;
};
ulong eip, cs, eflags, user_esp, user_ss;