From: inger <inger@linux.ru.net>
Subject: Bugs in includes
Date: Tue, 19 Sep 2000 17:33:19 +0400
Next Article (by Author): 2.4.0.-test12 "john huttley"
Previous Article (by Author): sorry . hollace
Next in Thread: Re: Bugs in includes Amon Ott
Articles sorted by: [Date]
[Author]
[Subject]
Hello Amon!
I've found some bugs in RSBAC includes.
It's not a bugs in code, it's a bugs in idea.
1. You use name "class" in PM includes (see text below). So I can't use
C++ to develop RSBAC utilites.
struct rsbac_pm_na_data_t
{
rsbac_pm_task_id_t task;
rsbac_pm_object_class_id_t class;
rsbac_pm_tp_id_t tp;
rsbac_pm_accesses_t accesses;
};
2. You define "boolean" type (see text below). Some GUI libraries like
QT define this type too. So I see "redeclared" compiler error.
#if defined(FALSE) || defined(TRUE)
typedef int boolean;
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE 1
#endif
#else
typedef enum {FALSE, TRUE} boolean;
#endif
Result: RSBAC not ready to work with C++. But we need C++ to develop
interesting utilites.
What do you think?
------------
With best regards.
Stanislav Ievelev
<inger@linux.ru.net>
-
To unsubscribe from the rsbac list, send a mail to
majordomo@rsbac.org with
unsubscribe rsbac
as single line in the body.
Next Article (by Author): 2.4.0.-test12 "john huttley"
Previous Article (by Author): sorry . hollace
Next in Thread: Re: Bugs in includes Amon Ott
Articles sorted by: [Date]
[Author]
[Subject]