Bug#24045: marked as done (#warning applies only to GNU C) by John Firebaugh <jfirebaugh at kde.org>

Stephan Kulow owner at bugs.kde.org
Sat Aug 31 04:35:53 UTC 2002


Your message with subj: #warning applies only to GNU C

Thank you for your bug report.
The bug that your reported no longer applies to the latest development (CVS) 
version of KDE. This is most probably because the bug has been fixed, the 
application has been substantially modified, or the application no longer 
exists. The bug report will be closed.

has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

(Complete bug history is available at http://bugs.kde.org/db/24/24045.html)

Received: (at submit) by bugs.kde.org; 12 Apr 2001 05:59:13 +0000
Received: (qmail 30504 invoked from network); 12 Apr 2001 05:59:13 -0000
Received: from pipe.thewrittenword.com (HELO mx1.thewrittenword.com) (207.208.208.202)
  by max.tat.physik.uni-tuebingen.de with SMTP; 12 Apr 2001 05:59:13 -0000
Received: (from china at localhost)
	by mx1.thewrittenword.com (8.9.3/8.9.3) id AAA15557
	for submit at bugs.kde.org; Thu, 12 Apr 2001 00:54:38 -0500 (CDT)
From: Albert Chin-A-Young <china at thewrittenword.com>
Date: Thu, 12 Apr 2001 00:54:37 -0500
To: submit at bugs.kde.org
Subject: #warning applies only to GNU C
Message-ID: <20010412005436.B6847 at postal.il.thewrittenword.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.1.12i
X-Spam-Rating: max.tat.physik.uni-tuebingen.de 0/1000/N

Package: kdevelop
Version: 2.1.1

1. Define max for those systems that do not have it defined.
2. #warning should be wrapped with #ifdef __GNUC__.

-- 
albert chin (china at thewrittenword.com)

-- snip snip
--- kdevelop/dbg/breakpointdialog.cpp.orig	Wed Apr  4 08:04:34 2001
+++ kdevelop/dbg/breakpointdialog.cpp	Wed Apr  4 08:07:12 2001
@@ -31,6 +31,10 @@
 
 #include <algorithm>
 
+#ifndef max
+#define max(a,b) ((a) < (b) ? (b) : (a))
+#endif
+
 /***************************************************************************/
 
 BPDialog::BPDialog(Breakpoint* BP, QWidget *parent, const char *name) :
--- kdevelop/kwrite//kwview.cpp.orig	Wed Apr  4 08:13:28 2001
+++ kdevelop/kwrite//kwview.cpp	Wed Apr  4 08:13:47 2001
@@ -1717,7 +1717,9 @@
       emit statusMsg(name);
     }
   }
+#ifdef __GNUC__
 #warning FIXME KFM stuff
+#endif
 //  } else {
 //    // url
 //    if (kfm != 0L) {
@@ -1775,7 +1777,9 @@
       setModified(false);
     }
   }
+#ifdef __GNUC__
 #warning FIXME KFM stuff
+#endif
 //  else
 //  {
 //    // url
--- kdevelop/ckdevelop.cpp.orig	Wed Apr  4 08:44:27 2001
+++ kdevelop/ckdevelop.cpp	Wed Apr  4 08:44:37 2001
@@ -226,7 +226,9 @@
       if (prj)
         prjName = "\n" + prj->getProjectName() + "\n\n";
 
+#ifdef __GNUC__
 #warning FIXME MessageBox needed with an extra button.
+#endif
 //      KMessageBox *files_close=
 //        new KMessageBox(this,
 //                        i18n("The project\n")+prjName
--- kdevelop/ckappwizard.cpp.orig	Wed Apr  4 08:55:49 2001
+++ kdevelop/ckappwizard.cpp	Wed Apr  4 08:56:05 2001
@@ -1977,7 +1977,9 @@
   pm.load(locate("appdata", "pics/normalApp.png"));
 
   setTitle(page4, i18n("Headertemplate for .cpp-files"));
+#ifdef __GNUC__
 #warning FIXME ????
+#endif
 //  if (page==4)
 //    showPage(page4);
 
--- kdevelop/klangcombo.cpp.orig	Wed Apr  4 09:07:07 2001
+++ kdevelop/klangcombo.cpp	Wed Apr  4 09:07:17 2001
@@ -59,7 +59,9 @@
   if(style() == MotifStyle){
     pm.fill(colorGroup().background());
   }
+#ifdef __GNUC__
 #warning FIXME windowcolor is ???
+#endif
 //  else{
 //    pm.fill(kapp->windowColor);
 //  }
--- kdevelop/ckdevaccel.cpp.orig	Wed Apr  4 09:49:29 2001
+++ kdevelop/ckdevaccel.cpp	Wed Apr  4 09:49:39 2001
@@ -109,7 +109,9 @@
                              const QObject* receiver, const char* member,
                              bool activate)
 {
+#ifdef __GNUC__
 #warning FIXME
+#endif
     if (KStdAccel::action(accel)) // && !aKeyDict[ KStdAccel::action(accel) ]){
         insertStdItem(accel);
 
--- kdevelop/cdocbrowser.cpp.orig	Wed Apr  4 09:56:41 2001
+++ kdevelop/cdocbrowser.cpp	Wed Apr  4 09:57:21 2001
@@ -54,7 +54,9 @@
 
 //#include <iostream.h>
 
+#ifdef __GNUC__
 #warning FIXME This needs some rework to use KHTMLParts
+#endif
 
 int  CDocBrowser::fSize = 12;
 QString CDocBrowser::standardFont;
@@ -201,7 +203,9 @@
   underlineLinks = config->readBoolEntry( "UnderlineLinks", true );
   forceDefaults = config->readBoolEntry( "ForceDefaultColors", false );
 
+#ifdef __GNUC__
 #warning FIXME KHTMLSettings
+#endif
 //  setFixedFont( fixedFont);
 //  setStandardFont( standardFont );
   setURLCursor( KCursor::handCursor() );
@@ -215,7 +219,9 @@
 
 void CDocBrowser::slotDocFontSize(int size){
   fSize = size;
+#ifdef __GNUC__
 #warning FIXME KHTMLSettings
+#endif
 //  KHTMLView* htmlview=view();
 //  htmlview->setDefaultFontBase( size );
 //  htmlview->parse();
@@ -233,7 +239,9 @@
 
 void CDocBrowser::slotDocStandardFont(const QString& n){
   standardFont = n;
+#ifdef __GNUC__
 #warning FIXME KHTMLSettings
+#endif
 //  KHTMLView* htmlview=view();
 //  htmlview->setStandardFont( n );
 //  htmlview->parse();
@@ -244,7 +252,9 @@
 
 void CDocBrowser::slotDocFixedFont(const QString& n){
   fixedFont = n;
+#ifdef __GNUC__
 #warning FIXME KHTMLSettings
+#endif
 //  KHTMLView* htmlview=view();
 //  htmlview->setFixedFont( n );
 //  htmlview->parse();
@@ -256,7 +266,9 @@
 void CDocBrowser::slotDocColorsChanged( const QColor &bg, const QColor &text,
   const QColor &link, const QColor &vlink, const bool uline, const bool force)
 {
+#ifdef __GNUC__
 #warning FIXME KHTMLSettings
+#endif
 //  KHTMLView* htmlview=view();
 //  htmlview->setForceDefault( force );
 //  htmlview->setDefaultBGColor( bg );




More information about the KDevelop-devel mailing list