AnsweredAssumed Answered

annoying C2801: '}' mission..

Question asked by Gursimran singh Mohar on Sep 9, 2010
Latest reply on Sep 9, 2010 by Gursimran singh Mohar

I get this error message while my code is totally correct

Here is my code

 

 

union long_to_float {          unsigned long long_val;          float float_val; };union long_to_float simar,simar_read; //unsigned long simar = 234;simar.float_val = 2.34;unsigned char return_val;  unsigned long* read_data;  //unsigned long p; read_data = &simar_read.long_val;  return_val = IEE1_EraseEeprom(IEE1_AREA_START);

Outcomes