Primary tabs

Comments by User

Wednesday, August 29, 2012 - 19:59

You should be able to solve this fairly obscure bug by changing line 34 in the onullstream file as follows:

OLD LINE:

        init(&m_sbuf);

NEW LINE:

        this->init(&m_sbuf);

The reason is because the C++ spec has tightened up its rules on calling protected member functions defined in base classes as explained in this bug report on gcc:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43282

Which apparrently has either been fixed or declared as something everyone needs to change in their own code.  The above version will work in either case.  I never came across this when I did compiling under Kubuntu so thank you for giving me a chance to provide a correction.