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

include stdlib.h less often / add more errors+warnings in MSVC #199

Merged
merged 19 commits into from
Jan 2, 2025

Conversation

robUx4
Copy link
Contributor

@robUx4 robUx4 commented Jan 2, 2025

No description provided.

robUx4 and others added 19 commits January 2, 2025 11:06
It's only part of C23 and require C11 extensions before that.
We can do it with strncpy().
We don't compile C++ in this repo.
We don't need all the extra includes.
In particular stdlib.h.
It's a sign we're doing something wrong/dirty.
It should be managed by the build system.
Clang generates a misleading-indentation wanring.
We need to have proper declarations for non static functions.
Let errors happen normally.
We don't use NodeDump() anyway. It might be useful for debugging.
MSVC can understand the regular call.
@robUx4 robUx4 merged commit eb104cf into Matroska-Org:master Jan 2, 2025
5 checks passed
@robUx4 robUx4 deleted the stdlib branch January 2, 2025 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant