VMS Help  —  CC  Messages  UNREACHCODE
 Message        Code at or just after this location can never be
                executed<inline info>.

 Description    The compiler has detected code that can never be
                executed.  Often unreachable code represents a real
                coding error such as a label that is incorrectly
                spelled, or a statement that was inserted on the
                wrong line.  But sometimes it occurs in good code as
                a result of logical expressions that depend only on
                the values of constants (typically through macro
                expansion).

 User Action    Usually any code correction is obvious.  And often it
                is straightforward to rewrite compile-time logical
                expressions in terms of preprocessing constructs to
                avoid this diagnostic.  But in some programs it may
                be necessary to suppress this informational message
                explicitly in order to obtain a diagnostic-free
                compilation of production code, since rewriting the
                expression not to be evaluated at compile time would
                impact performance.
Close Help