Fixes a slew of compiler warnings and turns on "warning as error" in the scons build.
diff --git a/test/gmock-port_test.cc b/test/gmock-port_test.cc
index b2afb93..054313b 100644
--- a/test/gmock-port_test.cc
+++ b/test/gmock-port_test.cc
@@ -85,7 +85,7 @@
}
private:
- bool* const converted_;
+ bool* converted_;
};
TEST(ImplicitCastTest, CanUseNonConstCastOperator) {
@@ -104,7 +104,7 @@
}
private:
- bool* const converted_;
+ bool* converted_;
};
TEST(ImplicitCastTest, CanUseConstCastOperatorOnConstValues) {
@@ -128,8 +128,8 @@
}
private:
- bool* const converted_;
- bool* const const_converted_;
+ bool* converted_;
+ bool* const_converted_;
};
TEST(ImplicitCastTest, CanSelectBetweenConstAndNonConstCasrAppropriately) {