<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Required glib version is too low"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97432">97432</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Required glib version is too low
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>glib frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>aacid@kde.org
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>