In file 'OPS' defined
strings - menu messages on key pressed (which
hooked in mainmenu_Loop). This file not included in *.c or *.h - so when make compile address.c I have warnings/error, for example - OP_EXIT - not declared. After that compiler found this definisions in switch statement : switch (menumain_Loop(...)) { ..... case OP_EXIT : ..... ..... } So this is error becouse in switch we can use only integer type's! Can you help me? |