Compiling the qt-gui from 1.2.3 release produced the following...

/usr/bin/moc ./authuserdlg.h -o authuserdlg.moc
source='authuserdlg.cpp' object='authuserdlg.lo' libtool=yes \
depfile='.deps/authuserdlg.Plo' tmpdepfile='.deps/authuserdlg.TPlo' \
depmode=gcc /bin/sh ../admin/depcomp \
/bin/sh ../libtool --silent --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_
H -I. -I. -I.. -D_REENTRANT -I/usr/src/redhat/BUILD/licq-1.2.3/include -I/usr/X1
1R6/include -I/usr/include/qt   -fPIC -DPIC -D_REENTRANT  -O2 -m486 -fno-strengt
h-reduce -fno-exceptions -fno-check-new -Wall -I/usr/include/qt  -I/usr/X11R6/in
clude  -c -o authuserdlg.lo `test -f authuserdlg.cpp || echo './'`authuserdlg.cp
p
/usr/include/qt/qmultilineedit.h:197: cannot make protected `QMultiLineEdit::has
MarkedText() const' non-protected
/usr/include/qt/qmultilineedit.h:198: cannot make protected `QMultiLineEdit::mar
kedText() const' non-protected
make[2]: *** [authuserdlg.lo] Error 1
make[2]: Leaving directory `/scratch/BUILD/licq-1.2.3/plugins/qt-gui/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/scratch/BUILD/licq-1.2.3/plugins/qt-gui'
make: *** [all] Error 2

Using compiler egcs-1.0.3a and qt-2.1.1 (and yes I know they aren't
very new).  The Last Licq I compiled on this machine was 1.0 (and I
was using a slightly earlier egcs).  Actually I did compile 1.2.0a
against qt 2.1.1 on Solaris (with gcc 2.95.2).

I know I can make the error go away by editing mledit.h and mlview2.h
and making these things protected, but I'm doubtful that this would
result in a working program!  (I don't actually know any C++ - I'm
just pattern-matching).

Is my compiler being too strict, or is the code a bit too sloppy? ;-)
Is there a compiler option which will stop the complaints?

imc


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to