-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
integration with C++ / QT not working #6
Comments
Hi @vlotech, thank you for reporting the issue. The problems stem from the fact that both |
Clang and gcc both have a |
Both of the problems have been fixed through #36 |
Hi,
I've tried to integrate the licbor into a QT lib. I've been running in several issues, all related in C99 C++11 related features. The lib is statically build and could be integrated easily, except that the headers generate errors while building:
../../lib/qt/libcbor-qt/libcbor-0.3.1/src/cbor/bytestrings.h:62:79: error: expected ',' or '...' before 'data'
void cbor_bytestring_set_handle(cbor_item_t *item, cbor_mutable_data restrict data, size_t length);
../../lib/qt/libcbor-qt/libcbor-0.3.1/src/cbor/callbacks.h:224:1: sorry, unimplemented: non-trivial designated initializers not supported
Using -std=c++11 nor -std=c99 (which fails for c++ / qt anyhow) doesn't solve the issue.
What can be done to solve it?
The text was updated successfully, but these errors were encountered: