mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:27:43 +00:00
Everywhere: Rename CommandResult stdout, stderr members to output, error
The names stdout / stderr are bound to conflict with existing declarations when compiling against other LibC's. The build on OpenBSD is broken for this reason at the moment. Lets rename the members to more generic names to resolve the situation.
This commit is contained in:
parent
f3f3b32a00
commit
4674577d80
4 changed files with 8 additions and 8 deletions
|
@ -193,7 +193,7 @@ void ProjectBuilder::for_each_library_definition(Function<void(String, String)>
|
|||
}
|
||||
|
||||
static const Regex<ECMA262> parse_library_definition(R"~~~(.+:serenity_lib[c]?\((\w+) (\w+)\).*)~~~");
|
||||
for (auto& line : res.value().stdout.split('\n')) {
|
||||
for (auto& line : res.value().output.split('\n')) {
|
||||
RegexResult result;
|
||||
if (!parse_library_definition.search(line, result))
|
||||
continue;
|
||||
|
@ -220,7 +220,7 @@ void ProjectBuilder::for_each_library_dependencies(Function<void(String, Vector<
|
|||
}
|
||||
|
||||
static const Regex<ECMA262> parse_library_definition(R"~~~(.+:target_link_libraries\((\w+) ([\w\s]+)\).*)~~~");
|
||||
for (auto& line : res.value().stdout.split('\n')) {
|
||||
for (auto& line : res.value().output.split('\n')) {
|
||||
|
||||
RegexResult result;
|
||||
if (!parse_library_definition.search(line, result))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue