diff --git a/build-support/compiler-workarounds/ostream-operator-nullptr.h b/build-support/compiler-workarounds/ostream-operator-nullptr.h index e13efe342..feb6b48b7 100644 --- a/build-support/compiler-workarounds/ostream-operator-nullptr.h +++ b/build-support/compiler-workarounds/ostream-operator-nullptr.h @@ -7,7 +7,7 @@ namespace std { inline std::ostream& -operator<<(std::ostream& os, std::nullptr_t ptr) +operator<<(std::ostream& os, std::nullptr_t) { return os << "nullptr"; // whatever you want nullptr to show up as in the console } diff --git a/build-support/empty-main.cc b/build-support/empty-main.cc index df67b9156..1949917ac 100644 --- a/build-support/empty-main.cc +++ b/build-support/empty-main.cc @@ -1,4 +1,5 @@ int main() { + return 0; }