Tool/software: TI C/C++ Compiler
I have noticed over the various versions of CCS that they supply different boot.c files for the MSP430. The only difference is that the call to main() will either pass data or not pass data, yet the main() function in our project is declared as void of parameters.
I'm a little worried that the compiler may inadvertently produce a bug because of this.
Which is the proper syntax to call main() from boot.c?
- main();
- main(void);
- main(0);