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

List:       kmail-devel
Subject:    [patch] vacation.cpp did not compile
From:       Martin Koller <m.koller () surfeu ! at>
Date:       2003-07-30 19:24:12
[Download RAW message or body]

Hi there,

vacation.cpp gave me errors due to missing INT_MAX (Suse 8.0, gcc 2.95.3):
acation.cpp: In method `void 
{anonymous}::VacationDataExtractor::numberArgument(long unsigned int, char)':
vacation.cpp:119: `INT_MAX' undeclared (first use this function)
vacation.cpp:119: (Each undeclared identifier is reported only once


Here is the patch


Martin

["patch" (text/x-diff)]

? patch
Index: vacation.cpp
===================================================================
RCS file: /home/kde/kdepim/kmail/vacation.cpp,v
retrieving revision 1.14
diff -u -3 -p -r1.14 vacation.cpp
--- vacation.cpp	26 Jul 2003 14:51:50 -0000	1.14
+++ vacation.cpp	30 Jul 2003 19:21:52 -0000
@@ -39,6 +39,8 @@ using KMime::Types::AddrSpecList;
 
 #include <cassert>
 
+#include <limits.h>
+
 namespace {
 
   class VacationDataExtractor : public KSieve::ScriptBuilder {


_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail


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

Configure | About | News | Add a list | Sponsored by KoreLogic