[issue155] Missing ifdef header guard in ksmarttray.h

Pascal Bleser at Labix Tracker tracker at labix.org
Sun May 28 23:46:20 PDT 2006


New submission from Pascal Bleser <guru at unixtech.be>:

There is no "ifdef guard" in ksmarttray.h, which causes compilation to fail when
using the preferred build method for KDE packages on SUSE Linux (with
update_admin and unsermake).
To reproduce, build ksmarttray like this (in the contrib/ksmarttray directory):
. /etc/opt/kde3/common_options
update_admin
./configure $configkde
do_make

The attached patch adds #ifndef __KSMARTTRAY_H_DEF around the header file to
make sure it's only included once.

----------
files: smart-ksmarttray-guard.diff
messages: 498
nosy: loki
priority: bug
project: smart
status: unread
title: Missing ifdef header guard in ksmarttray.h

_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue155>
_______________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smart-ksmarttray-guard.diff
Type: text/x-patch
Size: 461 bytes
Desc: not available
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20060529/39edc156/attachment-0002.bin>


More information about the Smart mailing list