Hello,
I am using TI C/C++ toolchain and wonder if it is possible to make the linker check if variables' types declared in header files match the types of corresponding variables defined in the static libraries.
Piotr
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I am using TI C/C++ toolchain and wonder if it is possible to make the linker check if variables' types declared in header files match the types of corresponding variables defined in the static libraries.
Piotr
No. The presumption is the header file used to build the library is exactly the same as the one included in end user code. Thus, any type mismatches are caught when the library is built.
Thanks and regards,
-George