From: Ruben Undheim Date: Fri, 12 Oct 2018 20:02:29 +0000 (+0200) Subject: Fix build error with clang X-Git-Tag: yosys-0.9~440^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a36d1701dd99736b82f64ed870e7464f2deae220;p=yosys.git Fix build error with clang --- diff --git a/frontends/ast/ast.cc b/frontends/ast/ast.cc index 10fd5277a..b3f78c922 100644 --- a/frontends/ast/ast.cc +++ b/frontends/ast/ast.cc @@ -1199,7 +1199,7 @@ RTLIL::IdString AstModule::derive(RTLIL::Design *design, dictset_bool_attribute("\\is_interface"); } else { - log_error("No port with matching name found (%s) in %s. Stopping\n", log_id(intf.first), modname); + log_error("No port with matching name found (%s) in %s. Stopping\n", log_id(intf.first), modname.c_str()); } }