C/C++ Programmer's Guide (G06.27+, H06.03+)

Table Of Contents
TNS C Compiler Messages
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
20-26
Types of Compiler Messages
151
During the macro expansion phase, if macro-name is encountered and if macro-
name is the same as that of the expanding macro, macro-name is not expanded, to
avoid infinite looping of a recursive call.
This message is a warning message.
152
The C compiler encountered a string literal that does not have an ending quotation
mark (").
153
A ## preprocessor operator occurs at the beginning or at the end of a replacement list.
The binary operator ## is used in macro definitions. It allows you to concatenate two
tokens, and therefore cannot occur at the beginning or at the end of the macro
definition.
154
A # preprocessor operator occurs without an accompanying parameter. The unary
operator # is used only with function-like macros, which take arguments. When the #
operator precedes a formal parameter in the macro definition, the actual argument
passed by the macro invocation is enclosed in quotation marks and treated as a string
literal.
155
When you specify a compiler pragma, you can abbreviate the pragma name. However,
you need to specify enough letters in the abbreviated pragma name to make the name
unique with respect to all the other C compiler pragma names. For example, there is
the SEARCH pragma and the SECTION pragma. To enter a unique abbreviation for
macro-name has been replaced once, no further replacement
missing ending quote
A ## preprocessing token shall not occur at the beginning or
at the end of a replacement list
A # preprocessing token must be followed by a parameter
ambiguous directive