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

A51: mixing C-preprocessor and MPL

Hi,

I'm having difficulties using MPL (macros) and the C-style preprocessor in A51 (6.12).

Whenever I use #define (C-style prepro) to declare something and activate MPL (cmdline opt: MPL; uV2: Project | Options for ... | A51 | MPL), the file won't assemble.
(You may want to try this source:
---------------------------------
#define just_a_test 25
          end
--------------------------------)

Any known solution to this behaviour?


bis die Tage...
Mathias

Parents
  • Hi,

    enabling MPL within the source file doesn't really help...
    A51 correctly translates the file, but looses track of the source line-numbers after the first expansion of an MPL-macro; without (meaningful) line-number information, you can't use the source-level debugger :-(

    Has anybody found a better solution?


    bis die Tage...
    Mathias

Reply
  • Hi,

    enabling MPL within the source file doesn't really help...
    A51 correctly translates the file, but looses track of the source line-numbers after the first expansion of an MPL-macro; without (meaningful) line-number information, you can't use the source-level debugger :-(

    Has anybody found a better solution?


    bis die Tage...
    Mathias

Children
No data