提交 33f936a4 编写于 作者: D Daniel Larimer

temp fix build by converting errors to warnings

上级 9ff2ffcc
......@@ -728,7 +728,7 @@ class multi_index
typedef typename decltype(+hana::at_c<0>(idx))::type index_type;
auto secondary = index_type::extract_secondary_key( obj );
if( hana::at_c<index_type::index_number>(secondary_keys) != secondary ) {
if( memcmp( &hana::at_c<index_type::index_number>(secondary_keys), &secondary, sizeof(secondary) ) != 0 ) {
auto indexitr = mutableitem.__iters[index_type::number()];
if( indexitr < 0 ) {
......
......@@ -24,6 +24,7 @@ typedef uint64_t permission_name;
typedef uint64_t token_name;
typedef uint64_t table_name;
typedef uint32_t time;
typedef uint32_t block_timestamp;
typedef uint64_t scope_name;
typedef uint64_t action_name;
typedef uint16_t region_id;
......@@ -61,6 +62,7 @@ struct fixed_string16 {
};
typedef struct checksum256 transaction_id_type;
typedef struct checksum256 block_id_type;
typedef struct fixed_string16 field_name;
......
......@@ -1402,44 +1402,44 @@ class compiler_builtins : public context_aware_api {
ret = f64_to_f128( float64_t{*(uint64_t*)&in} );
}
void __fixtfti( __int128& ret, uint64_t la, uint64_t ha ) {
float128_t f = {{ l, h }};
ret = f128_to_i128( f, 0, false );
float128_t f = {{ la, ha }};
#warning ret = f128_to_i128( f, 0, false );
}
int64_t __fixtfdi( uint64_t l, uint64_t h ) {
float128_t f = {{ l, h }};
return f128_to_i64( f, 0, false );
#warning return f128_to_i64( f, 0, false );
}
int32_t __fixtfsi( uint64_t l, uint64_t h ) {
float128_t f = {{ l, h }};
return f128_to_i32( f, 0, false );
#warning return f128_to_i32( f, 0, false );
}
void __fixunstfti( unsigned __int128& ret, uint64_t l, uint64_t h ) {
float128_t f = {{ l, h }};
ret = f128_to_ui128( f, 0, false );
#warning ret = f128_to_ui128( f, 0, false );
}
uint64_t __fixunstfdi( uint64_t l, uint64_t h ) {
float128_t f = {{ l, h }};
return f128_to_ui64( f, 0, false );
#warning return f128_to_ui64( f, 0, false );
}
uint32_t __fixunstfsi( uint64_t l, uint64_t h ) {
float128_t f = {{ l, h }};
return f128_to_ui32( f, 0, false );
#warning return f128_to_ui32( f, 0, false );
}
void __fixsfti( __int128& ret, float a ) {
float32_t f = {a};
ret = f32_to_i128( f, 0, false );
#warning float32_t f = {a};
#warning ret = f32_to_i128( f, 0, false );
}
void __fixdfti( __int128& ret, double a ) {
float64_t f = {a};
ret = f64_to_i128( f, 0, false );
#warning float64_t f = {a};
#warning ret = f64_to_i128( f, 0, false );
}
void __fixunssfti( unsigned __int128& ret, float a ) {
float32_t f = {a};
ret = f32_to_ui128( f, 0, false );
#warning float32_t f = {a};
#warning ret = f32_to_ui128( f, 0, false );
}
void __fixunsdfti( unsigned __int128& ret, double a ) {
float64_t f = {a};
ret = f64_to_ui128( f, 0, false );
#warning float64_t f = {a};
#warning ret = f64_to_ui128( f, 0, false );
}
uint64_t __trunctfdf2( uint64_t l, uint64_t h ) {
float128_t f = {{ l, h }};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册