Skip to content

[1.x] CMake: check actually needed system headers are used #333

Merged
robUx4 merged 6 commits into
Matroska-Org:v1.xfrom
robUx4:1x-cpp-includes
May 2, 2026
Merged

[1.x] CMake: check actually needed system headers are used #333
robUx4 merged 6 commits into
Matroska-Org:v1.xfrom
robUx4:1x-cpp-includes

Conversation

@robUx4
Copy link
Copy Markdown
Contributor

@robUx4 robUx4 commented May 2, 2026

No description provided.

robUx4 and others added 6 commits May 2, 2026 10:04
This triggers more compilation warning.

It is not on by default so the code will keep building without new warning in the future.
It is meant for developers of the library to produce cleaner code and/or detect issues early.

(cherry picked from commit fd4ad0c)
And make sure clang doesn't pretend to use compiler flags when it just ignores them.

(cherry picked from commit 8c3ae20)
Most of the have already been fixed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 3a015a4)
They are very noisy and not very useful.

the list of warnings can be found at https://learn.microsoft.com/en-us/cpp/preprocessor/compiler-warnings-that-are-off-by-default

(cherry picked from commit f9af4fd)
If the compiler complains we should handle it.

(cherry picked from commit 802880a)
In dev mode. So CI builds must pass with this mode on.

LIBCPP_REMOVE_TRANSITIVE_INCLUDES is a libc++ thing.

(cherry picked from commit cb754b9)
@robUx4 robUx4 merged commit f2b7fb6 into Matroska-Org:v1.x May 2, 2026
8 checks passed
@robUx4 robUx4 deleted the 1x-cpp-includes branch May 2, 2026 08:07
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.

2 participants