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

Lx51 "Data Type Different" Warnings ?

Hello.

I have a project that links to a library I created using the C51 toolset.

If I build it using BL51, everything's cool. If I build it with Lx51, I get warnings like this:

*** WARNING L25: DATA TYPES DIFFERENT
    SYMBOL:  _FnName
    MODULE:  .\main.obj (MAIN)
though the application appears to work just fine in the simulator.

If I build the project with source files only (i.e. I compile the modules that are normally in the library, and I don't link to the library) then everything works under BL51 and Lx51.

So, what can I do to enable me to build projects using Lx51 and my libraries, and avoid these "Data Type Different" Warnings?

Parents
  • Let me expand on "Should Lx51 be able to link libraries built with C51?"

    Should Lx51 be able to link libraries built with C51 with any memory model (small, large, compact) and any memory qualifier (data, idata, xdata)?

    My gut feeling is that there is something about the memory type qualifiers used when the library was generated that is somehow (slightly) incompatible with Lx51. But that's just a guess at this point.

Reply
  • Let me expand on "Should Lx51 be able to link libraries built with C51?"

    Should Lx51 be able to link libraries built with C51 with any memory model (small, large, compact) and any memory qualifier (data, idata, xdata)?

    My gut feeling is that there is something about the memory type qualifiers used when the library was generated that is somehow (slightly) incompatible with Lx51. But that's just a guess at this point.

Children