Skip to content

Tests: Improve C compatibility of LoadCommand tests

Florian Weimer requested to merge fweimer/cmake:c99 into master

The previous code used char ** and const char ** types as if they were the same. But they are distinct types in C, so when passing these pointers as function arguments, their types have to match. Future C compilers will treat this as an error, similar to what C++ compilers do today.

Related to:

Topic-rename: tests-c99

Edited by Brad King

Merge request reports