Macro Definitions – Improved!

There is a new option for identifying and defining missing macros. The new tool shows what macros are not defined as well as how and where they are referenced. This makes it easy to see which missing Macro definitions would have the largest impact on your project.

After the parse is complete the parse log will have a new button, Undefined Macros, that leads to this new tool. You can access the previous parse log from the View menu if you have already closed it.

And you get the Undefined Macros dialog, which lets you sort and filter the list of macros that are referenced in your project but not defined. It also shows the number of times that macro is used and the number of files it is used in. To give a macro a global definition, simply select it and enter the new value in the text box near the bottom.

If the macro needs to have different values in different folders or files, the Detail View button at the bottom will provide access to the the Override dialog that will let you specify the value for a macro for any file or folder.

Once you have sent the macro values you want, the save button will prompt you to reparse the project, and large swaths of inactive (pink) code will be activated and the results of the analysis will be even more accurate.