• tsunanet's avatar
    Change a few visibilities to work around a bug in g++ 3.4.2. · 8de91f8f
    tsunanet authored
    
    
    It looks like this version of g++ is confused by the local class generated
    by the TEST_F macro and it can't tell that we're in a method that inherits
    the class we want to access.
    
    This bug causes the following kind of error:
    ../samples/../test/gtest_unittest.cc: In static member function `static void
    <unnamed>::ExpectFatalFailureTest_CatchesFatalFaliure_Test::TestBody()::GTestExpectFatalFailureHelper::Execute()':
    ../samples/../test/gtest_unittest.cc:799: error: `static void
    <unnamed>::ScopedFakeTestPartResultReporterTest::AddFailure(<unnamed>::ScopedFakeTestPartResultReporterTest::FailureMode)'
    is protected
    ../samples/../test/gtest_unittest.cc:883: error: within this context
    Signed-off-by: default avatarBenoit Sigoure <tsunanet@gmail.com>
    8de91f8f
gtest_unittest.cc 171 KB