[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Patch for quanta on Solaris 8
From: "James F. Hranicky" <jfh () cise ! ufl ! edu>
Date: 2004-01-22 14:16:36
Message-ID: 20040122091636.2aff7bb7.jfh () cise ! ufl ! edu
[Download RAW message or body]
Platform: Solaris 8
Compiler: gcc-3.3.2
KDE CVS : 2004-01-13
Attached is a patch that allows compilation to complete for quanta on
Solaris 8.
This fixes this error:
propertysetter.h:66: error: `single' redeclared as different kind of symbol
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/floatingpoint.h:75: error: previous
declaration of `typedef float single'
----------------------------------------------------------------------
| Jim Hranicky, Senior SysAdmin UF/CISE Department |
| E314D CSE Building Phone (352) 392-1499 |
| jfh@cise.ufl.edu http://www.cise.ufl.edu/~jfh |
----------------------------------------------------------------------
About politics:
Don't worry about results
It's the thought that counts
["quanta.patch.txt" (text/plain)]
diff -ur quanta.orig/quanta/plugins/csseditor/propertysetter.cpp \
quanta/quanta/plugins/csseditor/propertysetter.cpp
--- quanta.orig/quanta/plugins/csseditor/propertysetter.cpp 2004-01-11 \
05:34:58.000000000 -0500
+++ quanta/quanta/plugins/csseditor/propertysetter.cpp 2004-01-21 07:46:19.377432000 \
-0500 @@ -208,7 +208,7 @@
URIEditor::URIEditor(QWidget *parent, const char* name) : QHBox(parent,name)
{
- Mode = single;
+ Mode = Single;
label = new QLabel(this);
le = new QLineEdit(this);
pb = new KPushButton(this);
@@ -222,7 +222,7 @@
pb->setFixedSize( pixMap.width()+8, pixMap.height()+8 );
setSpacing( KDialog::spacingHint() );
- if( Mode == single )
+ if( Mode == Single )
connect(le, SIGNAL(textChanged ( const QString & )), this, SLOT(URI(const \
QString&))); connect(pb, SIGNAL(clicked()), this, SLOT(openFileDialog()));
}
@@ -244,7 +244,7 @@
QFileDialog* fd = new QFileDialog( this, "file dialog", TRUE );
bool multi=false;
- if( Mode == single){
+ if( Mode == Single){
fd->setMode(QFileDialog::ExistingFile);
}
else {
diff -ur quanta.orig/quanta/plugins/csseditor/propertysetter.h \
quanta/quanta/plugins/csseditor/propertysetter.h
--- quanta.orig/quanta/plugins/csseditor/propertysetter.h 2004-01-11 \
05:34:58.000000000 -0500
+++ quanta/quanta/plugins/csseditor/propertysetter.h 2004-01-21 07:47:10.923432000 \
-0500 @@ -63,7 +63,7 @@
};
-enum mode{ multi, single };
+enum mode{ multi, Single };
class URIEditor : public QHBox {
Q_OBJECT
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic