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

List:       kde-devel
Subject:    kdeadmin compilation problem
From:       "Carlos F. A. Paniago" <pan () panix ! ecof ! org ! br>
Date:       2000-04-29 19:17:07
[Download RAW message or body]

Hi again:
This is the result of compilation in kdeadmin from CVS KDE2 in a FreeBSD 4.0 and
Xfree86-4.0 environment:
---
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/X11R6/include/X11/q
t -I/usr/X11R6/include  -I/usr/local/include -I.. -I../kuser    -D_KU_SHADOW -D_
KU_QUOTA -DQUOTACTL_IN_LIBC -D_KU_DEBUG -O2 -fno-exceptions -fno-rtti -fno-check
-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wn
o-long-long -fno-builtin  -c propdlg.cpp
propdlg.cpp: In method `propdlg::propdlg(KUser &, Quota &, QWidget * = 0, const
char * = 0, int = false)':
propdlg.cpp:148: base operand of `->' has non-pointer type `KUser'
propdlg.cpp:156: base operand of `->' has non-pointer type `KUser'
---
	The solution for this is:
change in line 148:
  temp_time->setTime_t(user->getLastChange());
to
  temp_time->setTime_t(user.getLastChange());
and change in line 156
  temp_time->setTime_t(user->getLastChange());
to
  temp_time->setTime_t(user.getLastChange());
---
and the gcc version 2.95.2 19991024 (release) compiler will be happy...
could someone do this. I dont know how to do this myself...

	Paniago
-- 
Nome:  Carlos Fernando Assis Paniago
Email: pan@panix.ecof.org.br		e	pan@nma.embrapa.br
Web:   http://panix.ecof.org.br/	e	http://www.nma.embrapa.br/ 
--

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

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