Package: fam
Version: 2.7.0-9
Severity: important
Tags: patch

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is below.


> Automatic build of fam_2.7.0-9 on bigsur by sbuild/mips 1.80
...
> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DFAM_CONF=\"/etc/fam.conf\" 
>    -g -Wall -O2 -Wno-sign-compare -Wno-deprecated -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE64_SOURCE -MT Interest.o -MD -MP -MF ".deps/Interest.Tpo" -c -o 
> Interest.o Interest.c++; \
>       then mv -f ".deps/Interest.Tpo" ".deps/Interest.Po"; else rm -f 
> ".deps/Interest.Tpo"; exit 1; fi
> Monitor.h:45: warning: 'class Monitor' has virtual functions but non-virtual 
> destructor
> IMon.h:41: warning: 'class IMon' has virtual functions but non-virtual 
> destructor
> DNotify.h:62: error: extra qualification 'DNotify::' on member 
> 'queue_overflowed'
> DNotify.h:63: error: extra qualification 'DNotify::' on member 'queue_changed'
> DNotify.h:42: warning: 'class DNotify' has virtual functions but non-virtual 
> destructor
> make[3]: *** [Interest.o] Error 1
> make[3]: Leaving directory `/build/tbm/fam-2.7.0/build-tree/fam-2.7.0/src'
> make[2]: *** [all-recursive] Error 1


--- ./fam-2.7.0/src/DNotify.h~  2006-03-10 15:29:20.000000000 +0000
+++ ./fam-2.7.0/src/DNotify.h   2006-03-10 15:29:26.000000000 +0000
@@ -59,8 +59,8 @@
     static int pipe_write_fd;
     static int pipe_read_fd;
     static int change_queue[QUEUESIZE];
-    static volatile sig_atomic_t DNotify::queue_overflowed;
-    static volatile sig_atomic_t DNotify::queue_changed;
+    static volatile sig_atomic_t queue_overflowed;
+    static volatile sig_atomic_t queue_changed;
     static volatile int queue_head; // Only modified by read handler
     static volatile int queue_tail; // Only modified by signal handler
     static EventHandler ehandler;

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to