[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: [PATCH] ksirc - make it compile with egcs (and --enable-final)
From: aleXXX <alexander.neundorf () gmx ! net>
Date: 2002-04-08 21:45:26
[Download RAW message or body]
Hi,
egcs stops with an internal compiler error in toplevel.cpp
The patch fixes it.
(yes, I know, egcs isn't officially supported, but this is the only place
where I had any problems)
Bye
Alex
["toplevel.cpp.diff" (text/x-diff)]
Index: toplevel.cpp
===================================================================
RCS file: /home/kde/kdenetwork/ksirc/toplevel.cpp,v
retrieving revision 1.208
diff -c -b -u -r1.208 toplevel.cpp
--- toplevel.cpp 2002/04/01 08:25:23 1.208
+++ toplevel.cpp 2002/04/08 21:38:08
@@ -4,8 +4,8 @@
$$Id: toplevel.cpp,v 1.208 2002/04/01 08:25:23 hausmann Exp $$
- This is the main window with with the user interacts. It handles
- both normal channel converstations and private conversations.
+ This is the main window with wich the user interacts. It handles
+ both normal channel conversations and private conversations.
2 classes are defined, the UserControlMenu and KSircToplevel. The
user control menu is used as alist of user defineable menus used by
@@ -1076,6 +1076,7 @@
slotTextDropped(KApplication::clipboard()->text());
}
+enum KSircTopLevelCommands{ Ask, Parse, Escape };
void KSircTopLevel::slotTextDropped( const QString& _text )
{
if (_text.isEmpty())
@@ -1105,7 +1106,7 @@
QStringList lines = QStringList::split( '\n', text, true );
QStringList::ConstIterator it = lines.begin();
QStringList::ConstIterator end = lines.end();
- enum { Ask, Parse, Escape } commands = Ask;
+ KSircTopLevelCommands commands = Ask;
for (; it != end; ++it )
{
if ((*it).isEmpty())
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic