vcpkg/ports/reproc/fix-gcc13-build-error.patch
Cheney Wang 83cdde6707
[reproc] Fix gcc 13 build error (#34885)
* [reproc] Fix gcc 13 build error

* Add comment
2023-11-05 08:58:30 -08:00

29 lines
771 B
Diff

diff --git a/reproc++/include/reproc++/reproc.hpp b/reproc++/include/reproc++/reproc.hpp
index ab6f139..d4b370f 100644
--- a/reproc++/include/reproc++/reproc.hpp
+++ b/reproc++/include/reproc++/reproc.hpp
@@ -88,18 +88,18 @@ struct redirect {
struct options {
struct {
- env::type behavior;
+ reproc::env::type behavior;
/*! Implicitly converts from any STL container of string pairs to the
environment format expected by `reproc_start`. */
- class env extra;
+ reproc::env extra;
} env = {};
const char *working_directory = nullptr;
struct {
- redirect in;
- redirect out;
- redirect err;
+ struct redirect in;
+ struct redirect out;
+ struct redirect err;
bool parent;
bool discard;
FILE *file;