Bug 51133 - Error compiling for KDevelop 3.0 Alpha 2
Summary: Error compiling for KDevelop 3.0 Alpha 2
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: kdevelop 2.x (obsolete) (show other bugs)
Version: 3.0.0a2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-24 16:56 UTC by Kj P
Modified: 2003-07-13 15:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
This is an updated processwidget.cpp program (4.12 KB, text/plain)
2002-11-24 17:07 UTC, Kj P
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kj P 2002-11-24 16:56:28 UTC
Version:            (using KDE KDE 3.0.4)
Installed from:    SuSE RPMs
Compiler:          gcc version 3.2 
OS:          Linux

I have kde version 3.0.5 from SUSE update.  This is causing a compile error because of the check from the lines of code below.Making all in utilmake[3]: Entering directory `/home/jimmy/downloads/kdevelop/kdevelop-3.0a2a/lib/util'/usr/lib/qt3/bin/moc ./processwidget.h -o processwidget.mocsource='processwidget.cpp' object='processwidget.lo' libtool=yes \depfile='.deps/processwidget.Plo' tmpdepfile='.deps/processwidget.TPlo' \depmode=gcc3 /bin/sh ../../admin/depcomp \/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/interfaces -I../../lib/sourceinfo -I/opt/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 -O2 -fno-exceptions -fno-check-new  -c -o processwidget.lo `test -f 'processwidget.cpp' || echo './'`processwidget.cppprocesswidget.cpp: In constructor `ProcessWidget::ProcessWidget(QWidget*, const   char*)':processwidget.cpp:55: no matching function for call to `KProcess::setUseShell(   bool)'make[3]: *** [processwidget.lo] Error 1make[3]: Leaving directory `/home/jimmy/downloads/kdevelop/kdevelop-3.0a2a/lib/util'make[2]: *** [all-recursive] Error 1make[2]: Leaving directory `/home/jimmy/downloads/kdevelop/kdevelop-3.0a2a/lib'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/home/jimmy/downloads/kdevelop/kdevelop-3.0a2a'make: *** [all] Error 2Compile fails for the following module:kdevelop-3.0a2/lib/processwidget.cpp line 53 - 59#if (KDE_VERSION > 304)    childproc = new KProcess();    childproc->setUseShell(true);#else    childproc = new KShellProcess();#endifI changed this to the following:#if (KDE_VERSION > 305)    childproc = new KProcess();    childproc->setUseShell(true);#else    childproc = new KShellProcess();#endifand all seems ok for now.RegardsKenneth
Comment 1 Kj P 2002-11-24 17:07:03 UTC
Created attachment 515 [details]
This is an updated processwidget.cpp program
Comment 2 Caleb Tennis 2002-11-24 17:37:31 UTC
This was fixed in CVS just after the release.  Thanks for the report. 
Comment 3 Kj P 2002-11-24 17:50:28 UTC
Subject: Re:  Error compiling for KDevelop 3.0 Alpha 2

Caleb

Please excuse the others that I reported/submitted as I just saw this 
message.

Thanks

Kenneth


>From: Caleb Tennis <caleb@aei-tech.com>
>Reply-To: 51133@bugs.kde.org
>To: kjpou@hotmail.com
>Subject: [Bug 51133] Error compiling for KDevelop 3.0 Alpha 2         Date: 
>24 Nov 2002 16:37:31 -0000
>
>------- You are receiving this mail because: -------
>You reported the bug, or are watching the reporter.
>
>http://bugs.kde.org/show_bug.cgi?id=51133
>caleb@aei-tech.com changed:
>
>            What    |Removed                     |Added
>----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |FIXED
>
>
>
>------- Additional Comments From caleb@aei-tech.com  2002-11-24 17:37 
>-------
>This was fixed in CVS just after the release.  Thanks for the report.

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

Comment 4 Christian Goetz 2002-11-27 16:59:08 UTC
Cause 3.05 is not the last 3.0x version the line

#if (KDE_VERSION > 305)

should be changed to something like:

#if (KDE_VERSION < 3XX)

where xx is the first alpha version of kde3.1