[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: kdeedu/kalzium/src compilation error [PATCH]
From: Nick Katsamas <nkat () forthnet ! gr>
Date: 2002-06-28 14:08:38
[Download RAW message or body]
Small patch to fix compilation.
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../calculations -I/opt/kde31/include
-I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT
-D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i486 -mcpu=i686 -O3 -DNDEBUG
-fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c -o
kalzium.o `test -f kalzium.cpp || echo './'`kalzium.cpp
kalzium.cpp: In method `Kalzium::Kalzium(const char * = 0)':
kalzium.cpp:166: parse error before `new'
kalzium.cpp:167: `eight' undeclared (first use this function)
kalzium.cpp:167: (Each undeclared identifier is reported only once
kalzium.cpp:167: for each function it appears in.)
--
Best regards
********************************
Nick Katsamas
e-Mail: nkat@forthnet.gr
OS: SuSE Linux v7.3
Kernel: 2.4.18 XFree: 4.2.0
********************************
["kalzium.cpp.dif" (text/x-diff)]
Index: kalzium/src/kalzium.cpp
===================================================================
RCS file: /home/kde/kdeedu/kalzium/src/kalzium.cpp,v
retrieving revision 1.33
diff -u -3 -p -u -r1.33 kalzium.cpp
--- kalzium/src/kalzium.cpp 28 Jun 2002 13:09:37 -0000 1.33
+++ kalzium/src/kalzium.cpp 28 Jun 2002 14:00:27 -0000
@@ -163,7 +163,7 @@ Kalzium::Kalzium(const char *name) : KMa
four = new KPushButton( foo );
five = new KPushButton( foo );
six = new KPushButton( foo );
- seven seven new KPushButton( foo );
+ seven = new KPushButton( foo );
eight = new KPushButton( foo );
legend_layout->addWidget( one );
legend_layout->addWidget( two );
>> 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