1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Clang: Fix build errors when using a recent clang-cl

This commit is contained in:
reuk 2020-06-29 11:54:41 +01:00
parent ab6c407b9f
commit ac2d7ee272
7 changed files with 15 additions and 7 deletions

View file

@ -248,10 +248,10 @@ namespace build_tools
auto r = writeHeader (mo);
if (r.failed())
return { r };
return { r, {} };
if (! overwriteFileWithNewDataIfDifferent (headerFile, mo))
return { Result::fail ("Can't write to file: " + headerFile.getFullPathName()) };
return { Result::fail ("Can't write to file: " + headerFile.getFullPathName()), {} };
filesCreated.add (headerFile);
}