Created attachment 567384 [details] Proposed patch. Description of problem: Function guestfs_mkdtemp uses c++ keyword "template" as a parameter name. In result, attempt to use guestfs.h header in c++ program results in compile error. Version-Release number of selected component (if applicable): 1.16.7 How reproducible: #include <guestfs.h> int main() { } Steps to Reproduce: 1. Try to compile above with g++ Actual results: /usr/include/guestfs.h:1401:76: error: expected ‘,’ or ‘...’ before ‘template’ Expected results: No error. Additional info: Proposed patch included.
Thanks, the patch looks good and I will push it shortly.
Upstream commit: 49611f121fa10d1497e46ab9aa6a7448cb89cd86 Will be fixed in 1.17.11 / 1.16.8.