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
I just tried to compile the package with clang. It said:
mpGLCanvas.cpp:481:19: warning: 'void operator delete ' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
Source code is
pixels = (GLbyte *)malloc(canvasWidth * canvasHeight * 3 * sizeof(GLbyte)); delete [] pixels;
The text was updated successfully, but these errors were encountered:
Hello, Thanks for flagging the bug. I have checked in a change that uses new instead of the malloc which should correct the bug.
Sorry, something went wrong.
brettbode
No branches or pull requests
I just tried to compile the package with clang. It said:
mpGLCanvas.cpp:481:19: warning: 'void operator delete ' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
Source code is
The text was updated successfully, but these errors were encountered: