Summary: | Required glib version is too low | ||
---|---|---|---|
Product: | poppler | Reporter: | Albert Astals Cid <aacid> |
Component: | glib frontend | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Albert Astals Cid
2016-08-21 13:58:38 UTC
A typecast would fix it. Changing "G_PARAM_READWRITE" to "(GParamFlags) G_PARAM_READWRITE". Before glib 2.42, instead of being a member of typedef enum GParamFlags, G_PARAM_READWRITE was #define'd as "(G_PARAM_READABLE | G_PARAM_WRITABLE)". C is fine with this, but C++ complains with its stricter rules. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/297. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.