kdepim compile error
Felix Seeger
felix.seeger at gmx.de
Fri Apr 23 07:15:55 BST 2004
Hi
Using kde cvs head with gcc 3.3.3.
I get this error, thanks for any help:
make[1]: Entering directory `/home/hal/download/kde3/cvs/kdepim/certmanager'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./lib -I../libkdenetwork
-I../libkdenetwork/libgpgme-copy/gpgme -I../libkdenetwork/libgpg-error-copy
-I/opt/kde31/include -I/opt/qt-copy/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2
-mcpu=athlon-xp -march=athlon-xp -mmmx -m3dnow -O2 -mfpmath=sse
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DLIBKLEOPATRA_NO_COMPAT -MT
storedtransferjob.o -MD -MP -MF ".deps/storedtransferjob.Tpo" \
-c -o storedtransferjob.o `test -f 'storedtransferjob.cpp' || echo
'./'`storedtransferjob.cpp; \
then mv -f ".deps/storedtransferjob.Tpo" ".deps/storedtransferjob.Po"; \
else rm -f ".deps/storedtransferjob.Tpo"; exit 1; \
fi
storedtransferjob.cpp:27: error: syntax error before `::' token
storedtransferjob.cpp:36: error: invalid use of `this' at top level
storedtransferjob.cpp:37: error: ISO C++ forbids declaration of `connect' with
no type
storedtransferjob.cpp:37: error: initializer list being treated as compound
expression
storedtransferjob.cpp:38: error: parse error before `}' token
storedtransferjob.cpp:40: error: syntax error before `::' token
storedtransferjob.cpp:43: error: parse error before `==' token
storedtransferjob.cpp:44: error: ISO C++ forbids declaration of `m_data' with
no type
storedtransferjob.cpp:44: error: `arr' was not declared in this scope
storedtransferjob.cpp:45: error: parse error before `}' token
storedtransferjob.cpp:47: error: syntax error before `::' token
storedtransferjob.cpp:52: error: request for member `size' in `m_data', which
is of non-aggregate type `int'
storedtransferjob.cpp:53: error: syntax error before `.' token
storedtransferjob.cpp:54: error: request for member `data' in `m_data', which
is of non-aggregate type `int'
storedtransferjob.cpp:54: error: `data' was not declared in this scope
storedtransferjob.cpp:54: error: `data' was not declared in this scope
storedtransferjob.cpp:54: error: ISO C++ forbids declaration of `memcpy' with
no type
storedtransferjob.cpp:54: error: `int memcpy' redeclared as different kind of
symbol
/usr/include/string.h:39: error: previous declaration of `void* memcpy(void*,
const void*, unsigned int)'
storedtransferjob.cpp:54: error: initializer list being treated as compound
expression
storedtransferjob.cpp:55: error: parse error before `}' token
storedtransferjob.cpp:57: error: syntax error before `::' token
storedtransferjob.cpp:62: error: request for member `size' in `m_data', which
is of non-aggregate type `int'
storedtransferjob.cpp:62: error: `m_uploadOffset' was not declared in this
scope
storedtransferjob.cpp:63: error: parse error before `if'
storedtransferjob.cpp:66: error: syntax error before `+=' token
storedtransferjob.cpp:72: error: ISO C++ forbids declaration of `m_data' with
no type
storedtransferjob.cpp:72: error: redefinition of `int m_data'
storedtransferjob.cpp:44: error: `int m_data' previously defined here
storedtransferjob.cpp:72: error: invalid conversion from `const char*' to
`int'
storedtransferjob.cpp:73: error: ISO C++ forbids declaration of
`m_uploadOffset
' with no type
storedtransferjob.cpp:75: error: parse error before `}' token
storedtransferjob.cpp:80: error: syntax error before `*' token
storedtransferjob.cpp:83: error: `packedArgs' was not declared in this scope
storedtransferjob.cpp:83: error: syntax error before `<<' token
storedtransferjob.cpp:84: error: syntax error before `*' token
storedtransferjob.cpp:90: error: syntax error before `*' token
storedtransferjob.cpp:93: error: `packedArgs' was not declared in this scope
storedtransferjob.cpp:93: error: redefinition of `QDataStream stream'
storedtransferjob.cpp:83: error: `QDataStream stream' previously declared here
storedtransferjob.cpp:93: error: syntax error before `<<' token
storedtransferjob.cpp:94: error: syntax error before `*' token
storedtransferjob.cpp:95: error: syntax error before `->' token
In file included from /opt/qt-copy/include/private/qucom_p.h:55,
from /opt/qt-copy/include/private/qucomextra_p.h:54,
from storedtransferjob.moc:15,
from storedtransferjob.cpp:99:
/opt/qt-copy/include/quuid.h: In copy constructor `QUuid::QUuid(const
QUuid&)':
/opt/qt-copy/include/quuid.h:99: error: `memcpy' cannot be used as a function
/opt/qt-copy/include/quuid.h: In member function `QUuid&
QUuid::operator=(const
QUuid&)':
/opt/qt-copy/include/quuid.h:111: error: `memcpy' cannot be used as a function
make[1]: *** [storedtransferjob.o] Error 1
make[1]: Leaving directory `/home/hal/download/kde3/cvs/kdepim/certmanager'
make: *** [all-recursive] Error 1
thanks
have fun
Felix
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list