diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2008-11-14 17:29:32 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2008-11-14 17:29:32 +0000 |
commit | a2a32c20434807e9966e3f48375f9419134d1b55 (patch) | |
tree | 16f115d52249335124cba31e959253275af624c4 /src/google/protobuf/compiler/cpp/cpp_unittest.cc | |
parent | 8da400ed12284575895cf7d5e4425435d4e43c42 (diff) | |
download | protobuf-javalite-a2a32c20434807e9966e3f48375f9419134d1b55.tar.gz |
Support HP C++ on Tru64.
Patch (mostly) by Vincent Choinière <Choiniere.Vincent@hydro.qc.ca>.
Diffstat (limited to 'src/google/protobuf/compiler/cpp/cpp_unittest.cc')
-rw-r--r-- | src/google/protobuf/compiler/cpp/cpp_unittest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/google/protobuf/compiler/cpp/cpp_unittest.cc b/src/google/protobuf/compiler/cpp/cpp_unittest.cc index 1807b595..ce7d0c88 100644 --- a/src/google/protobuf/compiler/cpp/cpp_unittest.cc +++ b/src/google/protobuf/compiler/cpp/cpp_unittest.cc @@ -67,7 +67,8 @@ namespace protobuf { namespace compiler { namespace cpp { -namespace { +// Can't use an anonymous namespace here due to brokenness of Tru64 compiler. +namespace cpp_unittest { class MockErrorCollector : public MultiFileErrorCollector { @@ -854,7 +855,7 @@ TEST_F(GeneratedServiceTest, NotImplemented) { EXPECT_TRUE(controller.called_); } -} // namespace +} // namespace cpp_unittest } // namespace cpp } // namespace compiler |