Skip to content

Commit 5fe84dd

Browse files
committed
Got rid of error in printing macro constraints prop error message - needed to convert std string to c string
1 parent 34641cb commit 5fe84dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/place/place_constraints.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ void print_macro_constraint_error(const t_pl_macro& pl_macro) {
146146
"The placement macro contains the following blocks: \n");
147147
for (unsigned int i = 0; i < pl_macro.members.size(); i++) {
148148
std::string blk_name = cluster_ctx.clb_nlist.block_name((pl_macro.members[i].blk_index));
149-
VTR_LOG("Block %s (#%zu) ", blk_name, size_t(pl_macro.members[i].blk_index));
149+
VTR_LOG("Block %s (#%zu) ", blk_name.c_str(), size_t(pl_macro.members[i].blk_index));
150150
}
151151
VTR_LOG("\n");
152152
VPR_ERROR(VPR_ERROR_PLACE, " \n Check that the above-mentioned placement macro blocks have compatible floorplan constraints.\n");

0 commit comments

Comments
 (0)