Discussion Forum

c51 bug

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
z zs
Posted
30-Aug-2001 11:17 GMT
Toolset
C51
New! c51 bug
void abc(void)
{
}
ABC()
{
}
main()
{
abc();
ABC();
}
Read-Only
Author
Andrew Neil
Posted
30-Aug-2001 21:32 GMT
Toolset
C51
New! RE: c51 bug
Thanks for the code sample.

What was your question?
Read-Only
Author
zsz zsz
Posted
31-Aug-2001 00:50 GMT
Toolset
C51
New! RE: c51 bug
you can complier this code,what hanppen?
Read-Only
Author
Jon Young
Posted
30-Aug-2001 23:00 GMT
Toolset
C51
New! RE: c51 bug
The compiler is fine, It is the linker. The Linker is not case sensitive, so ABC = abc. In this case the linker gets so confused, that it crashes. Just make sure your externals have case insensitive unique names.
Read-Only
Author
Andrew Neil
Posted
1-Sep-2001 23:26 GMT
Toolset
C51
New! RE: c51 bug
Review this thread:
http://www.keil.com/forum/msgpage.asp?MsgID=2077

Next Thread | Thread List | Previous Thread Start a Thread | Settings