-24.01.99
...
make[1]: Entering directory `/usr/build/NEW_kvirc/kvirc/kvilib'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde//include -I/usr/local/qt/include -I/usr/X11R6/include  -g -O2 -c kvi_mdi.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde//include -I/usr/local/qt/include -I/usr/X11R6/include -g -O2 -c -fPIC -DPIC kvi_mdi.cpp
In file included from kvi_mdi.cpp:39:
kvi_mdi.h:127: warning: ANSI C++ forbids initialization of member `m_captionFont'
kvi_mdi.h:127: Internal compiler error.
kvi_mdi.h:127: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make[1]: *** [kvi_mdi.lo] Error 1
make[1]: Leaving directory `/usr/build/NEW_kvirc/kvirc/kvilib'
make: *** [install-recursive] Error 1


-24.02.99 [24 must be not a lucky day for egcs]

	KviExprTreeNode * pTop = 0;
	KviExprTreeNode ** ppNode = &pTop;
	...
	ppNode = &((*ppNode)->left());

kvi_expreval.cpp: In method `class KviExprTreeNode * KviAlgExpr::evaluateOperand()':
kvi_expreval.cpp:267: non-lvalue in unary `&'

	but... this one works...

	KviExprTreeNode * p = (*ppNode)->left();
	ppNode = &p;

	am I wrong ?

-25.04.99

A fuky Qt function :)

/*!  Returns a pointer to the pixmap for \a column, or a null pointer
  if there is no pixmap for \a column.

  This function works even if this item is not contained in a list
  view, but reimplementations of it are not required to work properly
  in that case.

  \sa setText() setPixmap()
*/

const QPixmap * QListViewItem::pixmap( int column ) const
{
    column = 0; //<------------What the hell is this ? :)
    QListViewPrivate::ItemColumnInfo * l
	= (QListViewPrivate::ItemColumnInfo*) columns;

    while( column && l ) {
	l = l->next;
	column--;
    }

    return (l && l->pm) ? l->pm : 0;
}

// Another Qt bug

QString QFileInfo::readLink() const
{
    char s[PATH_MAX+1];
#if defined(UNIX) && !defined(_OS_OS2EMX_)
    if ( !isSymLink() )
	return QString();
    int len = readlink( fn, s, PATH_MAX ); # <--- readlink does not put the terminator at the end; it is a bit unsafe
    if ( len < 0 )
	len = 0;				// error, return empty string #<-----What ?
#endif
    return s;				/#missing a QString.resize() here ?
}

-25.09.99

[22:19:44] Private conversation requested by Icewolf [~icewolf@193.120.142.251]
[22:19:44] <Icewolf> hi
[22:23:14] <BuTi> hi
[22:24:10] <Icewolf> did you write kvIRC?
[23:00:19] <BuTi> not really
[23:00:33] <BuTi> but i am helping pragma...
[23:00:48] <BuTi> and i wrote some pieces of code :)
[23:01:07] <Icewolf> in what language?
[23:01:10] <BuTi> c++
[23:01:11] <Icewolf> im writing IceIRC for win...
[23:01:33] <BuTi> and qt
[23:01:48] <BuTi> i never heared about iceIRC...
[23:02:01] <Icewolf> why not make mouse for kvIRC ?
[23:02:02] <Icewolf> heh
[23:02:15] <BuTi> make mouse?
[23:02:31] <BuTi> what is make mouse?
[23:02:46] <Icewolf> write mouse
[23:03:00] <Icewolf> sorry my english is bad
[23:03:23] <BuTi> what language are you better in?
[23:03:34] <Icewolf> Icelandic
[23:03:37] <BuTi> huch
[23:03:56] <Icewolf> Skiluru etta tunguml ? :P
[23:03:56] <Icewolf> hehe
[23:04:02] <BuTi> :)
[23:04:11] <BuTi> i do not understand a word...
[23:04:26] <BuTi> can you explain me "write mouse" ?
[23:05:59] <Icewolf> forget it
[23:06:02] <BuTi> ok
[05:59:46] [BuTi] prepares to go sleeping...


some pieces of really kewl code and "code":

#ifdef BRAIN_DAMAGED_AUTHOR_PARANOIA
#define I_DO_NOT_WANT_TO_HEAR_IT_ANYMORE_THAT_KVIRC_CAN_NOT_FIND_THE_BASE_PIXMAPS

void KviChannel::absurdWorkaroundForMaskEditorFocus()
{
	m_pMaskEditor->setFocus();
//	debug("focus widget = %s",g_pApp->focusWidget()->className());
}


kvi_config.cpp:239: warning: `class KviStr * pointer_that_IS_initialized'
	might be used uninitialized in this function
