On 2/8/21 17:05, Kalev Lember wrote:
On 2/6/21 18:06, Florian Weimer wrote:
Icecat is probably including the glib header in an extern "C" block.
You can escape from that by including <type_traits> inside an extern
"C++" block.  See /usr/include/math.h for an example.

Thanks! I went ahead and filed https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1935 with the suggested change.

The glib upstream MR got rejected, which means all consumers are going
to have to fix their use of glib headers to not include them in an
extern "C" block.

--
Kalev
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to