[Poppler-bugs] [Bug 97432] New: Required glib version is too low
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Aug 21 13:58:38 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=97432
Bug ID: 97432
Summary: Required glib version is too low
Product: poppler
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: glib frontend
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: aacid at kde.org
configure and cmake pass fine but then when compiling i get this error
[ 38%] Building CXX object
glib/CMakeFiles/poppler-glib.dir/poppler-document.cc.o
/home/tsdgeos/poppler/glib/poppler-document.cc: In function ‘void
poppler_document_class_init(PopplerDocumentClass*)’:
/home/tsdgeos/poppler/glib/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 /home/tsdgeos/poppler/glib/poppler.h:22,
from /home/tsdgeos/poppler/glib/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,
^
/home/tsdgeos/poppler/glib/poppler-document.cc:1573: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 /home/tsdgeos/poppler/glib/poppler.h:22,
from /home/tsdgeos/poppler/glib/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,
^
/home/tsdgeos/poppler/glib/poppler-document.cc:1586: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 /home/tsdgeos/poppler/glib/poppler.h:22,
from /home/tsdgeos/poppler/glib/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,
^
/home/tsdgeos/poppler/glib/poppler-document.cc:1599: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 /home/tsdgeos/poppler/glib/poppler.h:22,
from /home/tsdgeos/poppler/glib/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,
^
/home/tsdgeos/poppler/glib/poppler-document.cc:1612: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 /home/tsdgeos/poppler/glib/poppler.h:22,
from /home/tsdgeos/poppler/glib/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,
^
/home/tsdgeos/poppler/glib/poppler-document.cc:1625: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 /home/tsdgeos/poppler/glib/poppler.h:22,
from /home/tsdgeos/poppler/glib/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,
^
/home/tsdgeos/poppler/glib/poppler-document.cc:1638:29: 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 /home/tsdgeos/poppler/glib/poppler.h:22,
from /home/tsdgeos/poppler/glib/poppler-document.cc:41:
/usr/include/glib-2.0/gobject/gparamspecs.h:1001:13: error: initializing
argument 7 of ‘GParamSpec* g_param_spec_int(const gchar*, const gchar*, const
gchar*, gint, gint, gint, GParamFlags)’ [-fpermissive]
GParamSpec* g_param_spec_int (const gchar *name,
^
/home/tsdgeos/poppler/glib/poppler-document.cc:1651:29: 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 /home/tsdgeos/poppler/glib/poppler.h:22,
from /home/tsdgeos/poppler/glib/poppler-document.cc:41:
/usr/include/glib-2.0/gobject/gparamspecs.h:1001:13: error: initializing
argument 7 of ‘GParamSpec* g_param_spec_int(const gchar*, const gchar*, const
gchar*, gint, gint, gint, GParamFlags)’ [-fpermissive]
GParamSpec* g_param_spec_int (const gchar *name,
^
So i guess we should increase the required glib version? Or make it compile
with this "old" version if possible.
This is with glib 2.40.2
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160821/a0c99ab2/attachment.html>
More information about the Poppler-bugs
mailing list