kvi_config.cpp: In method `class QRect KviConfig::readRectEntry(const char *, const class QRect &)':
kvi_config.cpp:364: warning: unused variable
	`int please_note_that_there_is_no__const_class_KviStr_this__pointer_here'
kvi_config.cpp:360: warning: `class KviStr * another_pointer_that_IS_initialized'
	might be used uninitialized in this function
kvi_config.cpp:365: warning: `const class KviStr * this'
	might be used uninitialized in this function



kvi_utoolbar.cpp: In method `KviUserToolBar::KviUserToolBar(class KviFrame *, class QWidget *)':
kvi_utoolbar.cpp:79: Internal compiler error.
kvi_utoolbar.cpp:79: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
kvi_utoolbar.cpp:79: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.

-19.12.1999

In file included from ../../kvilib/core/kvi_string.h:32,
                 from ../kvirc_plugin.h:30,
                 from libkvixmms.cpp:23:
/usr/include/stdio.h:400: Internal compiler error.
/usr/include/stdio.h:400: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
/usr/include/stdio.h:400: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
make[3]: *** [libkvixmms.lo] Error 1
make[3]: Leaving directory `/usr/build/kvirc/cvs/src/plugins/xmms'

WOW :)

- 15.5.2000

A bad day for egcs and my system:

(1)

In file included from kvi_scriptwizard.h:31,
                 from kvi_scriptwizard.cpp:22:
/usr/local/kde/qt-2.1/include/qcheckbox.h:63: `QCheckBox' as declarator (compiler error)
/usr/local/kde/qt-2.1/include/qcheckbox.h:63: confused by earlier errors, bailing out

(2)

c++ -DHAVE_CONFIG_H -I. -I. -I../../src   -pipe -I/usr/local/kde/./include   -I/usr/X11R6/include -I/usr/local/kde/qt-2.1/include -I/usr/X11R6/include -D_REENTRANT -I../common -I../kvilib -DGLOBAL_KVIRC_DIR=\"/usr/local/share/kvirc\"  -g -O2 -c kvi_taskbar.cpp
make[2]: *** [kvi_taskbar.o] Error 132 <-----eh ?
make[2]: Leaving directory `/usr/build/kvirc/cvs/src/kvirc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/build/kvirc/cvs/src'
make: *** [install-recursive] Error 1

(3)

c++: Internal compiler error: program cc1plus got fatal signal 11
cpp: output pipe has been closed
{standard input}: Assembler messages:
{standard input}:1458: Warning: end of file not at end of a line; newline inserted
{standard input}:1605: Warning: Missing string
{standard input}:1605: Warning: .stabs: Missing comma

... got more of these today :)


- May 19 2000

../kvirc_plugin.h: In function `void kvirc_plugin_remove_hook(void *, int)':
In file included from libkvibiffsocket.cpp:31:
../kvirc_plugin.h:245: Internal compiler error.
../kvirc_plugin.h:245: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
../kvirc_plugin.h:245: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
make: *** [libkvibiffsocket.lo] Error 1

Well, seems egcs does not like KVIrc plugins:
-- Kristoff

Wow, another one, a few hours later:

libkvibiff.cpp: In method `KviBiffMailbox::KviBiffMailbox(const char *, const char *, const char *, unsigned int = 110)':
libkvibiff.cpp:64: Internal compiler error.
libkvibiff.cpp:64: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
libkvibiff.cpp:64: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.

isn't this sweet :) ?

