Again many thanks for your replies and when I've fully completed my project I will produce a tutorial for other and put it on this site, without this site I would have no chance of completing my project.
So I have produced an empty project and a simple structure and it does not compile. In Visual Studio 2008 it does compile so I wonder why it does not compile with the Hitachi compiler.
#include "fxlib.h" #include "dispbios.h" struct menu { int noitems; bool type; }; int AddIn_main(int isAppli, unsigned short OptionNum) { } #pragma section _BR_Size unsigned long BR_Size; #pragma section #pragma section _TOP int InitializeSystem(int isAppli, unsigned short OptionNum) { return INIT_ADDIN_APPLICATION(isAppli, OptionNum); } #pragma section
The error is:
C:\Users\Paul Brassington\Documents\CASIO\fx-9860G SDK\mathsanswers\menumaster\MENUKING.c(6) : C2500 (E) Illegal token "bool"
Any help greatly appreciated as I now realize that the Hitachi compiler may be very different from the Visual Studio compiler.
Paul