How do I force the compiler to check for ANSI C prototypes?
Cosmic compilers adhere to the default ANSI behavior that requires compatibility with older C implementations by allowing functions without prototypes. However, we strongly urge everyone to use and check for prototypes. Missing or mismatched prototypes can cause many unexpected and difficult to find problems.
All Cosmic compilers include an option on the preprocessor (cp) to check for prototypes. This can be done by simply adding the option +proto (-pp) to your command line or configuration file (.cxf) or selecting "Force Prototyping" in the miscellaneous compiler options tab in IDEA.