Skip to content
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

More compiler warnings #10089

Closed
floppym opened this issue Apr 17, 2024 · 2 comments
Closed

More compiler warnings #10089

floppym opened this issue Apr 17, 2024 · 2 comments

Comments

@floppym
Copy link
Contributor

floppym commented Apr 17, 2024

Following on from #10085, I now get 2 warnings when building from master.

libfreerdp/core/orders.c:4018:33: warning: ‘free_cache_color_table_order’ called on pointer returned from a mismatched allocation function [-Wmismatched-dealloc]
winpr/libwinpr/utils/test/TestStream.c:132:9: warning: ‘Stream_Free’ called on unallocated object ‘staticStream’ [-Wfree-nonheap-object]

Full build log:
build-log.txt

@akallabeth
Copy link
Member

@floppym the winpr/libwinpr/utils/test/TestStream.c:132:9: warning: ‘Stream_Free’ called on unallocated object ‘staticStream’ [-Wfree-nonheap-object] is on purpose (just like written in the comment above the code)

I can´t get the free_cache_color_table_order warning though, neighter with clang not with gcc

@floppym
Copy link
Contributor Author

floppym commented Apr 17, 2024

I haven't looked at the code, so I was unaware of any comments. 🙂

I'll see if I can figure out what is triggering the other warning on my system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants