#2 Undeclared Function

open
nobody
None
5
2004-02-23
2004-02-23
Anonymous
No

kbooksnewaccountdialog.cpp: In member function `void
KBooksNewAccountDialog::commit()':
kbooksnewaccountdialog.cpp:81: error: `cerr' undeclared
(first use this function)
kbooksnewaccountdialog.cpp:81: error: (Each undeclared
identifier is reported only once for each function it
appears in.)
make[2]: *** [kbooksnewaccountdialog.o] Error 1

Discussion

  • Nobody/Anonymous

    Logged In: NO

    The following patch worked for me. (But now I'm stuck again
    :-( -- is there still development going on so it pays off
    submitting a newe bug report???)

    >>>begin patch<<<
    --- kbooks/kbooksnewaccountdialog.cpp Thu Oct 28 20:23:33 2004
    +++ kbooks/kbooksnewaccountdialog.cpp.patched Thu Oct 28
    20:26:23 2004
    @@ -15,6 +15,8 @@
    *
    *

    ***************************************************************************/

    +#include <iostream.h>
    +
    #include <qlayout.h>
    #include <qlabel.h>
    #include <qmultilineedit.h>

    >>>end patch<<<

    use with "patch --verbose -p0 < cerr.patch" from
    kbooks-rootdir after
    you copy it there.

    HTH
    Georg

     
  • Daniel Lynes

    Daniel Lynes - 2005-06-14

    Logged In: YES
    user_id=718347

    #include <iostream.h> is needed after the other #include
    <...> lines.

     

Log in to post a comment.