Hi all,

I'm trying to build poppler 0.47 on Ubuntu 14.04, and it fails with this
error:

poppler-document.cc: In function 'void
poppler_document_class_init(PopplerDocumentClass*)':
poppler-document.cc:1521:25: error: invalid conversion from 'int' to
'GParamFlags' [-fpermissive]
        G_PARAM_READWRITE));
                         ^
In file included from /usr/include/glib-2.0/glib-object.h:28:0,
                 from poppler.h:22,
                 from poppler-document.cc:41:
/usr/include/glib-2.0/gobject/gparamspecs.h:1085:13: error:   initializing
argument 5 of 'GParamSpec* g_param_spec_string(const gchar*, const gchar*,
const gchar*, const gchar*, GParamFlags)' [-fpermissive]
 GParamSpec* g_param_spec_string  (const gchar  *name,
             ^
poppler-document.cc:1573:25: error: invalid conversion from 'int' to
'GParamFlags' [-fpermissive]


Does it need a newer version of glib-2.0 since 0.47 release? Or am I
missing something other library or reference?

Longer output:
http://pastebin.com/wBdmL7GV

-- 
-Alex
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to