[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pan-users] [0.99] Patch for compile error in pan/gui/url.cc
From: |
Robert Marshall |
Subject: |
Re: [Pan-users] [0.99] Patch for compile error in pan/gui/url.cc |
Date: |
Sun, 28 May 2006 19:01:23 +0100 |
On Sun, 28 May 2006, Charles Kerr wrote:
>
>> url.cc: In function `void pan::pan_url_show(const char*)':
>> url.cc:61: error: `_' undeclared (first use this function)
>> url.cc:61: error: (Each undeclared identifier is reported only once for
>> each function it appears in.)
>
> Hm. Try this:
>
> --- url.cc.bak 2006-05-28 12:41:50.000000000 -0500
> +++ url.cc 2006-05-28 12:42:25.000000000 -0500
> @@ -20,6 +20,9 @@
> #include <config.h>
> #include <string>
> #include <glib.h>
> +extern "C" {
> +#include <glib/gi18n.h>
> +};
> #ifdef HAVE_GNOME
> #include <libgnome/gnome-url.h>
> #elif defined(G_OS_WIN32)
>
>
>
Works for me! (who was getting that error on line 83)
Thanks
Robert
--
Links and things http://rmstar.blogspot.com/
Robert Marshall