This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc problem with new kde build nospam


I don't know if this is a bug or not , but the code doesn't look broken

I was compiling kdelibs from the head branch their cvs code.   There is a subdirectory libkmid and a file called deviceman.cc
I get this error building the code and this file hasn't changed from the release.

/bin/bash ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl -I./.. -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/local/qt3/include  -I/usr/local/kde3/include   -DQT_THREAD_SUPPORT -I/usr/include -I/usr/local/include -I/usr/local/kde3/include -I/usr/local/qt3/include -I/usr/openwin/include -I/usr/dt/include -I/usr/local/ssl/include -I/usr/local/db/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -I/usr/local/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -O2 -O2 -Dlargefile -Dsparc -DLARGEFILE_SOURCE -DUSE_SOLARIS -DSVR4 -mtune=ultrasparc -DULTRASPARC -m32 -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o deviceman.lo `test -f 'deviceman.cc' || echo './'`deviceman.cc
deviceman.cc: In member function `void DeviceManager::seqbuf_clean()':
deviceman.cc:715: error: parse error before `}' token
deviceman.cc: In member function `const char* DeviceManager::name(int)':
deviceman.cc:719: warning: unused parameter `int i'
deviceman.cc: In member function `const char* DeviceManager::type(int)':
deviceman.cc:737: warning: unused parameter `int i'
gmake[2]: *** [deviceman.lo] Error 1
gmake[2]: Leaving directory `/export/home/gjohnson/kdecvs/kdelibs/libkmid'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/gjohnson/kdecvs/kdelibs'
gmake: *** [all] Error 2
gjohnson$  pwd
/export/home/gjohnson/kdecvs/kdelibs

There doesn't appear to be anything wrong with the c code at the line in question (715)
void DeviceManager::seqbuf_clean(void)
{
#ifdef HAVE_ALSA_SUPPORT
  if (alsa)
    ((AlsaOut *)device[default_dev])->seqbuf_clean();
  else
#endif
#ifdef HAVE_OSS_SUPPORT
    _seqbufptr=0;
#endif
}  <---- line 715

Anyway I'm using gcc-3.3.1
gjohnson$ uname -a
SunOS molbio2 5.8 Generic_108528-16 sun4u sparc SUNW,Sun-Fire-280R
gjohnson$ echo $CFLAGS
-O2 -Dlargefile -Dsparc -DLARGEFILE_SOURCE -DUSE_SOLARIS -DSVR4 -mtune=ultrasparc -DULTRASPARC -m32
gjohnson$


Tony Johnson

CONFIDENTIALITY NOTICE: 
	This message is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law.  If the reader of this message is not the intended recipient or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.
	If you have received this communication in error, please notify us immediately by email reply or by telephone and immediately delete this message and any attachments.  In the U.S. call us toll free at (800) 637-5843.
	Spanish, French, Quebecois French, Portuguese, Polish, German, Dutch, Turkish, Russian, Japanese and Chinese:  http://www.admworld.com/confidentiality.htm.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]