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

169
extra #endif
Cause
The compiler encountered an if section that contains a #endif preprocessing directive without
a matching #if preprocessing directive to begin the if section.
170
character format in SQL directive was set twice; default is used
Cause
The default structure for a C string that is used as an SQL host variable is a null terminated array
of characters. The char_as_array option of the SQL pragma directs the compiler to pass
strings to SQL as an array of characters with no null terminator. The C compiler encountered
two SQL pragmas with the char_as_array option specified. Therefore, the default of a C
string being a null-terminated array of characters is being used.
171
missing end declare section directive for previous begin declare section
directive
Cause
In SQL, when you have an exec sql BEGIN DECLARE SECTION directive you must have a
matching exec sql END DECLARE SECTION directive. The C compiler encountered an END
DECLARE SECTION directive without a matching BEGIN DECLARE SECTION directive.
172
sqlmem directive only valid with XMEM compilation
Cause
When you specify the SQLMEM pragma, you must have previously specified the XMEM pragma.
173
illegal sqlmem option
Cause
When you specify the SQLMEM pragma, the XMEM and SQL pragmas must have been previously
defined.
174
the argument of sizeof function has an incomplete type
Cause
The C compiler encountered a sizeof function whose argument does not have a complete
type. In this example, the compiler issues this error message because the type of x is not
completely defined.
struct x;
...
sizeof x;
175
two storage class specifiers exist in the same declaration
Types of Compiler Messages 351