Skip to content

Resolve "debout path name"

d.kilic requested to merge 74-debout-path-name into master

Uses a constexpr function to determine the filename from the path given by __FILE__ for use by debout.

This is easier than changing the value of __FILE__ again, since it is determined as follows (under GCC):

This macro expands to the name of the current input file, in the form of a C string constant. This is the path by which the preprocessor opened the file, not the short name specified in ‘#include’ or as the input file name argument. For example, "/usr/local/include/myheader.h" is a possible expansion of this macro.

Closes #74 (closed)

Merge request reports