macros redefine Miscellaneous Option (C++)

Syntax: Default:
macros(redefinel[, yes])
macros(redefine, no)
macros(redefine, no)

This option controls whether macros in the associated C++ source files can be redefined without using the #undef preprocessor directive first.

A macro defined using the configuration file option define(macro_name[, string]) can be redefined without using the #undef option, regardless of the setting of the macros(redefine) option.

Set macros redefine to yes to allow a #define preprocessor directive for a macro that is currently defined.

By default VisualAge C++ enforces the rules of the C++ standard, and does not let you redefine a macro in your source without undefining it first.



Incremental C++ Build
Macros in C++ Source Files


Set Build Options
Build


Miscellaneous Build Options
Miscellaneous Build Options
Build Options for Compliance With the C++ Standard
Build Options for Compatibility with Old C++ Compilers