what is error 54

Help
2009-01-15
2013-03-12
  • C.S.M.G. Sarma
    C.S.M.G. Sarma
    2009-01-15

    Hi all,

    I  am working with 8051 family microcontrollers. I have come across this error.

    "error 54: Function cannot return aggregate. Func body ignored"

    what is this error?

     
    • Maarten Brock
      Maarten Brock
      2009-01-16

      SDCC cannot handle functions that return a struct or union (as documented in the manual under ANSI compliance).

       
    • C.S.M.G. Sarma
      C.S.M.G. Sarma
      2009-01-19

      Thank you, I sorted it out.