diff options
author | Florian Weimer <fweimer@redhat.com> | 2023-11-23 07:45:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-01-25 19:35:01 (GMT) |
commit | a10d2ad39792a7550c00cd4d351b583b7e61a434 (patch) | |
tree | 1a0d28f521341f09aedf089f3eee90be3d0bb9ab /Modules/CMakeCCompiler.cmake.in | |
parent | 151601c2e3419bd65bb276e77588c551487b4744 (diff) | |
download | CMake-a10d2ad39792a7550c00cd4d351b583b7e61a434.zip CMake-a10d2ad39792a7550c00cd4d351b583b7e61a434.tar.gz CMake-a10d2ad39792a7550c00cd4d351b583b7e61a434.tar.bz2 |
Tests: Improve C compatibility of LoadCommand tests
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.
Diffstat (limited to 'Modules/CMakeCCompiler.cmake.in')
0 files changed, 0 insertions, 0 deletions