mirror of
https://github.com/corda/corda.git
synced 2025-01-04 04:04:27 +00:00
fix build for GCC 4.3
Note that this requires removing the -Wconversion flag for now. I'll see about restoring it when I'm ready to tackle all those warnings.
This commit is contained in:
parent
6fa847518c
commit
a388ca19ee
3
makefile
3
makefile
@ -52,8 +52,7 @@ strip-all = --strip-all
|
||||
|
||||
rdynamic = -rdynamic
|
||||
|
||||
warnings = -Wall -Wextra -Werror -Wunused-parameter \
|
||||
-Winit-self -Wconversion
|
||||
warnings = -Wall -Wextra -Werror -Wunused-parameter -Winit-self
|
||||
|
||||
common-cflags = $(warnings) -fno-rtti -fno-exceptions \
|
||||
-I$(JAVA_HOME)/include -idirafter $(src) -I$(native-build) \
|
||||
|
@ -78,7 +78,7 @@ set(void** o, void* value)
|
||||
{
|
||||
*o = reinterpret_cast<void*>
|
||||
(reinterpret_cast<uintptr_t>(value)
|
||||
| reinterpret_cast<uintptr_t>(*o) & (~PointerMask));
|
||||
| (reinterpret_cast<uintptr_t>(*o) & (~PointerMask)));
|
||||
}
|
||||
|
||||
inline void
|
||||
|
@ -1484,7 +1484,7 @@ setObjectClass(Thread*, object o, object value)
|
||||
cast<object>(o, 0)
|
||||
= reinterpret_cast<object>
|
||||
(reinterpret_cast<uintptr_t>(value)
|
||||
| reinterpret_cast<uintptr_t>(cast<object>(o, 0)) & (~PointerMask));
|
||||
| (reinterpret_cast<uintptr_t>(cast<object>(o, 0)) & (~PointerMask)));
|
||||
}
|
||||
|
||||
object&
|
||||
|
Loading…
Reference in New Issue
Block a user