Friday, July 31, 2009

String.h error?

when compiled it just gives the following error


line 7: from main.c





when string.h at line 7 is commented out


line 14:syntax error before " void"





the source code is like:


#include %26lt;reg9s12c.h%26gt;


//#include %26lt;introl.h%26gt;


#include %26lt;hc812a4.h%26gt;


#include %26lt;dbug12.h%26gt;


//#include %26lt;key.h%26gt;


#include %26lt;string.h%26gt;

















//Global Variables


#define highLow 75 //seize of data arrays








void Keypadlnit(); // initialize the keypad


//__mod2__void KeyWakeuplSR(); // ISR for each keypad depression (KWI)


void __attribute__((interrupt)) KeyWakeuplSR(void);





etc.,------------


----------

String.h error?
try:





#include %26lt;string%26gt;


No comments:

Post a Comment