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

List:       kde-edu-devel
Subject:    [Kde-edu-devel] Problems compiling kdeedu
From:       Marc Bartsch <marc.bartsch () web ! de>
Date:       2001-11-01 19:29:21
[Download RAW message or body]

Hi,

I tried to compile kdeedu today with brand new qt-copy and kdelibs snapshots, 
but I got the following problems:

In file included from keduca.h:22,
                 from keduca.cpp:18:
../../config.h:59: declaration does not declare anything
../../config.h:61: parse error before `false'
../../config.h:62: parse error before `true'
make[4]: *** [keduca.o] Error 1
make[4]: Leaving directory `/home/marc/Projekte/kdeedu/keduca/keduca'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/marc/Projekte/kdeedu/keduca/keduca'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/marc/Projekte/kdeedu/keduca'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/marc/Projekte/kdeedu'
make: *** [all-recursive-am] Error 2

I looked into config.h and these are the lines that cause the error (I added 
line numbers):

#ifndef HAVE_BOOL
#define HAVE_BOOL
typedef int bool;  <---------- Line 59
#ifdef __cplusplus
const bool false = 0; <---------- Line 61
const bool true = 1;  <---------- Line 52
#else
#define false (bool)0;
#define true (bool)1;
#endif
#endif

Any ideas?

Have fun,

Marc.

-- 
Marc Bartsch
marc.bartsch@web.de
_______________________________________________
kde-edu-devel mailing list
kde-edu-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-edu-devel

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

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