Rudi wrote:EDIT:
for interest only..
do you installed the compiler as PRO or as LITE version?
PRO version. I've been using this compiler for years. I've masked the serial number, for obvious reasons...
Rudi wrote:have a look into your HighTec C folder where libs and include are.
"C:\Program Files\HI-TECH Software\PICC\9.83\"
check / look up if system.h is in your include folder or missing
Thanks for the suggestion, but there is no "system.h" file in the Hi-Tech folders. There is a "sys.h", but that's not called by the Flowcode output.
The Flowcode V5 output for the Hi-Tech compiler does NOT include "system.h", it includes "pic.h". The Flowcode version 5 output contains this:
Code: Select all
//Functions
#define MX_CLK_SPEED 4000000
#ifdef _BOOSTC
#include <system.h>
#endif
#ifdef HI_TECH_C
#include <pic.h>
#endif
On the other hand, the Flowcode version 6 output .c file includes "internals.h":
Code: Select all
/#define MX_PIC
/*========================================================================*\
Use :Include the type definitions
\*========================================================================*/
#include "C:\Program Files\Flowcode 6\CAL\internals.c"
...which in turn includes "system.h":
Code: Select all
#ifdef MX_PIC
#include <system.h>
#endif
Flowcode version 5 clearly avoids including "system.h" but Flowcode version 6 does include it.
So....is it possible that Flowcode 6 is mistakenly including "system.h" when configured for the Hi-Tech compiler?
I'd dig in and start modifying the Flowcode "internals.c" file, but I just purchased Flowcode and hesitate to start mucking around under the hood until I understand it better.
Has anyone encountered this issue before?
Thanks...chico