> /usr/include/libintl.h:40: error: expected unqualified-id before "const" > /usr/include/libintl.h:40: error: expected `)' before "const" > /usr/include/libintl.h:40: error: expected init-declarator before "const" > /usr/include/libintl.h:40: error: expected `,' or `;' before "const"
Googling around, it looks like one thing to try is wrapping the #include g18n.h lines in extern "C": --- line-reader.cc.bak 2006-05-28 09:50:22.000000000 -0500 +++ line-reader.cc 2006-05-28 09:50:31.000000000 -0500 @@ -1,6 +1,8 @@ #include <cerrno> #include <cstring> +extern "C"{ #include <glib/gi18n.h> +} #include "file-util.h" #include "line-reader.h" #include "log.h" If this works, it will need to be repeated in quite a few files. Let me know whether this works or not -- if it works, I can also file a bug report and patch upstream to glib... _______________________________________________ Pan-users mailing list Pan-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/pan-users