Strange compilation problem in fish and BRANCH_3_1

Helio Chissini de Castro helio at conectiva.com.br
Fri Feb 14 11:56:22 GMT 2003


Hi

I got this compilation problem today with fish from BRANCH_3_1 and qt-copy on 
linux with gcc 3.2.1. Seens to be a local problem, but need ask if someone 
got somethink loke this..

[]'s 

if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H 
-I. -I. -I../.. -I/usr/lib/kde3/include -I/usr/lib/qt3/include 
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor 
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -fno-builtin -g3 -fno-exceptions -fno-check-new 
-DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE  -MT 
fish.lo -MD -MP -MF ".deps/fish.Tpo" \
  -c -o fish.lo `test -f 'fish.cpp' || echo './'`fish.cpp; \
then mv ".deps/fish.Tpo" ".deps/fish.Plo"; \
else rm -f ".deps/fish.Tpo"; exit 1; \
fi
In file included from /usr/lib/qt3/include/qwidget.h:49,
                 from /usr/lib/qt3/include/qdesktopwidget.h:40,
                 from /usr/lib/qt3/include/qapplication.h:42,
                 from /usr/lib/kde3/include/kapplication.h:39,
                 from fish.cpp:63:
/usr/lib/qt3/include/qsizepolicy.h: In member function `void
   QSizePolicy::setHorStretch(unsigned char)':
/usr/lib/qt3/include/qsizepolicy.h:104: parse error before `;' token
/usr/lib/qt3/include/qsizepolicy.h:104: parse error before `;' token
/usr/lib/qt3/include/qsizepolicy.h: In member function `void
   QSizePolicy::setVerStretch(unsigned char)':
/usr/lib/qt3/include/qsizepolicy.h:105: parse error before `;' token
/usr/lib/qt3/include/qsizepolicy.h:105: parse error before `;' token
fish.cpp: In function `void ripper(int)':
fish.cpp:114: warning: unused parameter `int signo'
fish.cpp: In member function `void fishProtocol::sent()':
fish.cpp:1067: warning: comparison between signed and unsigned integer
   expressions
fish.cpp: In member function `int fishProtocol::received(const char*, int)':
fish.cpp:1104: warning: comparison between signed and unsigned integer
   expressions
fish.cpp:1105: warning: comparison between signed and unsigned integer
   expressions
fish.cpp:1108: warning: comparison between signed and unsigned integer
   expressions
make: ** [fish.lo] Erro 1



-- 
Helio Chissini de Castro
KDE Developer
Development - Conectiva S.A.




More information about the kde-core-devel mailing list