Re: [K68-user] Works great with T610 too. Compile error with bluetooth
Status: Alpha
Brought to you by:
jstembridge
From: James S. <jst...@us...> - 2003-11-10 22:02:58
|
Hi, Try the attached patch, works fine for me. James. On Monday 10 Nov 2003 21:32, Ole Barnkob Kaas wrote: > Tried serial cable first - no probs at all. > > Added bluetooth dev stuff to compile in bluetooth support. Then it fails > to compile: > > obk@evasion:~/k68-0.2$ make > make all-recursive > make[1]: Entering directory `/home/obk/k68-0.2' > Making all in k68 > make[2]: Entering directory `/home/obk/k68-0.2/k68' > source='k68.cpp' object='k68.o' libtool=no \ > depfile='.deps/k68.Po' tmpdepfile='.deps/k68.TPo' \ > depmode=gcc3 /bin/sh ../admin/depcomp \ > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde > -I/usr/share/qt3/include -I/usr/X11R6/include -I/usr/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 k68.o `test -f > k68.cpp || echo './'`k68.cpp > k68.cpp: In static member function `static QObex* K68::createObex()': > k68.cpp:150: error: ISO C++ forbids compound literals > make[2]: *** [k68.o] Error 1 > make[2]: Leaving directory `/home/obk/k68-0.2/k68' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/obk/k68-0.2' > make: *** [all] Error 2 > > > Regards, > > Ole Kaas > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > K68-user mailing list > K68...@li... > https://lists.sourceforge.net/lists/listinfo/k68-user |