On 2/22/21 9:33 PM, Jerry James wrote:

The compiler is telling you that it saw "#include <glib.h>" inside an
extern "C" block, but that glib.h ultimately pulls in headers with C++
definitions.  It looks like the glib headers already take care of
defining things correctly depending on whether they are being consumed
by a C compiler or a C++ compiler.  Tell upstream to move all #include
statements for glib headers out of extern "C" blocks.

Thank you! That helped. I am able to build successfully on mock. I will update this soon and submit the patch upstream.

--
GPG Key: E5C8BC67
_______________________________________________
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
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to