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

how to define this function WBYTE

why I have this error???

MENUS.C(245): warning C206: 'wbyte': missing function-prototype
MENUS.C(245): error C267: 'wbyte': requires ANSI-style prototype

Parents
  • Isn't it obvious from the messages?!

    Read them again, carefully: they tell you that the function requires a prototype, and that the prototype is missing.

    Clearly, to fix this error, you need to provide the prototype - don't you?!

    Remember that 'C' is case-sensitive - so "WBYTE" (uppercase - as you put in your message title) is not the same as "wbyte" (lowercase - as shown in the compiler messages)...

Reply
  • Isn't it obvious from the messages?!

    Read them again, carefully: they tell you that the function requires a prototype, and that the prototype is missing.

    Clearly, to fix this error, you need to provide the prototype - don't you?!

    Remember that 'C' is case-sensitive - so "WBYTE" (uppercase - as you put in your message title) is not the same as "wbyte" (lowercase - as shown in the compiler messages)...

Children