Menu

#59 Error qhen compile: extra ';'

open
nobody
None
5
2005-09-13
2005-09-13
Anonymous
No

I have a system with:
- kernel 2.6.11ck7 (patched with supermount)
- kde 3.4.0
- gcc 3.4.3

when I compile a version 2.X i get this error:

/bin/sh ../../libtool --silent --mode=compile --tag=CXX
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/qt/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 -O2 -fno-exceptions
-fno-check-new -c -o qextmditaskbar.lo `test -f
qextmditaskbar.cpp || echo './'`qextmditaskbar.cpp
cc1plus: warning: command line option
"-Wmissing-prototypes" is valid for C/ObjC but not for C++
In file included from qextmditaskbar.h:44,
from qextmditaskbar.cpp:28:
qextmdidefines.h:91: error: extra `;'
make[4]: *** [qextmditaskbar.lo] Error 1
make[4]: Leaving directory
`/usr/src/kbear-2.1/kbear/qextmdi'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/src/kbear-2.1/kbear/qextmdi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/kbear-2.1/kbear'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kbear-2.1'
make: *** [all] Error 2

In the Alpha release appears the same error:

cc1plus: warning: command line option
"-Wmissing-prototypes" is valid for C/ObjC but not for C++
In file included from
../../../kbear/lib/interfaces/connectionmanager.h:34,
from kbearfilecopyjob.cpp:46:
../../../kbear/lib/interfaces/siteinfo.h:166: error:
extra `;'
In file included from kbearfilecopyjob.cpp:46:
../../../kbear/lib/interfaces/connectionmanager.h:142:
error: extra `;'
make[4]: *** [kbearfilecopyjob.lo] Error 1
make[4]: Leaving directory
`/usr/src/kbear-3.0alpha1b/kbear/lib/jobclasses'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/src/kbear-3.0alpha1b/kbear/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/src/kbear-3.0alpha1b/kbear'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kbear-3.0alpha1b'
make: *** [all] Error 2

You can contact me at:
daprela@gmail.com

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.