Keil often commits error handling

Source: Internet
Author: User

1. Hint unresolved EXTERNAL symbol symbol:? C

It is very likely that the corresponding code forgot to join the code group.

2, has been prompted me to repeat the definition of functions, search the Internet, it seems that only the variables of the repeated definition of the problem ah, how the function also has a duplicate definition of the problem ... Finally delete the uart.c and uart.h, and then compile the success ...

Finally look carefully, unexpectedly main.c in the header file contains uart.c

3,error C267: ' xx ': Requires Ansi-style prototype

Xx-is usually a function and lacks a function prototype.
Sometimes oneself clearly has the declaration, this time must notice, may be later slightly changed the incoming parameter or the return type, the notice revises again.

4. warning C276:constant in condition expression

See the wrong place to understand.

5,* * * WARNING l16:uncalled SEGMENT, ignored for OVERLAY PROCESS

Not called fragments, note the difference between the distinguished and the not called functions. WARNING l16:uncalled SEGMENT, ignored for OVERLAY PROCESS
This is usually a constant segment, for example, my Ledchar defines a non-invocation.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.