Skip to content
Snippets Groups Projects
Verified Commit ff0e094d authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Macroprocessor: MinGW bug for filesystem::path→string implicit conversion is...

Macroprocessor: MinGW bug for filesystem::path→string implicit conversion is still present in Debian 11
parent 3d894b3a
No related branches found
No related tags found
No related merge requests found
Pipeline #6687 passed
...@@ -72,9 +72,10 @@ Include::interpret(ostream &output, Environment &env, vector<filesystem::path> & ...@@ -72,9 +72,10 @@ Include::interpret(ostream &output, Environment &env, vector<filesystem::path> &
} }
} }
Driver m; Driver m;
// Calling `string()` method on filename and filename.stem() because of bug in /* Calling `string()` method on filename and filename.stem() because of
// MinGW 8.3.0 that ignores implicit conversion to string from filename::path. bug in GCC/MinGW 10.2 (shipped in Debian “Bullseye” 11), that fails
// Test if bug exists when version of MinGW is upgraded on Debian runners to accept implicit conversion to string from filename::path. See
https://en.cppreference.com/w/cpp/filesystem/path/native. */
m.parse(filename.string(), filename.stem().string(), incfile, false, {}, env, paths, output); m.parse(filename.string(), filename.stem().string(), incfile, false, {}, env, paths, output);
} }
catch (StackTrace &ex) catch (StackTrace &ex)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment