Unverified Commit fb8e12f3 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #5397 from dearblue/c++dump

Fix build failures with `enable_debug` and `enable_cxx_abi`
parents 474ec3e5 3e48f4ee
...@@ -1207,7 +1207,7 @@ dump_debug(mrb_state *mrb, const char *name, int n, mrb_irep_debug_info *info, ...@@ -1207,7 +1207,7 @@ dump_debug(mrb_state *mrb, const char *name, int n, mrb_irep_debug_info *info,
fputs("};\n", fp); fputs("};\n", fp);
fprintf(fp, "static mrb_irep_debug_info_file %s_debug_file_%d = {\n", name, n); fprintf(fp, "static mrb_irep_debug_info_file %s_debug_file_%d = {\n", name, n);
fprintf(fp, "%d, %d, %d, 0, {%s_debug_lines_%d}};\n", fprintf(fp, "%d, %d, %d, mrb_debug_line_ary, {%s_debug_lines_%d}};\n",
info->files[0]->start_pos, info->files[0]->start_pos,
info->files[0]->filename_sym, info->files[0]->filename_sym,
info->files[0]->line_entry_count, info->files[0]->line_entry_count,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment