mirror of
https://github.com/corda/corda.git
synced 2025-01-04 04:04:27 +00:00
pass -std=c++11 to Clang for C++ code
This commit is contained in:
parent
879df617df
commit
bd7ef24734
2
makefile
2
makefile
@ -139,7 +139,7 @@ endif
|
||||
input = List
|
||||
|
||||
ifeq ($(use-clang),true)
|
||||
build-cxx = clang
|
||||
build-cxx = clang -std=c++11
|
||||
build-cc = clang
|
||||
else
|
||||
build-cxx = g++
|
||||
|
@ -1578,7 +1578,7 @@ class ConstantSite: public Site {
|
||||
virtual unsigned toString(Context*, char* buffer, unsigned bufferSize) {
|
||||
if (value->resolved()) {
|
||||
return vm::snprintf
|
||||
(buffer, bufferSize, "constant %"LLD, value->value());
|
||||
(buffer, bufferSize, "constant %" LLD, value->value());
|
||||
} else {
|
||||
return vm::snprintf(buffer, bufferSize, "constant unresolved");
|
||||
}
|
||||
@ -1669,7 +1669,7 @@ class AddressSite: public Site {
|
||||
virtual unsigned toString(Context*, char* buffer, unsigned bufferSize) {
|
||||
if (address->resolved()) {
|
||||
return vm::snprintf
|
||||
(buffer, bufferSize, "address %"LLD, address->value());
|
||||
(buffer, bufferSize, "address %" LLD, address->value());
|
||||
} else {
|
||||
return vm::snprintf(buffer, bufferSize, "address unresolved");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user