Editing debug.h as you suggest got me past that next error as well! - thanks 
very much again.

make -DUNUSED=''  gives an invalid option error.

Next problem (another compiler definition issue maybe?) is:

g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -D_LARGEFILE64_SOURCE 
-D_FILE_OFFSET_BI                                                                                                                               
 TS=64 -I/opt/pan-gtk2.10.9/include/gmime-2.0 -I/usr/include/glib-2.0 
-I/usr/lib/                                                                                                                               
 glib-2.0/include   -pthread -I/usr/include/glib-2.0
 
-I/usr/lib/glib-2.0/include                                                                                                                                  
 -I/opt/pan-gtk2.10.9/include/gmime-2.0 -I/opt/pan-gtk2.10.9/include 
-I/usr/include/glib-2.0  -g -O2 -MT data.o -MD -MP -MF .deps/data.Tpo -c -o 
data.o data.cc
In file included from data.cc:21:
data.h:221: error: parse error before `__attribute__'
data.h:221: error: missing ';' before right brace
data.h:222: error: parse error before `__attribute__'
data.h:222: error: two or more data types in declaration of `on_group_subscribe
   '
data.h:223: error: missing ';' before right brace
data.h:224: error: parse error before `__attribute__'
data.h:224: error: ISO C++ forbids defining types within return type
data.h:224: error: two or more data types in declaration of `on_group_counts'
data.h:224: error: virtual outside class declaration
data.h:224: error: semicolon missing after declaration of `class pan::Data'
data.h: In function `int pan::on_group_counts(...)':
data.h:229: error: `Listener' undeclared (first use this function)
data.h:229: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)
data.h:229: error: `l' undeclared (first use this function)
data.h:229: error: variable or field `add_listener' declared void
data.h:231: error: variable or field `remove_listener' declared void
data.h:233: error: parse error before `protected'
data.h:245: error: parse error before `private'
data.h:248: error: 'listeners_t' is used as a type, but is not defined as a 
   type.
data.h:255: error: parse error before `public'
data.h:267: error: ISO C++ forbids declaration of `NewGroup' with no type
data.h: In function `int NewGroup()':
data.h:267: error: only constructors take base initializers
data.h:267: confused by earlier errors, bailing out
make[4]: *** [data.o] Error 1






      
_______________________________________________
Pan-users mailing list
Pan-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/pan-users

Reply via email to