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

why error, not just warning

What is the rwtionale behind the linker error L109 EMPTY RELOCATABLE SEGMENT not being just a warning?

It came up due to some conditional assembly.

Erik

  • Yes, you are correct. This is an old relict that comes from the Intel toolchain. With the LX51 Linker/Locater this is just a WARNING.

  • Hmm, I came across this when C51 v6.20 came out - it started generating empty segments, which then made the build fail due to this over-enthusiastic "Error"

    "This is an old relict that comes from the Intel toolchain"

    Intel seem to have a lot to answer for! :-(
    They seem to like making Mountains ("Errors") out of these Molehills (should be just "Warnings").

    "With the LX51 Linker/Locater this is just a WARNING"

    Yes, but the BL51 Warning L1, "Unresolved External" has become an Error (L127) in LX51 - at Intel's request!

    BL51 would only report an error if you actually used an unresolved external - which, surely, is by far the better way?

    BTW: The online Error documentation still doesn't cover the extra LX51 errors. :-(