[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: more problems with kalmani
From: The Hermit Hacker <scrappy () hub ! org>
Date: 2001-04-28 23:42:21
[Download RAW message or body]
Okay ... error now is:
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kio -I../../kfile \
-I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kssl \
-I/usr/base/kde/qt-copy/include -I/usr/X11R6/include -I/usr/local/include \
-I/usr/local/include -D_THREAD_SAFE -O2 -fno-exceptions -fno-check-new -Wall \
-pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long \
-Wnon-virtual-dtor -fno-builtin -frtti -ftemplate-depth-99 -DQT_NO_TRANSLATION \
-DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST \
-Wp,-MD,.deps/kaclmanipulation.pp -c kaclmanipulation.cpp -fPIC -DPIC -o \
.libs/kaclmanipulation.o
kaclmanipulation.cpp: In method `bool KPOSIX1e::KACLList::ReadACL()':
kaclmanipulation.cpp:63: `struct acl_t_struct' has no member named `acl_cnt'
kaclmanipulation.cpp:64: invalid use of type decl `struct acl_entry' as expression
kaclmanipulation.cpp: In method `void KPOSIX1e::KACLList::PrintItem(const \
KPOSIX1e::KACLEntry *)': kaclmanipulation.cpp:81: warning: unused parameter `const \
class KPOSIX1e::KACLEntry * e'
gmake: *** [kaclmanipulation.lo] Error 1
The code in question is:
for (int i=0; i < acl->acl_cnt; i++) {
e = KACLEntry::GetACLEntry(acl->acl_entry[i]);
if (e)
entries.append(e);
}
Where 'acl' is of type 'acl_t', which is defined under FreeBSD as:
===================
/* internal ACL structure */
struct acl {
int acl_cnt;
struct acl_entry acl_entry[ACL_MAX_ENTRIES];
};
/* external ACL structure */
struct acl_t_struct {
struct acl ats_acl;
int ats_cur_entry;
};
typedef struct acl_t_struct *acl_t;
=====================
Not sure what should be done for this ... make it of type 'struct acl'
instead of 'acl_t'?
Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org
> > Visit http://master.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