mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
chore(compiler): fix string-conversion
This commit is contained in:
@@ -12,7 +12,7 @@ add_definitions("-Wno-dollar-in-identifier-extension")
|
||||
|
||||
# Wouldn't be able to compile LLVM without this on Mac (using either Clang or AppleClang)
|
||||
if(APPLE)
|
||||
add_definitions("-Wno-narrowing -Wno-string-conversion")
|
||||
add_definitions("-Wno-narrowing")
|
||||
else()
|
||||
add_definitions("-Wall -Werror")
|
||||
endif()
|
||||
|
||||
@@ -60,6 +60,6 @@ mlir::Value getContextArgument(mlir::Operation *op) {
|
||||
}
|
||||
block = block->getParentOp()->getBlock();
|
||||
}
|
||||
assert("can't find a function that enclose the op");
|
||||
assert(false); // can't find a function that enclose the op
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user