BCC compiler bug
Posted: 31 Oct 2012, 17:07
here's another BCC bug:
If I #include a *.h file like
#include "stdio.h"
usually everything works well
- BUT -
if there is a compiler warning (no error, just a warning!) for a function listed in the .h file (like a redefinition of printf() ),
it shows this in the main file window like
"warning:.... redefinition of printf is not identical"
but in the .h file window it shows:
"# Error: Unexpected file type specified (.h)"
Furthermore, then there is no ctrl+F5 compile+download+start program functionality any more.
F5 or F6 and manual start by BtnCtr is possible though.
If I #include a *.h file like
#include "stdio.h"
usually everything works well
- BUT -
if there is a compiler warning (no error, just a warning!) for a function listed in the .h file (like a redefinition of printf() ),
it shows this in the main file window like
"warning:.... redefinition of printf is not identical"
but in the .h file window it shows:
"# Error: Unexpected file type specified (.h)"
Furthermore, then there is no ctrl+F5 compile+download+start program functionality any more.
F5 or F6 and manual start by BtnCtr is possible though.