I had to add another #undef in the 'Super kludge for GNOME 2.0'
section :-) of console.h to get it to compile under Solaris
Nevada build 66, which has Gnome 2.18.0.
I have compiled this on earlier builds without problems, but I
haven't compiled it for a while, so Gnome 2.16 may have the same
problem - I'm not sure.
The problem is, baconfig.h contains:
#define bindtextdomain(p, d)
which results in the following line from /usr/include/libintl.h:
extern char *bindtextdomain(const char *, const char *);
being turned into:
extern char *;
.... which is not really very good if you want the code to
compile :-)
Allan
--- src/gnome2-console/console.h.orig Thu Jun 7 15:46:43 2007
+++ src/gnome2-console/console.h Thu Aug 16 23:50:49 2007
@@ -43,6 +43,7 @@
#undef _
#undef N_
#undef textdomain
+#undef bindtextdomain
#include <gnome.h>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel