[engine] fixed syntax errors when using clang

This commit is contained in:
tangxifan 2022-08-25 09:58:43 -07:00
parent b432ac05b4
commit 25f6c529e0
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ files_to_dirs(LIB_HEADERS LIB_INCLUDE_DIRS)
#Create the library
add_library(libini STATIC
${LIB_HEADERS})
target_link_libraries(libini)
target_include_directories(libini PUBLIC ${LIB_INCLUDE_DIRS})
set_target_properties(libini PROPERTIES PREFIX "" LINKER_LANGUAGE CXX)

View File

@ -58,7 +58,7 @@ void build_routing_arch_mux_library(const RRGraphView& rr_graph,
VTR_LOG_ERROR("Unable to find the circuit model for rr_switch '%s'!\n",
rr_graph.rr_switch_inf(driver_switches[0]).name);
VTR_LOG("Node type: %s\n", rr_graph.node_type_string(node));
VTR_LOG("Node coordinate: %s\n", rr_graph.node_coordinate_to_string(node));
VTR_LOG("Node coordinate: %s\n", rr_graph.node_coordinate_to_string(node).c_str());
exit(1);
}