[engine] fixed syntax errors when using clang
This commit is contained in:
parent
b432ac05b4
commit
25f6c529e0
|
@ -8,6 +8,7 @@ files_to_dirs(LIB_HEADERS LIB_INCLUDE_DIRS)
|
||||||
#Create the library
|
#Create the library
|
||||||
add_library(libini STATIC
|
add_library(libini STATIC
|
||||||
${LIB_HEADERS})
|
${LIB_HEADERS})
|
||||||
|
target_link_libraries(libini)
|
||||||
|
|
||||||
target_include_directories(libini PUBLIC ${LIB_INCLUDE_DIRS})
|
target_include_directories(libini PUBLIC ${LIB_INCLUDE_DIRS})
|
||||||
set_target_properties(libini PROPERTIES PREFIX "" LINKER_LANGUAGE CXX)
|
set_target_properties(libini PROPERTIES PREFIX "" LINKER_LANGUAGE CXX)
|
||||||
|
|
|
@ -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",
|
VTR_LOG_ERROR("Unable to find the circuit model for rr_switch '%s'!\n",
|
||||||
rr_graph.rr_switch_inf(driver_switches[0]).name);
|
rr_graph.rr_switch_inf(driver_switches[0]).name);
|
||||||
VTR_LOG("Node type: %s\n", rr_graph.node_type_string(node));
|
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);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue