mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-30 13:19:05 +00:00
Remove .c_str() from log_cmd_error() and log_file_error() parameters
This commit is contained in:
parent
b95549b469
commit
5ac6858f26
59 changed files with 163 additions and 163 deletions
|
@ -555,7 +555,7 @@ struct OptLutPass : public Pass {
|
|||
{
|
||||
std::string tech = args[++argidx];
|
||||
if (tech != "ice40")
|
||||
log_cmd_error("Unsupported -tech argument: %s\n", tech.c_str());
|
||||
log_cmd_error("Unsupported -tech argument: %s\n", tech);
|
||||
|
||||
dlogic = {{
|
||||
ID(SB_CARRY),
|
||||
|
|
|
@ -59,7 +59,7 @@ struct OptLutInsPass : public Pass {
|
|||
extra_args(args, argidx, design);
|
||||
|
||||
if (techname != "" && techname != "xilinx" && techname != "lattice" && techname != "ecp5" && techname != "gowin")
|
||||
log_cmd_error("Unsupported technology: '%s'\n", techname.c_str());
|
||||
log_cmd_error("Unsupported technology: '%s'\n", techname);
|
||||
|
||||
for (auto module : design->selected_modules())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue