poppler deleted Object::dictAdd(char*, Object&&)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Critical
|
Thomas Holder |
Bug Description
In commit dcd8ad25023db54
As a result inkscape-0.92.3 does not compile anymore
commit dcd8ad25023db54
Author: Albert Astals Cid <email address hidden>
Date: Thu Aug 23 23:07:41 2018 +0200
Also delete Object::dictAdd that takes a char *
Makes sure noone gets a char * -> const char * promotion via Object
ERROR message:
In file included from /usr/include/
/usr/include/
void (*__gtk_reserved1);
^
/usr/include/
void (*__gtk_reserved2);
^
extension/
extension/
In file included from /usr/include/
/usr/include/
void dictAdd(char *key, Object &&val) = delete;
^~~~~~~
Changed in inkscape: | |
assignee: | nobody → Thomas Holder (speleo3) |
Changed in inkscape: | |
status: | Confirmed → Fix Committed |
Seriously poppler should consider having a deprecation period, we already have way too many #if for poppler stuff.
They can't just go from
void dictAdd(const char *key, Object &&val);
to
void dictAdd(char *key, Object &&val) = delete;
void dictAdd(const char *key, Object &&val);
and just expect everyone to #if all uses of it ?