Library /sys$common/syshlp/HELPLIB.HLB  —  CC  Messages  BADTARGMACRO
 Message        The target macro "<name>" does not match the
                compiler's target.  This will likely cause incorrect
                code paths to be taken.

 Description    On OpenVMS I64, some users have tried defining the
                macro __ALPHA explicitly using /DEFINE or a #define
                in a /FIRST_INCLUDE file as a quick way to deal with
                source code conditionals that assume that if __ALPHA
                is not defined then the target must be a VAX.
                Defining __ALPHA will cause many of the CRTL and
                other OpenVMS headers to take the wrong path for I64.

 User Action    Remove any definitions of Alpha target macros, and if
                necessary correct the preprocessor conditionals that
                seemed to require an Alpha target macro to get the
                desired effect.  E.g.  change "#ifdef __ALPHA" to
                "#ifndef __VAX" or "#if defined(__ALPHA) ||
                defined(__ia64)".
Close Help