Check the warnings produced by the compiler carefully. The Cosmic compiler does not warn about many cases where your application code may contain a bug. Later on you can switch the warning messages off if they issues they highlight are unimportant (for example, use the -W2: Do not Print INFORMATION or WARNING Messages option or use #pragma MESSAGE: Message Setting in the source code).