mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
we have to use c++14 now for llvm10
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -498,7 +498,7 @@ include_directories(
|
||||
)
|
||||
|
||||
# These have to go before the -Wno- flags
|
||||
set(EXE_CFLAGS "-std=c++11")
|
||||
set(EXE_CFLAGS "-std=c++14")
|
||||
if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
||||
if(MSVC)
|
||||
set(EXE_CFLAGS "${EXE_CFLAGS} /w")
|
||||
|
||||
+1
-1
@@ -150,7 +150,7 @@ LLVMTargetMachineRef ZigLLVMCreateTargetMachine(LLVMTargetRef T, const char *Tri
|
||||
}
|
||||
|
||||
unsigned ZigLLVMDataLayoutGetStackAlignment(LLVMTargetDataRef TD) {
|
||||
return unwrap(TD)->getStackAlignment();
|
||||
return unwrap(TD)->getStackAlignment().value();
|
||||
}
|
||||
|
||||
bool ZigLLVMTargetMachineEmitToFile(LLVMTargetMachineRef targ_machine_ref, LLVMModuleRef module_ref,
|
||||
|
||||
Reference in new issue
Block a user