From 735adab9df9f17a6a7117e3b4e2c5b1908eddeaa Mon Sep 17 00:00:00 2001 From: tangxifan Date: Tue, 13 Aug 2024 23:24:28 -0700 Subject: [PATCH] [core] syntax due to clang --- openfpga/src/base/openfpga_pb_pin_fixup.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openfpga/src/base/openfpga_pb_pin_fixup.cpp b/openfpga/src/base/openfpga_pb_pin_fixup.cpp index 8591edc44..8908ac389 100644 --- a/openfpga/src/base/openfpga_pb_pin_fixup.cpp +++ b/openfpga/src/base/openfpga_pb_pin_fixup.cpp @@ -180,7 +180,7 @@ static int update_cluster_pin_with_post_routing_results( "Following info is for debugging:\n", physical_tile->name, get_pb_graph_node_pin_from_block_pin(blk_id, physical_pin) - ->to_string(), + ->to_string().c_str(), pin_sides.size()); for (e_side curr_side : pin_sides) { VTR_LOG_ERROR("\t%s\n", SideManager(curr_side).c_str()); @@ -198,7 +198,7 @@ static int update_cluster_pin_with_post_routing_results( "not physically possible.\n", physical_tile->name, get_pb_graph_node_pin_from_block_pin(blk_id, physical_pin) - ->to_string(), + ->to_string().c_str(), SideManager(border_side).c_str()); return CMD_EXEC_FATAL_ERROR; } @@ -208,7 +208,7 @@ static int update_cluster_pin_with_post_routing_results( "Following info is for debugging:\n", physical_tile->name, get_pb_graph_node_pin_from_block_pin(blk_id, physical_pin) - ->to_string(), + ->to_string().c_str(), pin_sides.size()); for (e_side curr_side : pin_sides) { VTR_LOG_ERROR("\t%s\n", SideManager(curr_side).c_str()); @@ -225,7 +225,7 @@ static int update_cluster_pin_with_post_routing_results( "found on the following sides:\n", physical_tile->name, get_pb_graph_node_pin_from_block_pin(blk_id, physical_pin) - ->to_string(), + ->to_string().c_str(), SideManager(side_manager.get_opposite()).c_str()); for (e_side curr_side : pin_sides) { VTR_LOG_ERROR("\t%s\n", SideManager(curr_side).c_str()); @@ -270,7 +270,7 @@ static int update_cluster_pin_with_post_routing_results( clustering_ctx.clb_nlist.block_pb(blk_id)->name, grid_coord.x(), grid_coord.y(), get_pb_graph_node_pin_from_block_pin(blk_id, physical_pin) - ->to_string()); + ->to_string().c_str()); continue; }