Safety-certified tools Tools for Automotive Applications C-STAT Static analysis C-RUN Runtime analysis Debugging and trace probes
From a user : I had missed to declare some functions. So, by mistake, I had different parameters in the definition of the function and the call(s) to the same function. My application ended up with a difficult-to-find-run-time error.
Why didn't the IAR ILINK Linker linker warn me?
Let the compiler find these problems, by enabling:
Project > Options > C/C++ Compiler > Language > C dialect > Require prototypes.
On the compiler command line, the option to use is:
Then, create a header file with the declarations and use that wherever functions are defined or called.
All product names are trademarks or registered trademarks of their respective owners.