We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
At https://github.com/jonnydee/nzmqt/blob/master/include/nzmqt/impl.hpp#L87 I get an error in compiling using G++ 9.2.0.
Instead of QByteArray(data(), int(size())) the following seems to do the job: QByteArray((char *) data(), int(size()))
./nzmqt/impl.hpp: In member function 'QByteArray nzmqt::ZMQMessage::toByteArray()': ./nzmqt/impl.hpp:90:43: error: expected primary-expression before '(' token 90 | return size() <= INT_MAX ? QByteArray(data<char>(), int(size())) : QByteArray(); | ^ ./nzmqt/impl.hpp:90:49: error: expected primary-expression before 'char' 90 | return size() <= INT_MAX ? QByteArray(data<char>(), int(size())) : QByteArray();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At https://github.com/jonnydee/nzmqt/blob/master/include/nzmqt/impl.hpp#L87 I get an error in compiling using G++ 9.2.0.
Instead of QByteArray(data(), int(size())) the following seems to do the job:
QByteArray((char *) data(), int(size()))
The text was updated successfully, but these errors were encountered: