[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 135830] Compile error in KPrMSPresentationSetup.cpp relating to
From: Jens Hatlak <jh () junetz ! de>
Date: 2006-10-18 14:22:35
Message-ID: 20061018142235.10362.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=135830
------- Additional Comments From jh junetz de 2006-10-18 16:22 -------
"the acinclude.m4.in code for AC_HAVE_DPMS is where the checks for DPMSCapable and \
DPMSInfo come from, so it should be done just the same in koffice and in kdebase"
Actually, it is the same (same output as in my last comment). I just forgot to check \
the koffice config.log.
DPMSSetTimeouts is not defined anywhere, only X_DPMSSetTimeouts (in
X11/extensions/dpmsstr.h).
I checked kdebase-3.5.5/kcontrol/energy/energy.cpp and found that it includes the \
following lines:
#ifdef HAVE_DPMS
#include <X11/Xmd.h>
extern "C" {
#include <X11/extensions/dpms.h>
Status DPMSInfo ( Display *, CARD16 *, BOOL * );
Bool DPMSCapable( Display * );
int __kde_do_not_unload = 1;
#ifndef HAVE_DPMSCAPABLE_PROTO
Bool DPMSCapable ( Display * );
#endif
#ifndef HAVE_DPMSINFO_PROTO
Status DPMSInfo ( Display *, CARD16 *, BOOL * );
#endif
}
#if defined(XIMStringConversionRetrival) || defined (__sun) || defined(__hpux)
extern "C" {
#endif
Bool DPMSQueryExtension(Display *, int *, int *);
Status DPMSEnable(Display *);
Status DPMSDisable(Display *);
Bool DPMSGetTimeouts(Display *, CARD16 *, CARD16 *, CARD16 *);
Bool DPMSSetTimeouts(Display *, CARD16, CARD16, CARD16);
#if defined(XIMStringConversionRetrival) || defined (__sun) || defined(__hpux)
}
#endif
#endif
Since it compiles here, I guess that's the way to go.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic