C51: STARTUP CODE UNRESOLVED EXTERNAL (?B_SWITCH0)

官方的解释:原来是软件本身的BUG,FUCK

http://www.keil.com/support/docs/1953.htm

C51: STARTUP CODE UNRESOLVED EXTERNAL (?B_SWITCH0)

Information in this article applies to:

  • C51 Version 6.12

QUESTION

I am using C51 Version 6.12 and when I try to build a simple project, I receive the following linker error:

Warning L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: ?B_SWITCH0
MODULE: STARTUP.OBJ (?C_STARTUP)

I do not receive this error message if I exclude the startup code. However, I was under the impression that this is required.

ANSWER

This is a known problem in C51 V6.12. It has been corrected in C51 V6.14. You may download the latest updatesfrom the Keil Website.

你可能感兴趣的:(C51: STARTUP CODE UNRESOLVED EXTERNAL (?B_SWITCH0))