Skip to content

Commit

Permalink
[cpp] Absolute paths with absolute-path (#11763)
Browse files Browse the repository at this point in the history
* make the stack frame paths absolute

* Ensure we use a full path with the absolute-path define
  • Loading branch information
Aidan63 authored Sep 9, 2024
1 parent 3b050f0 commit bd0a349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generators/gencpp.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ exception PathFound of string;;


let strip_file ctx file = (match Common.defined ctx Common.Define.AbsolutePath with
| true -> file
| true -> Path.get_full_path file
| false -> ctx.class_paths#relative_path file)
;;

Expand Down

0 comments on commit bd0a349

Please sign in to comment.