#49 Patch for bug #1210013

1.12.0
closed-accepted
nobody
bug fix (3)
5
2006-06-29
2006-03-30
Mattias Ellert
No

Here is a patch for bug #1210013

echo '#include <cppunit/TextTestRunner.h>' > test.cpp

Without the patch:

[ellert@ellert ~]$ g++ -Woverloaded-virtual -I
unpatched/include -c -o /dev/null test.cpp
In file included from
unpatched/include/cppunit/TextTestRunner.h:4,
from test.cpp:1:
unpatched/include/cppunit/TestRunner.h:95: warning:
`virtual void
CppUnit::TestRunner::run(CppUnit::TestResult&, const
std::string&)' was hidden
unpatched/include/cppunit/ui/text/TextTestRunner.h:73:
warning: by `bool
CppUnit::TextTestRunner::run(std::string, bool, bool,
bool)'

With the patch:

g++ -Woverloaded-virtual -I patched/include -c -o
/dev/null test.cpp
[no warnings]

Discussion

  • Mattias Ellert
    Mattias Ellert
    2006-03-30

    Patch for bug #1210013

     
  • Logged In: YES
    user_id=196852

    Thanks !

     
    • milestone: --> 1.12.0
    • status: open --> closed-accepted