-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Compiler warning: xxxx called on pointer returned from a mismatched allocation function #10085
Comments
|
@floppym ok, managed to find the reason. (mostly forgotten pragma to silence the warnings, but a few actual issues in unit tests too) |
This happened both with 3.5.0 and tip of master.
Yes, this was a build with testing enabled. Here's the full cmake command:
|
Full build log for reference. |
This means it is impossible to test that the software works when packaging for a Linux distro. Very unfortunate. Wouldn't it make more sense to e.g. build an object library and link both the unittests and the installable library to the object library? |
well, pull requests welcome, but the effort is wasted time and adds quite some complexity to the build system without any meaningful gain. |
When building FreeRDP on Gentoo Linux with GCC 13.2.1_p20240210, the following warnings appear:
The text was updated successfully, but these errors were encountered: