diff --git a/src/macro/Directives.cc b/src/macro/Directives.cc index eb7ad24e..07695925 100644 --- a/src/macro/Directives.cc +++ b/src/macro/Directives.cc @@ -73,7 +73,10 @@ Include::interpret(ostream &output, bool no_line_macro, vector } } Driver m(env, no_line_macro); - m.parse(filename, filename.stem(), incfile, output, false, vector>{}, paths); + // Calling `string()` method on filename and filename.stem() because of bug in + // MinGW 8.3.0 that ignores implicit conversion to string from filename::path. + // Test if bug exists when version of MinGW is upgraded on Debian runners + m.parse(filename.string(), filename.stem().string(), incfile, output, false, vector>{}, paths); } catch (StackTrace &ex) {