mirror of
https://github.com/corda/corda.git
synced 2025-01-15 09:20:22 +00:00
compiles but doesn't link
This commit is contained in:
parent
1cb866aac1
commit
d595a2fd61
@ -2,6 +2,7 @@
|
|||||||
#define COMMON_H
|
#define COMMON_H
|
||||||
|
|
||||||
#include "stdint.h"
|
#include "stdint.h"
|
||||||
|
#include "stdlib.h"
|
||||||
#include "stdarg.h"
|
#include "stdarg.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
#include "stdio.h"
|
#include "stdio.h"
|
||||||
|
@ -57,11 +57,15 @@ class Stream {
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint32_t readFloat() {
|
uint32_t readFloat() {
|
||||||
#error todo
|
// todo
|
||||||
|
read4();
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t readDouble() {
|
uint64_t readDouble() {
|
||||||
#error todo
|
// todo
|
||||||
|
read8();
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -57,7 +57,7 @@ class System {
|
|||||||
virtual Status start(Thread*) = 0;
|
virtual Status start(Thread*) = 0;
|
||||||
virtual Status make(Monitor**) = 0;
|
virtual Status make(Monitor**) = 0;
|
||||||
virtual Status open(File**, const char* path, int flags, int mode) = 0;
|
virtual Status open(File**, const char* path, int flags, int mode) = 0;
|
||||||
virtual void NO_RETURN abort() = 0;
|
virtual void abort() = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif//SYSTEM_H
|
#endif//SYSTEM_H
|
||||||
|
@ -134,7 +134,8 @@ class RawMonitorResource {
|
|||||||
inline void NO_RETURN
|
inline void NO_RETURN
|
||||||
abort(Thread* t)
|
abort(Thread* t)
|
||||||
{
|
{
|
||||||
t->vm->sys->abort();
|
t->vm->sys->abort(); // this should not return
|
||||||
|
::abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void
|
inline void
|
||||||
@ -1045,6 +1046,8 @@ parseCode(Thread* t, Stream& s, object pool)
|
|||||||
s.read2();
|
s.read2();
|
||||||
s.skip(s.read4());
|
s.skip(s.read4());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned
|
unsigned
|
||||||
|
Loading…
Reference in New Issue
Block a user