This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Function too complex

I have a function,but the compiler terminated because the function is too complex.

C51 FATAL-ERROR -
  ACTION:  GENERATING INTERMEDIATE CODE
  ERROR:   FUNCTION '_siParseDescriptor' (LINE 1058, T=400,L=132,l=1): TOO COMPLEX
C51 TERMINATED.

Parents
  • Maybe the macro expansion is going wrong due to insufficient or misplaced parentheses? If the preprocessor output file is generated before you get the error you might be able to spot what's going wrong, but I doubt it - it'll probably be incomprehensible.

    Do you have to use macros? Much less confusing to use functions.

    Stefan

Reply
  • Maybe the macro expansion is going wrong due to insufficient or misplaced parentheses? If the preprocessor output file is generated before you get the error you might be able to spot what's going wrong, but I doubt it - it'll probably be incomprehensible.

    Do you have to use macros? Much less confusing to use functions.

    Stefan

Children