#102 Macro Expansion wrong

Next release
closed
None
5
2014-04-12
2014-04-06
erikS
No

I have some different configurations for my project. In the active project I have a define "WAVEPLAYER8=15" (-D option). In the picture you can see the command line show the correct parameter is send to gcc. But in the macro expansion 12 is showing. This is the value from a other configuration which is not active.

1 Attachments

Discussion

    • status: open --> open-accepted
     
  • if 15 is the desired value, then the macro expansion is correct.

    the problem you face is an out-of-sync indexer.

    first be sure you configure the indexer to use the active configuration (in the Eclipse properties).

    then manually trigger Index -> Rebuild in the project.

     
  • Erik, did you fix your indexer? can we close this ticket?

     
  • erikS
    erikS
    2014-04-12

    Yes. PLease close it.

     
    • status: open-accepted --> closed
    • assigned_to: Liviu Ionescu (ilg)