Summary: | libqmi c++ compile compatibility | ||
---|---|---|---|
Product: | libqmi | Reporter: | Matt <matthew.weber> |
Component: | libqmi | Assignee: | Dan Williams <dcbw> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | possible fix |
version 1.12.6 (In reply to Matt from comment #0) > Created attachment 117407 [details] > possible fix > > Attached patch fixes a C++ compile issue with auto-generated code > (qmi-dms.h) that has a variable named "new" in a function prototype. > > I believe I missed another spot where a change is required to make the > documentation update correctly. I fixed it in some other way; instead of renaming the variable, which would change the getter method, I forced the variables to be generated with some other name while keeping the method name the same, see: http://cgit.freedesktop.org/libqmi/commit/?id=a3cfd87ac31b2901f0aad4c8522aadf901828d4b Thanks for the report! |
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.
Created attachment 117407 [details] possible fix Attached patch fixes a C++ compile issue with auto-generated code (qmi-dms.h) that has a variable named "new" in a function prototype. I believe I missed another spot where a change is required to make the documentation update correctly.