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

L2 Warning...

Am I the only one, or does someone else think it would be handy for the C51 tools to open the source file and locate for where a reference is made to an unresolved external?

I just deleted a routine that I know I don't want, but there was some scattered test code that referenced it. I get a stack of L2 warnings, but when I click on them, the tools doesn't do anything. It would be great if it went to the location of the warning.

Parents
  • L2 is a linker warning. The linker does not reference the C source file (since the source may not be available).

    If you don't get a C compiler warning, then the function is probably prototyped somewhere. Remove the prototype and the C compiler will warn you of acccess to an unprototyped function.

    Jon

Reply
  • L2 is a linker warning. The linker does not reference the C source file (since the source may not be available).

    If you don't get a C compiler warning, then the function is probably prototyped somewhere. Remove the prototype and the C compiler will warn you of acccess to an unprototyped function.

    Jon

Children