[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: [HEAD] Compileerror in kdelibs/kate
From:       Bernhard Rosenkraenzer <bero () kde ! org>
Date:       2003-12-26 17:55:17
[Download RAW message or body]

On Thu, 25 Dec 2003, Andreas Hartmann wrote:

>     KateFileTypeManager::fileType(KateDocument*)':
> katefiletype.cpp:171: error: parse error before numeric constant

This happens when --enable-final is used, because one piece of code 
#defines HOWMANY and another declares it as a const variable.

Fix attached.

LLaP
bero

-- 
Ark Linux - Linux for the masses
http://www.arklinux.org/

Redistribution and processing of this message is subject to
http://www.arklinux.org/terms.php
["kdelibs-3.2-fixbuild.patch" (TEXT/PLAIN)]

--- kdelibs/kate/part/katefiletype.cpp.ark	2003-12-25 20:42:02.000000000 +0100
+++ kdelibs/kate/part/katefiletype.cpp	2003-12-25 20:42:13.000000000 +0100
@@ -168,6 +168,7 @@
   //
   // now use the KMimeType POWER ;)
   //
+#undef HOWMANY
   const int HOWMANY = 16384;
   QByteArray buf(HOWMANY);
 


>> 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