c_error_refs

MULTI: Toolchain Error Messages
Green Hills Software
30 West Sola Street
Santa Barbara, California 93101
USA
Tel: 805-965-6044
Fax: 805-965-6343
www.ghs.com

LEGAL NOTICES AND DISCLAIMERS
GREEN HILLS SOFTWARE MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE
CONTENTS HEREOF AND SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY
OR FITNESS FOR ANY PARTICULAR PURPOSE. Further, Green Hills Software reserves the right to revise this
publication and to make changes from time to time in the content hereof without obligation of Green Hills Software to
notify any person of such revision or changes.
Copyright © 1983-2015 by Green Hills Software. All rights reserved. No part of this publication may be reproduced, stored
in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or
otherwise, without prior written permission from Green Hills Software.
Green Hills, the Green Hills logo, CodeBalance, GMART, GSTART, INTEGRITY, MULTI, and Slingshot are registered
trademarks of Green Hills Software. AdaMULTI, Built with INTEGRITY, EventAnalyzer, G-Cover, GHnet, GHnetLite,
Green Hills Probe, Integrate, ISIM, u-velOSity, PathAnalyzer, Quick Start, ResourceAnalyzer, Safety Critical Products,
SuperTrace Probe, TimeMachine, TotalDeveloper, DoubleCheck, and velOSity are trademarks of Green Hills Software.
All other company, product, or service names mentioned in this book may be trademarks or service marks of their respective
owners.
For a partial listing of Green Hills Software and periodically updated patent marking information, please visit
http://www.ghs.com/copyright_patent.html.
PubID: c_error_ref-544152
Branch: http://toolsvc/branches/release-branch-70-bto
Date: October 21, 2015

Contents
1. C and C++ Compiler Error Messages
1
Compiler Error Message Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Errors 1 to 99 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Errors 100 to 199 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Errors 200 to 299 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Errors 300 to 399 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Errors 400 to 499 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Errors 500 to 599 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Errors 600 to 699 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Errors 700 to 799 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Errors 800 to 899 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Errors 900 to 999 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Errors 1000 to 1099 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Errors 1100 to 1199 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Errors 1200 to 1299 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Errors 1300 to 1399 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Errors 1400 to 1499 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Errors 1500 to 1599 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Errors 1600 to 1699 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Errors 1700 to 1799 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Errors 1800 to 1899 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Errors 1900 to 1999 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Errors 2000 to 2099 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Errors 2900 to 2999 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
2. Linker Error Messages
141
Linker Error Message Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Errors 1 to 99 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Errors 100 to 199 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Errors 200 to 299 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Errors 300 to 399 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Errors 400 to 499 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Green Hills Software
iii

Contents
Errors 500 to 599 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Errors 600 to 699 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
3. Assembler Error Messages
199
Assembler Error Message Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Errors 1 to 99 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Errors 100 to 199 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Errors 200 to 299 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
Errors 300 to 399 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
Errors 2000 to 2099 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Errors 2100 to 2199 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
Errors 2200 to 2299 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
Errors 2300 to 2399 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
iv
MULTI: Toolchain Error Messages

Chapter 1
C and C++ Compiler Error
Messages
Contents
Compiler Error Message Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Chapter 1. C and C++ Compiler Error Messages
This chapter lists error messages that you may encounter when compiling C or C++
code, listed by error number. For information about how to suppress these messages,
see “Set Message to Silent (--diag_suppress)” in Chapter 3, “Builder and Driver
Options” in the MULTI: Building Applications book.
Compiler Error Message Codes
The following list contains all the C and C++ compiler error messages:
Errors 1 to 99
1
last_line_incomplete
last line of file ends without a newline
2
last_line_backslash
last line of file ends with a backslash
3
include_recursion
#include file "xxxx" includes itself
For more information, see “C++ Implementation Defined Features” in “Green Hills
C++” in the MULTI: Building Applications book.
4
out_of_memory
out of memory
5
source_file_could_not_be_opened
could not open source file "xxxx"
6
comment_unclosed_at_eof
comment unclosed at end of file
7
bad_token
unrecognized token
8
unclosed_string
missing closing quote
2
MULTI: Toolchain Error Messages

Errors 1 to 99
9
nested_comment
nested comment is not allowed
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
You cannot nest comments inside one another. For example, the following line will
cause the compiler to issue a warning:
/* this is /*a comment*/ not a comment */
Because the first instance of */ closes the comment, the compiler parses not a
comment as C code.
10
bad_use_of_sharp
"#" not expected here
11
bad_pp_directive_keyword
unrecognized preprocessing directive
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
The compiler issues this warning when it does not recognize a preprocessing directive.
For example:
#foo
12
end_of_flush
parsing restarts here after previous syntax error
13
exp_file_name
expected a file name
14
extra_text_in_pp_directive
extra text after expected end of preprocessing directive
16
illegal_source_file_name
"xxxx" is not a valid source file name
17
exp_rbracket
expected a "]"
18
exp_rparen
expected a ")"
19
extra_chars_on_number
extra text after expected end of number
Green Hills Software
3

Chapter 1. C and C++ Compiler Error Messages
20
undefined_identifier
identifier "xxxx" is undefined
21
useless_type_qualifiers
type qualifiers are meaningless in this declaration
22
bad_hex_digit
invalid hexadecimal number
23
integer_too_large
integer constant is too large
24
bad_octal_digit
invalid octal digit
25
zero_length_string
quoted string should contain at least one character
26
too_many_characters
too many characters in character constant
27
bad_character_value
character value is out of range
28
expr_not_constant
expression must have a constant value
29
exp_primary_expr
expected an expression
30
bad_float_value
floating constant is out of range
31
expr_not_integral
expression must have integral type
32
expr_not_arithmetic
expression must have arithmetic type
33
exp_line_number
expected a line number
34
bad_line_number
invalid line number
4
MULTI: Toolchain Error Messages

Errors 1 to 99
35
error_directive
#error directive: xxxx
36
missing_pp_if
the #if for this directive is missing
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
37
missing_endif
the #endif for this directive is missing
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
38
pp_else_already_appeared
directive is not allowed -- an #else has already appeared
39
divide_by_zero
division by zero
40
exp_identifier
expected an identifier
41
expr_not_scalar
expression must have arithmetic or pointer type
42
incompatible_operands
operand types are incompatible ("type" and "type")
44
expr_not_pointer
expression must have pointer type
45
cannot_undef_predef_macro
#undef may not be used on this predefined name "entity"
46
cannot_redef_predef_macro
"entity" is predefined; attempted redefinition ignored
47
bad_macro_redef
incompatible redefinition of macro "entity" (declared at line
xxxx)
49
duplicate_macro_param_name
duplicate macro parameter name
Green Hills Software
5

Chapter 1. C and C++ Compiler Error Messages
50
paste_cannot_be_first
"##" may not be first in a macro definition
51
paste_cannot_be_last
"##" may not be last in a macro definition
52
exp_macro_param
expected a macro parameter name
53
exp_colon
expected a ":"
54
too_few_macro_args
too few arguments in macro invocation
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
55
too_many_macro_args
too many arguments in macro invocation
56
sizeof_function
operand of sizeof may not be a function
57
bad_constant_operator
this operator is not allowed in a constant expression
58
bad_pp_operator
this operator is not allowed in a preprocessing expression
59
bad_constant_function_call
function call is not allowed in a constant expression
60
bad_integral_operator
this operator is not allowed in an integral constant expression
61
integer_overflow
integer operation result is out of range
62
negative_shift_count
shift count is negative
63
shift_count_too_large
shift count is too large
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
6
MULTI: Toolchain Error Messages

Errors 1 to 99
64
useless_decl
declaration does not declare anything
65
exp_semicolon
expected a ";"
66
enum_value_out_of_int_range
enumeration value is out of "int" range
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
67
exp_rbrace
expected a "}"
68
integer_sign_change
integer conversion resulted in a change of sign
69
integer_truncated
integer conversion resulted in truncation
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
70
incomplete_type_not_allowed
incomplete type is not allowed
71
sizeof_bit_field
operand of sizeof may not be a bit field
75
bad_indirection_operand
operand of "*" must be a pointer
76
empty_macro_argument
argument to macro is empty
77
missing_decl_specifiers
this declaration has no storage class or type specifier
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
78
initializer_in_param
a parameter declaration may not have an initializer
79
exp_type_specifier
expected a type specifier
Green Hills Software
7

Chapter 1. C and C++ Compiler Error Messages
80
storage_class_not_allowed
a storage class may not be specified here
81
mult_storage_classes
more than one storage class may not be specified
82
storage_class_not_first
storage class is not first
83
dupl_type_qualifier
type qualifier specified more than once
84
bad_combination_of_type_specifiers
invalid combination of type specifiers
85
bad_param_storage_class
invalid storage class for a parameter
86
bad_function_storage_class
invalid storage class for a function
87
type_specifier_not_allowed
a type specifier may not be used here
88
array_of_function
array of functions is not allowed
89
array_of_void
array of void is not allowed
90
function_returning_function
function returning function is not allowed
91
function_returning_array
function returning array is not allowed
92
param_id_list_needs_function_def
identifier-list parameters may only be used in a function
definition
93
function_type_must_come_from_declarator
function type may not come from a typedef
94
array_size_must_be_positive
the size of an array must be greater than zero
8
MULTI: Toolchain Error Messages

Errors 100 to 199
95
array_size_too_large
array is too large
96
empty_translation_unit
a translation unit must contain at least one declaration
97
bad_function_return_type
a function may not return a value of this type
98
bad_array_element_type
an array may not have elements of this type
99
decl_should_be_of_param
a declaration here must declare a parameter
Errors 100 to 199
100
dupl_param_name
duplicate parameter name
101
id_already_declared
"xxxx" has already been declared in the current scope
102
nonstd_forward_decl_enum
forward declaration of enum type is nonstandard
103
class_too_large
class is too large
104
struct_too_large
struct or union is too large
105
bad_bit_field_size
invalid size for bit field
106
bad_bit_field_type
invalid type for a bit field
107
zero_length_bit_field_must_be_unnamed
zero-length bit field must be unnamed
Green Hills Software
9

Chapter 1. C and C++ Compiler Error Messages
108
signed_one_bit_field
signed bit field of length 1
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
109
expr_not_ptr_to_function
expression must have (pointer-to-) function type
110
exp_definition_of_tag
expected either a definition or a tag name
111
code_is_unreachable
statement is unreachable
112
exp_while
expected "while"
114
never_defined
entity-kind "entity" was referenced but not defined
115
continue_must_be_in_loop
a continue statement may only be used within a loop
116
break_must_be_in_loop_or_switch
a break statement may only be used within a loop or switch
117
no_value_returned_in_non_void_function
non-void entity-kind "entity" should return a value
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
118
value_returned_in_void_function
a void function may not return a value
119
cast_to_bad_type
cast to type "type" is not allowed
120
bad_return_value_type
return value type does not match the function type
121
case_label_must_be_in_switch
a case label may only be used within a switch
122
default_label_must_be_in_switch
a default label may only be used within a switch
10
MULTI: Toolchain Error Messages

Errors 100 to 199
123
case_label_appears_more_than_once
case label value has already appeared in this switch at line
xxxx
124
default_label_appears_more_than_once
default label has already appeared in this switch at line xxxx
125
exp_lparen
expected a "("
126
expr_not_an_lvalue
expression must be an lvalue
127
exp_statement
expected a statement
128
loop_not_reachable
loop is not reachable from preceding code
129
block_scope_function_must_be_extern
a block-scope function may only have extern storage class
130
exp_lbrace
expected a "{"
131
expr_not_ptr_to_class
expression must have pointer-to-class type
132
expr_not_ptr_to_struct_or_union
expression must have pointer-to-struct-or-union type
133
exp_member_name
expected a member name
134
exp_field_name
expected a field name
135
not_a_member
entity-kind "entity" has no member "xxxx"
136
not_a_field
entity-kind "entity" has no field "xxxx"
137
expr_not_a_modifiable_lvalue
expression must be a modifiable lvalue
Green Hills Software
11

Chapter 1. C and C++ Compiler Error Messages
138
address_of_register_variable
taking the address of a register variable is not allowed
139
address_of_bit_field
taking the address of a bit field is not allowed
140
too_many_arguments
too many arguments in function call
141
all_proto_params_must_be_named
unnamed prototyped parameters not allowed when body is present
142
expr_not_pointer_to_object
expression must have pointer-to-object type
143
program_too_large
program too large or complicated to compile
144
bad_initializer_type
a value of type "type" cannot be used to initialize an entity
of type "type"
145
cannot_initialize
entity-kind "entity" may not be initialized
146
too_many_initializer_values
too many initializer values
147
not_compatible_with_previous_decl
declaration is incompatible with entity-kind "entity" (declared
at line xxxx)
148
already_initialized
entity-kind "entity" has already been initialized
149
bad_file_scope_storage_class
a global-scope declaration may not have this storage class
150
type_cannot_be_param_name
a type name may not be redeclared as a parameter
151
typedef_cannot_be_param_name
a typedef name may not be redeclared as a parameter
152
non_zero_int_conv_to_pointer
conversion of nonzero integer to pointer
12
MULTI: Toolchain Error Messages

Errors 100 to 199
153
expr_not_class
expression must have class type
154
expr_not_struct_or_union
expression must have struct or union type
155
old_fashioned_assignment_operator
old-fashioned assignment operator
156
old_fashioned_initializer
old-fashioned initializer
157
expr_not_integral_constant
expression must be an integral constant expression
158
expr_not_an_lvalue_or_function_designator
expression must be an lvalue or a function designator
159
decl_incompatible_with_previous_use
declaration is incompatible with previous "entity" (declared at
line xxxx)
160
external_name_clash
external name conflicts with external name of entity-kind
"entity" (declared at line xxxx)
161
unrecognized_pragma
unrecognized #pragma
163
cannot_open_temp_file
could not open temporary file "xxxx"
164
temp_file_dir_name_too_long
name of directory for temporary files is too long ("xxxx")
165
too_few_arguments
too few arguments in function call
166
bad_float_constant
invalid floating constant
167
incompatible_param
argument of type "type" is incompatible with parameter of type
"type"
Green Hills Software
13

Chapter 1. C and C++ Compiler Error Messages
168
function_type_not_allowed
a function type is not allowed here
169
exp_declaration
expected a declaration
170
pointer_outside_base_object
pointer points outside of underlying object
171
bad_cast
invalid type conversion
172
linkage_conflict
external/internal linkage conflict with previous declaration
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
173
float_to_integer_conversion
floating-point value does not fit in required integral type
174
expr_has_no_effect
expression has no effect
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
175
subscript_out_of_range
subscript out of range
177
declared_but_not_referenced
entity-kind "entity" was declared but never referenced
178
pcc_address_of_array
"&" applied to an array has no effect
179
mod_by_zero
right operand of "%" is zero
180
old_style_incompatible_param
argument is incompatible with formal parameter
181
printf_arg_mismatch
argument is incompatible with corresponding format string
conversion (expected "type", given "type")
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
14
MULTI: Toolchain Error Messages

Errors 100 to 199
182
empty_include_search_path
could not open source file "xxxx" (no directories in search list)
183
cast_not_integral
type of cast must be integral
184
cast_not_scalar
type of cast must be arithmetic or pointer
185
initialization_not_reachable
dynamic initialization in unreachable code
186
unsigned_compare_with_zero
pointless comparison of unsigned integer with zero
187
assign_where_compare_meant
use of "=" where "==" may have been intended
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
188
mixed_enum_type
enumerated type mixed with another type
189
file_write_error
error while writing xxxx file
190
bad_il_file
invalid intermediate language file
191
cast_to_qualified_type
type qualifier is meaningless on cast type
192
unrecognized_char_escape
unrecognized character escape sequence
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
193
undefined_preproc_id
zero used for undefined preprocessing identifier "xxxx"
194
exp_asm_string
expected an asm string
195
asm_func_must_be_prototyped
an asm function must be prototyped
Green Hills Software
15

Chapter 1. C and C++ Compiler Error Messages
196
bad_asm_func_ellipsis
an asm function may not have an ellipsis
Errors 200 to 299
219
file_delete_error
error while deleting file "xxxx"
220
integer_to_float_conversion
integral value does not fit in required floating-point type
221
float_to_float_conversion
floating-point value does not fit in required floating-point
type
222
bad_float_operation_result
floating-point operation result is out of range
223
implicit_func_decl
function xxxx declared implicitly
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
224
too_few_printf_args
the format string requires additional arguments
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
225
too_many_printf_args
the format string ends before this argument
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
226
bad_printf_format_string
invalid format string conversion
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
227
macro_recursion
macro recursion
228
nonstd_extra_comma
trailing comma is nonstandard
16
MULTI: Toolchain Error Messages

Errors 200 to 299
229
enum_bit_field_too_small
bit field cannot contain all values of the enumerated type
230
nonstd_bit_field_type
nonstandard type for a bit field
231
decl_in_prototype_scope
declaration is not visible outside of function
232
decl_of_void_ignored
old-fashioned typedef of "void" ignored
233
old_fashioned_field_selection
left operand is not a struct or union containing this field
234
old_fashioned_ptr_field_selection
pointer does not point to struct or union containing this field
235
var_retained_incomp_type
variable "xxxx" was declared with a never-completed type
236
boolean_controlling_expr_is_constant
controlling expression is constant
237
switch_selector_expr_is_constant
selector expression is constant
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
238
bad_param_specifier
invalid specifier on a parameter
239
bad_specifier_outside_class_decl
invalid specifier outside a class declaration
240
dupl_decl_specifier
duplicate specifier in declaration
241
base_class_not_allowed_for_union
a union is not allowed to have a base class
242
access_already_specified
multiple access control specifiers are not allowed
243
missing_class_definition
class or struct definition is missing
Green Hills Software
17

Chapter 1. C and C++ Compiler Error Messages
244
name_not_member_of_class_or_base_classes
qualified name is not a member of class "type" or its base
classes
245
member_ref_requires_object
a nonstatic member reference must be relative to a specific
object
246
nonstatic_member_def_not_allowed
a nonstatic data member may not be defined outside its class
247
already_defined
entity-kind "entity" has already been defined
248
pointer_to_reference
pointer to reference is not allowed
249
reference_to_reference
reference to reference is not allowed
250
reference_to_void
reference to void is not allowed
251
array_of_reference
array of reference is not allowed
252
missing_initializer_on_reference
reference entity-kind "entity" requires an initializer
253
exp_comma
expected a ","
254
type_identifier_not_allowed
type name is not allowed
255
type_definition_not_allowed
type definition is not allowed
256
bad_type_name_redeclaration
invalid redeclaration of type name "entity" (declared at line
xxxx)
257
missing_initializer_on_const
const entity-kind "entity" requires an initializer
18
MULTI: Toolchain Error Messages

Errors 200 to 299
258
this_used_incorrectly
"this" may only be used inside a nonstatic member function
259
constant_value_not_known
constant value is not known
260
missing_type_specifier
explicit type is missing ("int" assumed)
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
261
missing_access_specifier
access control not specified ("xxxx" by default)
262
not_a_class_or_struct_name
not a class or struct name
263
dupl_base_class_name
duplicate base class name
264
bad_base_class
invalid base class
265
no_access_to_name
entity-kind "entity" is inaccessible
266
ambiguous_name
"entity" is ambiguous
267
old_style_parameter_list
old-style parameter list (anachronism)
268
declaration_after_statements
declaration may not appear after executable statement in block
269
inaccessible_base_class
conversion to inaccessible base class "type" is not allowed
274
improperly_terminated_macro_call
improperly terminated macro invocation
276
id_must_be_class_or_namespace_name
name followed by "::" must be a class or namespace name
277
bad_friend_decl
invalid friend declaration
Green Hills Software
19

Chapter 1. C and C++ Compiler Error Messages
278
value_returned_in_constructor
a constructor or destructor may not return a value
279
bad_destructor_decl
invalid destructor declaration
280
class_and_member_name_conflict
declaration of a member with the same name as its class
281
global_qualifier_not_allowed
global-scope qualifier (leading "::") is not allowed
282
name_not_found_in_file_scope
the global scope has no "xxxx"
283
qualified_name_not_allowed
qualified name is not allowed
284
null_reference
NULL reference is not allowed
285
brace_initialization_not_allowed
initialization with "{…}" is not allowed for object of type
"type"
286
ambiguous_base_class
base class "type" is ambiguous
287
ambiguous_derived_class
derived class "type" contains more than one instance of class
"type"
288
derived_class_from_virtual_base
cannot convert pointer to base class "type" to pointer to derived
class "type" -- base class is virtual
289
no_matching_constructor
no instance of constructor "entity" matches the argument list
290
ambiguous_copy_constructor
copy constructor for class "type" is ambiguous
291
no_default_constructor
no default constructor exists for class "type"
20
MULTI: Toolchain Error Messages

Errors 300 to 399
292
not_a_field_or_base_class
"xxxx" is not a nonstatic data member or base class of class
"type"
293
indirect_nonvirtual_base_class_not_allowed
indirect nonvirtual base class is not allowed
294
bad_union_field
invalid union member -- class "type" has a disallowed member
function
296
bad_rvalue_array
invalid use of non-lvalue array
297
exp_operator
expected an operator
298
inherited_member_not_allowed
inherited member is not allowed
299
indeterminate_overloaded_function
cannot determine which instance of entity-kind "entity" is
intended
Errors 300 to 399
300
bound_function_must_be_called
a pointer to a bound function may only be used to call the
function
301
duplicate_typedef
typedef name has already been declared (with same type)
302
function_redefinition
entity-kind "entity" has already been defined
304
no_matching_function
no instance of entity-kind "entity" matches the argument list
305
type_def_not_allowed_in_func_type_decl
type definition is not allowed in function return type
declaration
Green Hills Software
21

Chapter 1. C and C++ Compiler Error Messages
306
default_arg_not_at_end
default argument not at end of parameter list
307
default_arg_already_defined
redefinition of default argument
308
ambiguous_overloaded_function
more than one instance of entity-kind "entity" matches the
argument list:
309
ambiguous_constructor
more than one instance of constructor "entity" matches the
argument list:
310
bad_default_arg_type
default argument of type "type" is incompatible with parameter
of type "type"
311
return_type_cannot_distinguish_functions
cannot overload functions distinguished by return type alone
312
no_user_defined_conversion
no suitable user-defined conversion from "type" to "type" exists
313
function_qualifier_not_allowed
type qualifier is not allowed on this function
314
virtual_static_not_allowed
only nonstatic member functions may be virtual
315
unqual_function_with_qual_object
the object has cv-qualifiers that are not compatible with the
member function
316
too_many_virtual_functions
program too large to compile (too many virtual functions)
317
bad_return_type_on_virtual_function_override
return type is neither identical to nor covariant with return
type "type" of overridden virtual function entity-kind "entity"
318
ambiguous_virtual_function_override
override of virtual entity-kind "entity" is ambiguous
319
pure_specifier_on_nonvirtual_function
pure specifier ("= 0") allowed only on virtual functions
22
MULTI: Toolchain Error Messages

Errors 300 to 399
320
bad_pure_specifier
badly-formed pure specifier (only "= 0" is allowed)
321
bad_data_member_initialization
data member initializer is not allowed
322
abstract_class_object_not_allowed
object of abstract class type "type" is not allowed:
323
function_returning_abstract_class
function returning abstract class "type" is not allowed:
324
duplicate_friend_decl
duplicate friend declaration
325
inline_and_nonfunction
inline specifier allowed on function declarations only
326
inline_not_allowed
"inline" is not allowed
327
bad_storage_class_with_inline
invalid storage class for an inline function
328
bad_member_storage_class
invalid storage class for a class member
329
local_class_function_def_missing
local class member entity-kind "entity" requires a definition
330
inaccessible_special_function
entity-kind "entity" (declared at line xxxx) is inaccessible
332
missing_const_copy_constructor
class "type" has no copy constructor to copy a const object
333
definition_of_implicitly_declared_function
defining an implicitly declared member function is not allowed
334
no_suitable_copy_constructor
class "type" has no suitable copy constructor
335
linkage_specifier_not_allowed
linkage specification is not allowed
Green Hills Software
23

Chapter 1. C and C++ Compiler Error Messages
336
bad_linkage_specifier
unknown external linkage specification
337
incompatible_linkage_specifier
linkage specification is incompatible with previous "entity"
(declared at line xxxx)
338
overloaded_function_linkage
more than one instance of overloaded function "entity" has "C"
linkage
339
ambiguous_default_constructor
class "type" has more than one default constructor
340
temp_used_for_ref_init
value copied to temporary, reference to temporary used
341
nonmember_operator_not_allowed
"operatorxxxx" must be a member function
342
static_member_operator_not_allowed
operator may not be a static member function
343
too_many_args_for_conversion
no arguments allowed on user-defined conversion
344
too_many_args_for_operator
too many parameters for this operator function
345
too_few_args_for_operator
too few parameters for this operator function
346
no_params_with_class_type
nonmember operator requires a parameter with class type
347
default_arg_expr_not_allowed
default argument is not allowed
348
ambiguous_user_defined_conversion
more than one user-defined conversion from "type" to "type"
applies:
349
no_matching_operator_function
no operator "xxxx" matches these operands
24
MULTI: Toolchain Error Messages

Errors 300 to 399
350
ambiguous_operator_function
more than one operator "xxxx" matches these operands:
351
bad_arg_type_for_operator_new
first parameter of allocation function must be of type "size_t"
352
bad_return_type_for_op_new
allocation function requires "void *" return type
353
bad_return_type_for_op_delete
deallocation function requires "void" return type
354
bad_first_arg_type_for_operator_delete
first parameter of deallocation function must be of type "void
*"
356
type_must_be_object_type
type must be an object type
357
base_class_already_initialized
base class "type" has already been initialized
358
base_class_init_anachronism
base class name required -- "type" assumed (anachronism)
359
member_already_initialized
entity-kind "entity" has already been initialized
360
missing_base_class_or_member_name
name of member or base class is missing
361
assignment_to_this
assignment to "this" (anachronism)
362
overload_anachronism
"overload" keyword used (anachronism)
363
anon_union_member_access
invalid anonymous union -- nonpublic member is not allowed
364
anon_union_member_function
invalid anonymous union -- member function is not allowed
365
anon_union_storage_class
anonymous union at global or namespace scope must be declared
static
Green Hills Software
25

Chapter 1. C and C++ Compiler Error Messages
366
missing_initializer_on_fields
entity-kind "entity" provides no initializer for:
367
cannot_initialize_fields
implicitly generated constructor for class "type" cannot
initialize:
368
no_ctor_but_const_or_ref_member
entity-kind "entity" defines no constructor to initialize the
following:
369
var_with_uninitialized_member
entity-kind "entity" has an uninitialized const or reference
member
370
var_with_uninitialized_field
entity-kind "entity" has an uninitialized const field
371
missing_const_assignment_operator
class "type" has no assignment operator to copy a const object
372
no_suitable_assignment_operator
class "type" has no suitable assignment operator
373
ambiguous_assignment_operator
ambiguous assignment operator for class "type"
375
missing_typedef_name
declaration requires a typedef name
377
virtual_not_allowed
"virtual" is not allowed
378
static_not_allowed
"static" is not allowed
379
bound_function_cast_anachronism
cast of bound function to normal function pointer (anachronism)
380
expr_not_ptr_to_member
expression must have pointer-to-member type
381
extra_semicolon
extra ";" ignored
26
MULTI: Toolchain Error Messages

Errors 300 to 399
382
nonstd_const_member
in-class initializer for nonstatic member is nonstandard
384
no_matching_new_function
no instance of overloaded "entity" matches the argument list
386
no_match_for_addr_of_overloaded_function
no instance of entity-kind "entity" matches the required type
387
delete_count_anachronism
delete array size expression used (anachronism)
389
cast_to_abstract_class
a cast to abstract class "type" is not allowed:
390
bad_use_of_main
function "main" may not be called or have its address taken
391
initializer_not_allowed_on_array_new
a new-initializer may not be specified for an array
392
member_function_redecl_outside_class
member function "entity" may not be redeclared outside its class
393
ptr_to_incomplete_class_type_not_allowed
pointer to incomplete class type is not allowed
394
ref_to_nested_function_var
reference to local variable of enclosing function is not allowed
395
single_arg_postfix_incr_decr_anachronism
single-argument function used for postfix "xxxx" (anachronism)
397
bad_default_assignment
implicitly generated assignment operator cannot copy:
398
nonstd_array_cast
cast to array type is nonstandard (treated as cast to "type")
399
class_with_op_new_but_no_op_delete
entity-kind "entity" has an operator new() but no default
operator delete()
Green Hills Software
27

Chapter 1. C and C++ Compiler Error Messages
Errors 400 to 499
400
class_with_op_delete_but_no_op_new
entity-kind "entity" has a default operator delete() but no
operator new()
401
base_class_with_nonvirtual_dtor
destructor for base class "entity" (declared at line xxxx) is
not virtual
403
member_function_redeclaration
entity-kind "entity" has already been declared
404
inline_main
function "main" may not be declared inline
405
class_and_member_function_name_conflict
member function with the same name as its class must be a
constructor
406
nested_class_anachronism
using nested entity-kind "entity" (anachronism)
407
too_many_params_for_destructor
a destructor may not have parameters
408
bad_constructor_param
copy constructor for class "type" may not have a parameter of
type "type"
409
incomplete_function_return_type
entity-kind "entity" returns incomplete type "type"
410
protected_access_problem
protected entity-kind "entity" (declared at line xxxx) is not
accessible through a "type" pointer or object
411
param_not_allowed
a parameter is not allowed
412
asm_decl_not_allowed
an "asm" declaration is not allowed here
413
no_conversion_function
no suitable conversion function from "type" to "type" exists
28
MULTI: Toolchain Error Messages

Errors 400 to 499
414
delete_of_incomplete_class
delete of pointer to incomplete class
415
no_constructor_for_conversion
no suitable constructor exists to convert from "type" to "type"
416
ambiguous_constructor_for_conversion
more than one constructor applies to convert from "type" to
"type":
417
ambiguous_conversion_function
more than one conversion function from "type" to "type" applies:
418
ambiguous_conversion_to_builtin
more than one conversion function from "type" to a built-in type
applies:
424
addr_of_constructor_or_destructor
a constructor or destructor may not have its address taken
426
nonconst_ref_init_anachronism
temporary used for initial value of reference to non-const
(anachronism)
427
qualifier_in_member_declaration
qualified name is not allowed in member declaration
428
mixed_enum_type_anachronism
enumerated type mixed with another type (anachronism)
429
new_array_size_must_be_nonnegative
the size of an array in "new" must be non-negative
430
return_ref_init_requires_temp
returning reference to local temporary
432
enum_not_allowed
"enum" declaration is not allowed
433
qualifier_dropped_in_ref_init
qualifiers dropped in binding reference of type "type" to
initializer of type "type"
434
bad_nonconst_ref_init
a reference of type "type" (not const-qualified) cannot be
initialized with a value of type "type"
Green Hills Software
29

Chapter 1. C and C++ Compiler Error Messages
435
delete_of_function_pointer
a pointer to function may not be deleted
436
bad_conversion_function_decl
conversion function must be a nonstatic member function
437
bad_template_declaration_scope
template declaration is not allowed here
438
exp_lt
expected a "<"
439
exp_gt
expected a ">"
440
missing_template_param
template parameter declaration is missing
441
missing_template_arg_list
argument list for entity-kind "entity" is missing
442
too_few_template_args
too few arguments for entity-kind "entity"
443
too_many_template_args
too many arguments for entity-kind "entity"
445
not_used_in_template_function_params
entity-kind "entity" is not used in declaring the parameter types
of entity-kind "entity"
446
cfront_multiple_nested_types
two nested types have the same name: "entity" and "entity"
(declared at line xxxx) (cfront compatibility)
447
cfront_global_defined_after_nested_type
global "entity" was declared after nested "entity" (declared at
line xxxx) (cfront compatibility)
449
ambiguous_ptr_to_overloaded_function
more than one instance of entity-kind "entity" matches the
required type
450
nonstd_long_long
the type "long long" is nonstandard
30
MULTI: Toolchain Error Messages

Errors 400 to 499
451
nonstd_friend_decl
omission of "xxxx" is nonstandard
452
return_type_on_conversion_function
return type may not be specified on a conversion function
456
runaway_recursive_instantiation
excessive recursion at instantiation of entity-kind "entity"
For more information, see “C++ Implementation Defined Features” in “Green Hills
C++” in the MULTI: Building Applications book.
457
bad_template_declaration
"xxxx" is not a function or static data member
458
bad_nontype_template_arg
argument of type "type" is incompatible with template parameter
of type "type"
459
init_needing_temp_not_allowed
initialization requiring a temporary or conversion is not allowed
460
decl_hides_function_parameter
declaration of "xxxx" hides function parameter
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
461
nonconst_ref_init_from_rvalue
initial value of reference to non-const must be an lvalue
463
template_not_allowed
"template" is not allowed
464
not_a_class_template
"type" is not a class template
466
function_template_named_main
"main" is not a valid name for a function template
467
union_nonunion_mismatch
invalid reference to entity-kind "entity" (union/nonunion
mismatch)
468
local_type_in_template_arg
a template argument may not reference a local type
Green Hills Software
31

Chapter 1. C and C++ Compiler Error Messages
469
tag_kind_incompatible_with_declaration
tag kind of xxxx is incompatible with declaration of entity-kind
"entity" (declared at line xxxx)
470
name_not_tag_in_file_scope
the global scope has no tag named "xxxx"
471
not_a_tag_member
entity-kind "entity" has no tag member named "xxxx"
472
ptr_to_member_typedef
member function typedef (allowed for cfront compatibility)
473
bad_use_of_member_function_typedef
entity-kind "entity" may be used only in pointer-to-member
declaration
475
nonexternal_entity_in_template_arg
a template argument may not reference a non-external entity
476
id_must_be_class_or_type_name
name followed by "::~" must be a class name or a type name
477
destructor_name_mismatch
destructor name does not match name of class "type"
478
destructor_type_mismatch
type used as destructor name does not match type "type"
479
called_function_redeclared_inline
entity-kind "entity" redeclared "inline" after being called
481
bad_storage_class_on_template_decl
invalid storage class for a template declaration
482
no_access_to_type_cfront_mode
entity-kind "entity" (declared at line xxxx) is an inaccessible
type (allowed for cfront compatibility)
484
invalid_instantiation_argument
invalid explicit instantiation declaration
485
not_instantiatable_entity
entity-kind "entity" is not an entity that can be instantiated
32
MULTI: Toolchain Error Messages

Errors 500 to 599
486
compiler_generated_function_cannot_be_instantiated
compiler generated entity-kind "entity" cannot be explicitly
instantiated
487
inline_function_cannot_be_instantiated
inline entity-kind "entity" cannot be explicitly instantiated
489
instantiation_requested_no_definition_supplied
entity-kind "entity" cannot be instantiated -- no template
definition was supplied
490
instantiation_requested_and_specialized
entity-kind "entity" cannot be instantiated -- it has been
explicitly specialized
493
no_match_for_type_of_overloaded_function
no instance of entity-kind "entity" matches the specified type
494
nonstd_void_param_list
declaring a void parameter list with a typedef is nonstandard
495
cfront_name_lookup_bug
global entity-kind "entity" used instead of entity-kind "entity"
(cfront compatibility)
496
redeclaration_of_template_param_name
template parameter "xxxx" may not be redeclared in this scope
497
decl_hides_template_parameter
declaration of "xxxx" hides template parameter
498
must_be_prototype_instantiation
template argument list must match the parameter list
Errors 500 to 599
500
bad_extra_arg_for_postfix_operator
extra parameter of postfix "operator++" must be of type "int"
501
function_type_required
an operator name must be declared as a function
502
operator_name_not_allowed
operator name is not allowed
Green Hills Software
33

Chapter 1. C and C++ Compiler Error Messages
503
bad_scope_for_specialization
entity-kind "entity" cannot be specialized in the current scope
504
nonstd_member_function_address
nonstandard form for taking the address of a member function
505
too_few_template_params
too few template parameters -- does not match previous
declaration
506
too_many_template_params
too many template parameters -- does not match previous
declaration
507
template_operator_delete
function template for operator delete(void *) is not allowed
508
class_template_same_name_as_templ_param
class template and template parameter may not have the same name
510
unnamed_type_in_template_arg
a template argument may not reference an unnamed type
511
enum_type_not_allowed
enumerated type is not allowed
512
qualified_reference_type
type qualifier on a reference type is not allowed
513
incompatible_assignment_operands
a value of type "type" cannot be assigned to an entity of type
"type"
514
unsigned_compare_with_negative
pointless comparison of unsigned integer with a negative constant
515
converting_to_incomplete_class
cannot convert to incomplete class "type"
516
missing_initializer_on_unnamed_const
const object requires an initializer
517
unnamed_object_with_uninitialized_field
object has an uninitialized const or reference member
34
MULTI: Toolchain Error Messages

Errors 500 to 599
518
nonstd_pp_directive
nonstandard preprocessing directive
519
unexpected_template_arg_list
entity-kind "entity" may not have a template argument list
520
missing_initializer_list
initialization with "{…}" expected for aggregate object
521
incompatible_ptr_to_member_selection_operands
pointer-to-member selection class types are incompatible ("type"
and "type")
522
self_friendship
pointless friend declaration
523
period_used_as_qualifier
"." used in place of "::" to form a qualified name
524
const_function_anachronism
non-const function called for const object (anachronism)
525
dependent_stmt_is_declaration
a dependent statement may not be a declaration
526
void_param_not_allowed
a parameter may not have void type
529
bad_templ_arg_expr_operator
this operator is not allowed in a template argument expression
530
missing_handler
try block requires at least one handler
531
missing_exception_declaration
handler requires an exception declaration
532
masked_by_default_handler
handler is masked by default handler
533
masked_by_handler
handler is potentially masked by previous handler for type "type"
534
local_type_used_in_exception
use of a local type to specify an exception
Green Hills Software
35

Chapter 1. C and C++ Compiler Error Messages
535
redundant_exception_specification_type
redundant type in exception specification
536
incompatible_exception_specification
exception specification is incompatible with that of previous
entity-kind "entity" (declared at line xxxx)
540
no_exception_support
support for exception handling is disabled
541
omitted_exception_specification
omission of exception specification is incompatible with previous
entity-kind "entity" (declared at line xxxx)
542
cannot_create_instantiation_request_file
could not create instantiation request file "xxxx"
543
non_arith_operation_in_templ_arg
non-arithmetic operation not allowed in nontype template argument
544
local_type_in_nonlocal_var
use of a local type to declare a nonlocal variable
545
local_type_in_function
use of a local type to declare a function
546
branch_past_initialization
transfer of control bypasses initialization of:
548
branch_into_handler
transfer of control into an exception handler
549
used_before_set
entity-kind "entity" is used before its value is set
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
550
set_but_not_used
entity-kind "entity" was set but never used
551
bad_scope_for_definition
entity-kind "entity" cannot be defined in the current scope
552
exception_specification_not_allowed
exception specification is not allowed
36
MULTI: Toolchain Error Messages

Errors 500 to 599
553
template_and_instance_linkage_conflict
external/internal linkage conflict for entity-kind "entity"
(declared at line xxxx)
554
conversion_function_not_usable
entity-kind "entity" will not be called for implicit or explicit
conversions
555
tag_kind_incompatible_with_template_parameter
tag kind of xxxx is incompatible with template parameter of type
"type"
556
template_operator_new
function template for operator new(size_t) is not allowed
558
bad_member_type_in_ptr_to_member
pointer to member of type "type" is not allowed
559
ellipsis_on_operator_function
ellipsis is not allowed in operator function parameter list
560
unimplemented_keyword
"entity" is reserved for future use as a keyword
561
cl_invalid_macro_definition
invalid macro definition:
562
cl_invalid_macro_undefinition
invalid macro undefinition:
563
cl_invalid_preprocessor_output_file
invalid preprocessor output file
564
cl_cannot_open_preprocessor_output_file
cannot open preprocessor output file
565
cl_il_file_must_be_specified
IL file name must be specified if input is
566
cl_invalid_il_output_file
invalid IL output file
567
cl_cannot_open_il_output_file
cannot open IL output file
Green Hills Software
37

Chapter 1. C and C++ Compiler Error Messages
568
cl_invalid_C_output_file
invalid C output file
569
cl_cannot_open_C_output_file
cannot open C output file
570
cl_error_in_debug_option_argument
error in debug option argument
571
cl_invalid_option
invalid option:
572
cl_back_end_requires_il_file
back end requires name of IL file
573
cl_could_not_open_il_file
could not open IL file
574
cl_invalid_number
invalid number:
575
cl_incorrect_host_id
incorrect host CPU id
576
cl_invalid_instantiation_mode
invalid instantiation mode:
578
cl_invalid_error_limit
invalid error limit:
579
cl_invalid_raw_listing_output_file
invalid raw-listing output file
580
cl_cannot_open_raw_listing_output_file
cannot open raw-listing output file
581
cl_invalid_xref_output_file
invalid cross-reference output file
582
cl_cannot_open_xref_output_file
cannot open cross-reference output file
583
cl_invalid_error_output_file
invalid error output file
38
MULTI: Toolchain Error Messages

Errors 500 to 599
584
cl_cannot_open_error_output_file
cannot open error output file
585
cl_vtbl_option_only_in_cplusplus
virtual function tables can only be suppressed when compiling
C++
586
cl_anachronism_option_only_in_cplusplus
anachronism option can be used only when compiling C++
587
cl_instantiation_option_only_in_cplusplus
instantiation mode option can be used only when compiling C++
588
cl_auto_instantiation_option_only_in_cplusplus
automatic instantiation mode can be used only when compiling C++
589
cl_implicit_inclusion_option_only_in_cplusplus
implicit template inclusion mode can be used only when compiling
C++
590
cl_exceptions_option_only_in_cplusplus
exception handling option can be used only when compiling C++
591
cl_strict_mode_incompatible_with_pcc
strict mode is incompatible with K&R mode
592
cl_strict_mode_incompatible_with_cfront
strict mode is incompatible with cfront mode
593
cl_missing_source_file_name
missing source file name
594
cl_output_file_incompatible_with_multiple_inputs
output files may not be specified when compiling several input
files
595
cl_too_many_arguments
too many arguments on command line
596
cl_no_output_file_needed
an output file was specified, but none is needed
597
cl_il_display_requires_il_file_name
IL display requires name of IL file
Green Hills Software
39

Chapter 1. C and C++ Compiler Error Messages
598
void_template_parameter
a template parameter may not have void type
599
too_many_unused_instantiations
excessive recursive instantiation of entity-kind "entity" due
to instantiate-all mode
Errors 600 to 699
600
cl_strict_mode_incompatible_with_anachronisms
strict mode is incompatible with allowing anachronisms
601
void_throw
a throw expression may not have void type
602
cl_tim_local_conflicts_with_auto_instantiation
local instantiation mode is incompatible with automatic
instantiation
603
abstract_class_param_type
parameter of abstract class type "type" is not allowed:
604
array_of_abstract_class
array of abstract class "type" is not allowed:
605
float_template_parameter
floating-point template parameter is nonstandard
606
pragma_must_precede_declaration
this pragma must immediately precede a declaration
607
pragma_must_precede_statement
this pragma must immediately precede a statement
608
pragma_must_precede_decl_or_stmt
this pragma must immediately precede a declaration or statement
609
pragma_may_not_be_used_here
this kind of pragma may not be used here
611
partial_override
overloaded virtual function "entity" is only partially overridden
in entity-kind "entity"
40
MULTI: Toolchain Error Messages

Errors 600 to 699
612
specialization_of_called_inline_template_function
specific definition of inline template function must precede its
first use
613
cl_invalid_error_tag
invalid error tag in diagnostic control option:
614
cl_invalid_error_number
invalid error number in diagnostic control option:
615
param_type_ptr_to_array_of_unknown_bound
parameter type involves pointer to array of unknown bound
616
param_type_ref_array_of_unknown_bound
parameter type involves reference to array of unknown bound
617
ptr_to_member_cast_to_ptr_to_function
pointer-to-member-function cast to pointer to function
618
no_named_fields
struct or union declares no named members
619
nonstd_unnamed_field
nonstandard unnamed field
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
620
nonstd_unnamed_member
nonstandard unnamed member
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
624
not_a_type_name
"xxxx" is not a type name
631
unable_to_get_mapped_memory
unable to obtain mapped memory
641
cannot_chdir
"xxxx" is not a valid directory
642
cannot_build_temp_file_name
cannot build temporary file name
Green Hills Software
41

Chapter 1. C and C++ Compiler Error Messages
643
restrict_not_allowed
"restrict" is not allowed
644
restrict_pointer_to_function
a pointer or reference to function type may not be qualified by
"restrict"
645
bad_declspec_modifier
"xxxx" is an unrecognized __declspec attribute
646
calling_convention_not_allowed
a calling convention modifier may not be specified here
647
conflicting_calling_conventions
conflicting calling convention modifiers
648
cl_strict_mode_incompatible_with_microsoft
strict mode is incompatible with Microsoft mode
649
cl_cfront_incompatible_with_microsoft
cfront mode is incompatible with Microsoft mode
650
calling_convention_ignored
calling convention specified here is ignored
651
calling_convention_may_not_precede_nested_declarator
a calling convention may not be followed by a nested declarator
652
calling_convention_ignored_for_type
calling convention is ignored for this type
654
decl_modifiers_incompatible_with_previous_decl
declaration modifiers are incompatible with previous declaration
655
decl_modifiers_invalid_for_this_decl
the modifier "xxxx" is not allowed on this declaration
656
branch_into_try_block
transfer of control into a try block
657
incompatible_inline_specifier_on_specific_decl
inline specification is incompatible with previous "entity"
(declared at line xxxx)
658
template_missing_closing_brace
closing brace of template definition not found
42
MULTI: Toolchain Error Messages

Errors 600 to 699
659
cl_wchar_t_option_only_in_cplusplus
wchar_t keyword option can be used only when compiling C++
660
bad_pack_alignment
invalid packing alignment value
661
exp_int_constant
expected an integer constant
662
call_of_pure_virtual
call of pure virtual function
663
bad_ident_string
invalid source file identifier string
664
template_friend_definition_not_allowed
a class template cannot be defined in a friend declaration
665
asm_not_allowed
"asm" is not allowed
666
bad_asm_function_def
"asm" must be used with a function definition
667
nonstd_asm_function
"asm" function is nonstandard
668
nonstd_ellipsis_only_param
ellipsis with no explicit parameters is nonstandard
669
nonstd_address_of_ellipsis
"&…" is nonstandard
670
bad_address_of_ellipsis
invalid use of "&…"
672
const_volatile_ref_init_anachronism
temporary used for initial value of reference to const volatile
(anachronism)
673
bad_const_volatile_ref_init
a reference of type "type" cannot be initialized with a value
of type "type"
674
const_volatile_ref_init_from_rvalue
initial value of reference to const volatile must be an lvalue
Green Hills Software
43

Chapter 1. C and C++ Compiler Error Messages
675
cl_SVR4_C_option_only_in_ansi_C
SVR4 C compatibility option can be used only when compiling ANSI
C
676
using_out_of_scope_declaration
using out-of-scope declaration of entity-kind "entity" (declared
at line xxxx)
677
cl_strict_mode_incompatible_with_SVR4
strict mode is incompatible with SVR4 C mode
678
cannot_inline_call
call of entity-kind "entity" (declared at line xxxx) cannot be
inlined
679
cannot_inline
entity-kind "entity" cannot be inlined
681
exp_except_or_finally
expected __except or __finally
682
leave_must_be_in_try
a __leave statement may only be used within a __try
688
not_found_on_pack_alignment_stack
"xxxx" not found on pack alignment stack
689
empty_pack_alignment_stack
empty pack alignment stack
690
cl_rtti_option_only_in_cplusplus
RTTI option can be used only when compiling C++
691
inaccessible_elided_cctor
entity-kind "entity" (declared at line xxxx), required for copy
that was eliminated, is inaccessible
692
uncallable_elided_cctor
entity-kind "entity" (declared at line xxxx), required for copy
that was eliminated, is not callable because reference parameter
cannot be bound to rvalue
693
typeid_needs_typeinfo
<typeinfo> must be included before typeid is used
44
MULTI: Toolchain Error Messages

Errors 700 to 799
694
cannot_cast_away_const
xxxx cannot cast away const or other type qualifiers
695
bad_dynamic_cast_type
the type in a dynamic_cast must be a pointer or reference to a
complete class type, or void *
696
bad_ptr_dynamic_cast_operand
the operand of a pointer dynamic_cast must be a pointer to a
complete class type
697
bad_ref_dynamic_cast_operand
the operand of a reference dynamic_cast must be an lvalue of a
complete class type
698
dynamic_cast_operand_must_be_polymorphic
the operand of a runtime dynamic_cast must have a polymorphic
class type
699
cl_bool_option_only_in_cplusplus
bool option can be used only when compiling C++
Errors 700 to 799
701
array_type_not_allowed
an array type is not allowed here
702
exp_assign
expected an "="
703
exp_declarator_in_condition_decl
expected a declarator in condition declaration
704
redeclaration_of_condition_decl_name
"xxxx", declared in condition, may not be redeclared in this
scope
705
default_template_arg_not_allowed
default template arguments are not allowed for function templates
706
exp_comma_or_gt
expected a "," or ">"
Green Hills Software
45

Chapter 1. C and C++ Compiler Error Messages
707
missing_template_param_list
expected a template parameter list
708
incr_of_bool_deprecated
incrementing a bool value is deprecated
709
bool_type_not_allowed
bool type is not allowed
710
base_class_offset_too_large
offset of base class "entity" within class "entity" is too large
711
expr_not_bool
expression must have bool type (or be convertible to bool)
712
cl_array_new_and_delete_option_only_in_cplusplus
array new and delete option can be used only when compiling C++
713
based_requires_variable_name
entity-kind "entity" is not a variable name
714
based_not_allowed_here
__based modifier is not allowed here
715
based_not_followed_by_star
__based does not precede a pointer operator, __based ignored
716
based_var_must_be_ptr
variable in __based modifier must have pointer type
717
bad_const_cast_type
the type in a const_cast must be a pointer, reference, or pointer
to member to an object type
718
bad_const_cast
a const_cast can only adjust type qualifiers; it cannot change
the underlying type
719
mutable_not_allowed
mutable is not allowed
720
cannot_change_access
redeclaration of entity-kind "entity" is not allowed to alter
its access
46
MULTI: Toolchain Error Messages

Errors 700 to 799
721
nonstd_printf_format_string
nonstandard format string conversion
722
probable_inadvertent_lbracket_digraph
use of alternative token "<:" appears to be unintended
723
probable_inadvertent_sharp_digraph
use of alternative token "%:" appears to be unintended
724
namespace_def_not_allowed
namespace definition is not allowed
725
missing_namespace_name
name must be a namespace name
726
namespace_alias_def_not_allowed
namespace alias definition is not allowed
727
namespace_qualified_name_required
namespace-qualified name is required
728
namespace_name_not_allowed
a namespace name is not allowed
729
bad_combination_of_dll_attributes
invalid combination of DLL attributes
730
sym_not_a_class_template
entity-kind "entity" is not a class template
731
array_of_incomplete_type
array with incomplete element type is nonstandard
732
allocation_operator_in_namespace
allocation operator may not be declared in a namespace
733
deallocation_operator_in_namespace
deallocation operator may not be declared in a namespace
734
conflicts_with_using_decl
entity-kind "entity" conflicts with using-declaration of
entity-kind "entity"
735
using_decl_conflicts_with_prev_decl
using-declaration of entity-kind "entity" conflicts with
entity-kind "entity" (declared at line xxxx)
Green Hills Software
47

Chapter 1. C and C++ Compiler Error Messages
736
cl_namespaces_option_only_in_cplusplus
namespaces option can be used only when compiling C++
737
useless_using_declaration
using-declaration ignored -- it refers to the current namespace
738
class_qualified_name_required
a class-qualified name is required
742
not_an_actual_member
entity-kind "entity" has no actual member "xxxx"
744
mem_attrib_incompatible
incompatible memory attributes specified
745
mem_attrib_ignored
memory attribute ignored
746
mem_attrib_may_not_precede_nested_declarator
memory attribute may not be followed by a nested declarator
747
dupl_mem_attrib
memory attribute specified more than once
748
dupl_calling_convention
calling convention specified more than once
749
type_qualifier_not_allowed
a type qualifier is not allowed
750
template_instance_already_used
entity-kind "entity" (declared at line xxxx) was used before its
template was declared
751
static_nonstatic_with_same_param_types
static and nonstatic member functions with same parameter types
cannot be overloaded
752
no_prior_declaration
no prior declaration of entity-kind "entity"
753
template_id_not_allowed
a template-id is not allowed
754
class_qualified_name_not_allowed
a class-qualified name is not allowed
48
MULTI: Toolchain Error Messages

Errors 700 to 799
755
bad_scope_for_redeclaration
entity-kind "entity" may not be redeclared in the current scope
756
qualifier_in_namespace_member_decl
qualified name is not allowed in namespace member declaration
757
sym_not_a_type_name
entity-kind "entity" is not a type name
758
explicit_instantiation_not_in_namespace_scope
explicit instantiation is not allowed in the current scope
759
bad_scope_for_explicit_instantiation
entity-kind "entity" cannot be explicitly instantiated in the
current scope
760
multiple_explicit_instantiations
entity-kind "entity" explicitly instantiated more than once
761
typename_not_in_template
typename may only be used within a template
762
cl_special_subscript_cost_option_only_in_cplusplus
special_subscript_cost option can be used only when compiling
C++
763
cl_typename_option_only_in_cplusplus
typename option can be used only when compiling C++
764
cl_implicit_typename_option_only_in_cplusplus
implicit typename option can be used only when compiling C++
765
nonstd_character_at_start_of_macro_def
nonstandard character at start of object-like macro definition
766
exception_spec_override_incompat
exception specification for virtual entity-kind "entity" is
incompatible with that of overridden entity-kind "entity"
767
pointer_conversion_loses_bits
conversion from pointer to smaller integer
768
generated_exception_spec_override_incompat
exception specification for implicitly declared virtual
entity-kind "entity" is incompatible with that of overridden
entity-kind "entity"
Green Hills Software
49

Chapter 1. C and C++ Compiler Error Messages
769
implicit_call_of_ambiguous_name
"entity", implicitly called from entity-kind "entity", is
ambiguous
770
cl_explicit_option_only_in_cplusplus
option "explicit" can be used only when compiling C++
771
explicit_not_allowed
"explicit" is not allowed
772
conflicts_with_predeclared_type_info
declaration conflicts with "xxxx" (reserved class name)
The compiler emits this non-discretionary diagnostic whenever it encounters a
definition of class std::type_info outside the standard header <typeinfo>.
Instances of this class are created and exposed to the programmer via the C++ language
operator typeid; therefore, a program that defines its own, incompatible version of
class std::type_info may exhibit undefined behavior.
To define your own version of class std::type_info, but suppress this diagnostic,
precede the class definition with #pragma define_type_info.
A correct definition of this class must preserve the member and vtable layout assumed
by the compiler's typeid machinery. The following example is an acceptable
definition:
namespace std {
#pragma define_type_info
class type_info {
virtual ~type_info();
};
}
We recommend that you do not attempt to provide your own definition of this class.
However, you might see this error if you are using standard C++ libraries other than
the ones provided with your Green Hills compiler distribution.
773
array_member_initialization
only "()" is allowed as initializer for array entity-kind
"entity"
774
virtual_function_template
"virtual" is not allowed in a function template declaration
775
anon_union_class_member_template
invalid anonymous union -- class member template is not allowed
50
MULTI: Toolchain Error Messages

Errors 700 to 799
776
template_depth_mismatch
template nesting depth does not match the previous declaration
of entity-kind "entity"
777
multiple_template_decls_not_allowed
this declaration cannot have multiple "template <…>" clauses
778
cl_old_for_init_option_only_in_cplusplus
option to control the for-init scope can be used only when
compiling C++
779
redeclaration_of_for_init_decl_name
"xxxx", declared in for-loop initialization, may not be
redeclared in this scope
780
hidden_by_old_for_init
reference is to entity-kind "entity" (declared at line xxxx) --
under old for-init scoping rules it would have been entity-kind
"entity" (declared at line xxxx)
781
cl_for_init_diff_warning_option_only_in_cplusplus
option to control warnings on for-init differences can be used
only when compiling C++
782
unnamed_class_virtual_function_def_missing
definition of virtual entity-kind "entity" is required here
783
svr4_token_pasting_comment
empty comment interpreted as token-pasting operator "##"
784
storage_class_in_friend_decl
a storage class is not allowed in a friend declaration
785
templ_param_list_not_allowed
template parameter list for "entity" is not allowed in this
declaration
786
bad_member_template_sym
entity-kind "entity" is not a valid member class or function
template
787
bad_member_template_decl
not a valid member class or function template declaration
Green Hills Software
51

Chapter 1. C and C++ Compiler Error Messages
788
specialization_follows_param_list
a template declaration containing a template parameter list may
not be followed by an explicit specialization declaration
789
specialization_of_referenced_template
explicit specialization of entity-kind "entity" must precede the
first use of entity-kind "entity"
790
explicit_specialization_not_in_namespace_scope
explicit specialization is not allowed in the current scope
791
partial_specialization_not_allowed
partial specialization of entity-kind "entity" is not allowed
792
entity_cannot_be_specialized
entity-kind "entity" is not an entity that can be explicitly
specialized
793
specialization_of_referenced_entity_pos
explicit specialization of entity-kind "entity" must precede its
first use (at line xxxx)
794
template_param_in_elab_type
template parameter "xxxx" may not be used in an elaborated type
specifier
795
old_specialization_not_allowed
specializing entity-kind "entity" requires "template<>" syntax
798
cl_old_specializations_option_only_in_cplusplus
option "old_specializations" can be used only when compiling C++
799
nonstd_old_specialization
specializing entity-kind "entity" without "template<>" syntax
is nonstandard
Errors 800 to 899
800
bad_linkage_for_decl
this declaration may not have extern "C" linkage
801
not_a_template_name
"xxxx" is not a class or function template name in the current
scope
52
MULTI: Toolchain Error Messages

Errors 800 to 899
802
nonstd_default_arg_on_function_template_redecl
specifying a default argument when redeclaring an unreferenced
function template is nonstandard
803
default_arg_on_function_template_not_allowed
specifying a default argument when redeclaring an already
referenced function template is not allowed
804
pm_derived_class_from_virtual_base
cannot convert pointer to member of base class "type" to pointer
to member of derived class "type" -- base class is virtual
805
bad_exception_specification_for_specialization
exception specification is incompatible with that of entity-kind
"entity" (declared at line xxxx):
806
omitted_exception_specification_on_specialization
omission of exception specification is incompatible with
entity-kind "entity" (declared at line xxxx)
807
unexpected_end_of_default_arg
unexpected end of default argument expression
808
default_init_of_reference
default-initialization of reference is not allowed
809
uninitialized_field_with_const_member
uninitialized entity-kind "entity" has a const member
810
uninitialized_base_class_with_const_member
uninitialized base class "type" has a const member
811
missing_default_constructor_on_const
const entity-kind "entity" requires an initializer -- class
"type" has no explicitly declared default constructor
812
missing_default_constructor_on_unnamed_const
const object requires an initializer -- class "type" has no
explicitly declared default constructor
813
cl_impl_extern_c_conv_option_only_in_cplusplus
option "implicit_extern_c_type_conversion" can be used only when
compiling C++
814
cl_strict_mode_incompatible_with_long_preserving
strict mode is incompatible with long preserving rules
Green Hills Software
53

Chapter 1. C and C++ Compiler Error Messages
815
useless_type_qualifier_on_return_type
type qualifier on return type is meaningless
816
type_qualifier_on_void_return_type
in a function definition a type qualifier on a "void" return
type is not allowed
817
static_data_member_not_allowed
static data member declaration is not allowed in this class
818
invalid_declaration
template instantiation resulted in an invalid function
declaration
819
ellipsis_not_allowed
"…" is not allowed
820
cl_extern_inline_option_only_in_cplusplus
option "extern_inline" can be used only when compiling C++
821
extern_inline_never_defined
extern inline entity-kind "entity" was referenced but not defined
822
invalid_destructor_name
invalid destructor name for type "type"
824
ambiguous_destructor
destructor reference is ambiguous -- both entity-kind "entity"
and entity-kind "entity" could be used
825
virtual_inline_never_defined
virtual inline entity-kind "entity" was never defined
826
unreferenced_function_param
entity-kind "entity" was never referenced
827
union_already_initialized
only one member of a union may be specified in a constructor
initializer list
828
no_array_new_and_delete_support
support for "new[]" and "delete[]" is disabled
829
double_for_long_double
"double" used for "long double" in generated C code
54
MULTI: Toolchain Error Messages

Errors 800 to 899
830
no_corresponding_delete
entity-kind "entity" has no corresponding operator delete (to
be called if an exception is thrown during initialization of an
allocated object)
831
useless_placement_delete
support for placement delete is disabled
832
no_appropriate_delete
no appropriate operator delete is visible
833
ptr_or_ref_to_incomplete_type
pointer or reference to incomplete type is not allowed
834
bad_partial_specialization
invalid partial specialization -- entity-kind "entity" is already
fully specialized
835
incompatible_exception_specs
incompatible exception specifications
836
returning_ref_to_local_variable
returning reference to local variable
837
nonstd_implicit_int
omission of explicit type is nonstandard ("int" assumed)
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
838
ambiguous_partial_spec
more than one partial specialization matches the template
argument list of entity-kind "entity"
840
partial_spec_is_primary_template
a template argument list is not allowed in a declaration of a
primary template
841
default_not_allowed_on_partial_spec
partial specializations may not have default template arguments
842
not_used_in_partial_spec_arg_list
entity-kind "entity" is not used in or cannot be deduced from
the template argument list of entity-kind "entity"
Green Hills Software
55

Chapter 1. C and C++ Compiler Error Messages
844
partial_spec_arg_depends_on_templ_param
the template argument list of the partial specialization includes
a nontype argument whose type depends on a template parameter
845
partial_spec_after_instantiation
this partial specialization would have been used to instantiate
entity-kind "entity"
846
partial_spec_after_instantiation_ambiguous
this partial specialization would have made the instantiation
of entity-kind "entity" ambiguous
847
expr_not_integral_or_enum
expression must have integral or enum type
848
expr_not_arithmetic_or_enum
expression must have arithmetic or enum type
849
expr_not_arithmetic_or_enum_or_pointer
expression must have arithmetic, enum, or pointer type
850
cast_not_integral_or_enum
type of cast must be integral or enum
851
cast_not_arithmetic_or_enum_or_pointer
type of cast must be arithmetic, enum, or pointer
852
expr_not_object_pointer
expression must be a pointer to a complete object type
854
partial_spec_nontype_expr
a partial specialization nontype argument must be the name of a
nontype parameter or a constant
855
different_return_type_on_virtual_function_override
return type is not identical to return type "type" of overridden
virtual function entity-kind "entity"
856
cl_guiding_decls_option_only_in_cplusplus
option "guiding_decls" can be used only when compiling C++
857
member_partial_spec_not_in_namespace
a partial specialization of a class template must be declared
in the namespace of which it is a member
56
MULTI: Toolchain Error Messages

Errors 800 to 899
858
pure_virtual_function
entity-kind "entity" is a pure virtual function
859
no_overrider_for_pure_virtual_function
pure virtual entity-kind "entity" has no overrider
860
decl_modifiers_ignored
__declspec attributes ignored
861
invalid_char
invalid character in input line
862
incomplete_return_type
function returns incomplete type "type"
863
local_pragma_pack
effect of this "#pragma pack" directive is local to entity-kind
"entity"
864
not_a_template
xxxx is not a template
865
friend_partial_specialization
a friend declaration may not declare a partial specialization
866
exception_specification_ignored
exception specification ignored
867
unexpected_type_for_size_t
declaration of "size_t" does not match the expected type "type"
868
exp_gt_not_shift_right
space required between adjacent ">" delimiters of nested template
argument lists (">>" is the right shift operator)
869
bad_multibyte_char_locale
could not set locale "xxxx" to allow processing of multibyte
characters
870
bad_multibyte_char
invalid multibyte character sequence
871
bad_type_from_instantiation
template instantiation resulted in unexpected function type of
"type" (the meaning of a name may have changed since the template
declaration -- the type of the template is "type")
Green Hills Software
57

Chapter 1. C and C++ Compiler Error Messages
872
ambiguous_guiding_decl
ambiguous guiding declaration -- more than one function template
"entity" matches type "type"
873
non_integral_operation_in_templ_arg
non-integral operation not allowed in nontype template argument
874
cl_embedded_cplusplus_option_only_in_cplusplus
option "embedded_c++" can be used only when compiling C++
875
templates_in_embedded_cplusplus
Embedded C++ does not support templates
876
exceptions_in_embedded_cplusplus
Embedded C++ does not support exception handling
877
namespaces_in_embedded_cplusplus
Embedded C++ does not support namespaces
878
rtti_in_embedded_cplusplus
Embedded C++ does not support run-time type information
879
new_cast_in_embedded_cplusplus
Embedded C++ does not support the new cast syntax
880
using_decl_in_embedded_cplusplus
Embedded C++ does not support using-declarations
881
mutable_in_embedded_cplusplus
Embedded C++ does not support "mutable"
882
multiple_inheritance_in_embedded_cplusplus
Embedded C++ does not support multiple or virtual inheritance
883
cl_invalid_microsoft_version
invalid Microsoft version number:
884
inheritance_kind_already_set
pointer-to-member representation "xxxx" has already been set for
entity-kind "entity"
885
bad_constructor_type
"type" cannot be used to designate constructor for "type"
886
bad_suffix
invalid suffix on integral constant
58
MULTI: Toolchain Error Messages

Errors 900 to 999
887
uuidof_requires_uuid_class_type
operand of __uuidof must have a class or enum type for which
__declspec(uuid("…")) has been specified
888
bad_uuid_string
invalid GUID string in __declspec(uuid("…"))
889
cl_vla_option_only_in_C
option "vla" can be used only when compiling C
890
vla_with_unspecified_bound_not_allowed
variable length array with unspecified bound is not allowed
891
explicit_template_args_not_allowed
an explicit template argument list is not allowed on this
declaration
892
variably_modified_type_not_allowed
an entity with linkage cannot have a type involving a variable
length array
893
vla_is_not_auto
a variable length array cannot have static storage duration
894
sym_not_a_template
entity-kind "entity" is not a template
896
expected_template_arg
expected a template argument
898
no_params_with_class_or_enum_type
nonmember operator requires a parameter with class or enum type
899
cl_enum_overloading_option_only_in_cplusplus
option "enum_overloading" can be used only when compiling C++
Errors 900 to 999
901
destructor_qualifier_type_mismatch
qualifier of destructor name "type" does not match type "type"
902
type_qualifier_ignored
type qualifier ignored
Green Hills Software
59

Chapter 1. C and C++ Compiler Error Messages
903
cl_nonstandard_qualifier_deduction_option_only_in_cplusplus
option "nonstd_qualifier_deduction" can be used only when
compiling C++
904
cannot_define_dllimport_function
a function declared "dllimport" may not be defined
905
bad_declspec_property
incorrect property specification; correct form is
__declspec(property(get=name1,put=name2))
906
dupl_get_or_put
property has already been specified
907
declspec_property_not_allowed
__declspec(property) is not allowed on this declaration
908
no_get_property
member is declared with __declspec(property), but no "get"
function was specified
909
get_property_function_missing
the __declspec(property) "get" function "xxxx" is missing
910
no_put_property
member is declared with __declspec(property), but no "put"
function was specified
911
put_property_function_missing
the __declspec(property) "put" function "xxxx" is missing
912
dual_lookup_ambiguous_name
ambiguous class member reference -- entity-kind "entity"
(declared at line xxxx) used in preference to entity-kind
"entity" (declared at line xxxx)
913
bad_allocate_segname
missing or invalid segment name in __declspec(allocate("…"))
914
declspec_allocate_not_allowed
__declspec(allocate) is not allowed on this declaration
915
dupl_allocate_segname
a segment name has already been specified
60
MULTI: Toolchain Error Messages

Errors 900 to 999
916
pm_virtual_base_from_derived_class
cannot convert pointer to member of derived class "type" to
pointer to member of base class "type" -- base class is virtual
917
cl_invalid_instantiation_directory
invalid directory for instantiation files:
918
cl_one_instantiation_per_object_option_only_in_cplusplus
option "one_instantiation_per_object" can be used only when
compiling C++
919
invalid_output_file
invalid output file: "xxxx"
920
cannot_open_output_file
cannot open output file: "xxxx"
921
cl_ii_file_name_incompatible_with_multiple_inputs
an instantiation information file name may not be specified when
compiling several input files
922
cl_one_instantiation_per_object_incompatible_with_multiple_inputs
option "one_instantiation_per_object" may not be used when
compiling several input files
923
cl_ambiguous_option
more than one command line option matches the abbreviation
"--xxxx":
925
cv_qualified_function_type
type qualifiers on function types are ignored
926
cannot_open_definition_list_file
cannot open definition list file: "xxxx"
927
cl_late_tiebreaker_option_only_in_cplusplus
late/early tiebreaker option can be used only when compiling C++
928
bad_va_start
incorrect use of va_start
929
bad_va_arg
incorrect use of va_arg
930
bad_va_end
incorrect use of va_end
Green Hills Software
61

Chapter 1. C and C++ Compiler Error Messages
931
cl_pending_instantiations_option_only_in_cplusplus
pending instantiations option can be used only when compiling
C++
932
cl_invalid_import_directory
invalid directory for #import files:
933
cl_import_only_in_microsoft
an import directory can be specified only in Microsoft mode
934
ref_not_allowed_in_union
a member with reference type is not allowed in a union
935
typedef_not_allowed
"typedef" may not be specified here
936
redecl_changes_access
redeclaration of entity-kind "entity" alters its access
937
qualified_name_required
a class or namespace qualified name is required
938
implicit_int_on_main
return type "int" omitted in declaration of function "main"
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
939
invalid_inheritance_kind_for_class
pointer-to-member representation "xxxx" is too restrictive for
entity-kind "entity"
940
implicit_return_from_non_void_function
missing return statement at end of non-void entity-kind "entity"
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
941
duplicate_using_decl
duplicate using-declaration of "entity" ignored
942
unsigned_enum_bit_field_with_signed_enumerator
enum bit-fields are always unsigned, but enum "type" includes
negative enumerator
62
MULTI: Toolchain Error Messages

Errors 900 to 999
943
cl_class_name_injection_option_only_in_cplusplus
option "class_name_injection" can be used only when compiling
C++
944
cl_arg_dependent_lookup_option_only_in_cplusplus
option "arg_dep_lookup" can be used only when compiling C++
945
cl_friend_injection_option_only_in_cplusplus
option "friend_injection" can be used only when compiling C++
946
invalid_name_after_template
name following "template" must be a template
948
local_class_friend_requires_prior_decl
nonstandard local-class friend declaration -- no prior
declaration in the enclosing scope
949
nonstd_default_arg
specifying a default argument on this declaration is nonstandard
950
cl_nonstd_using_decl_option_only_in_cplusplus
option "nonstd_using_decl" can be used only when compiling C++
951
bad_return_type_on_main
return type of function "main" must be "int"
952
template_parameter_has_class_type
a nontype template parameter may not have class type
953
default_arg_on_member_decl
a default template argument cannot be specified on the
declaration of a member of a class template outside of its class
954
return_from_ctor_function_try_block_handler
a return statement is not allowed in a handler of a function try
block of a constructor
955
no_ordinary_and_extended_designators
ordinary and extended designators cannot be combined in an
initializer designation
956
no_negative_designator_range
the second subscript must not be smaller than the first
957
cl_designators_option_only_in_C
option "designators" can be used only when compiling C
Green Hills Software
63

Chapter 1. C and C++ Compiler Error Messages
958
cl_extended_designators_option_only_in_C
option "extended_designators" can be used only when compiling C
959
extra_bits_ignored
declared size for bit field is larger than the size of the bit
field type; truncated to xxxx bits
960
constructor_type_mismatch
type used as constructor name does not match type "type"
961
type_with_no_linkage_in_var_with_linkage
use of a type with no linkage to declare a variable with linkage
962
type_with_no_linkage_in_function
use of a type with no linkage to declare a function
963
return_type_on_constructor
return type may not be specified on a constructor
964
return_type_on_destructor
return type may not be specified on a destructor
965
malformed_universal_character
incorrectly formed universal character name
966
invalid_UCN
universal character name specifies an invalid character
967
UCN_names_basic_char
a universal character name cannot designate a character in the
basic character set
968
invalid_identifier_UCN
this universal character is not allowed in an identifier
969
VA_ARGS_not_allowed
the identifier __VA_ARGS__ can only appear in the replacement
lists of variadic macros
970
friend_qualification_ignored
the qualifier on this friend declaration is ignored
971
no_range_designator_with_dynamic_init
array range designators cannot be applied to dynamic initializers
64
MULTI: Toolchain Error Messages

Errors 900 to 999
972
property_name_not_allowed
property name cannot appear here
973
inline_qualifier_ignored
"inline" used as a function qualifier is ignored
974
cl_compound_literals_option_only_in_C
option "compound_literals" can be used only when compiling C
975
vla_not_allowed
a variable-length array type is not allowed
976
bad_integral_compound_literal
a compound literal is not allowed in an integral constant
expression
977
bad_compound_literal_type
a compound literal of type "type" is not allowed
978
friend_template_in_local_class
a template friend declaration cannot be declared in a local class
979
ambiguous_question_operator
ambiguous "?" operation: second operand of type "type" can be
converted to third operand type "type", and vice versa
980
bad_call_of_class_object
call of an object of a class type without appropriate operator()
or conversion functions to pointer-to-function type
982
ambiguous_class_call
there is more than one way an object of type "type" can be called
for the argument list:
983
similar_typedef
typedef name has already been declared (with similar type)
984
no_internal_linkage_for_new_or_delete
operator new and operator delete cannot be given internal linkage
985
no_mutable_allowed_on_anonymous_union
storage class "mutable" is not allowed for anonymous unions
987
abstract_class_catch_type
abstract class type "type" is not allowed as catch type:
Green Hills Software
65

Chapter 1. C and C++ Compiler Error Messages
988
bad_qualified_function_type
a qualified function type cannot be used to declare a nonmember
function or a static member function
989
bad_qualified_function_type_parameter
a qualified function type cannot be used to declare a parameter
990
ptr_or_ref_to_qualified_function_type
cannot create a pointer or reference to qualified function type
991
nonstd_braces
extra braces are nonstandard
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
992
bad_cmd_line_macro
invalid macro definition:
993
nonstandard_ptr_minus_ptr
subtraction of pointer types "type" and "type" is nonstandard
994
empty_template_param_list
an empty template parameter list is not allowed in a template
template parameter declaration
995
exp_class
expected "class"
996
struct_not_allowed
the "class" keyword must be used when declaring a template
template parameter
997
virtual_function_decl_hidden
entity-kind "entity" is hidden by "entity" -- virtual function
override intended?
998
no_qualified_friend_definition
a qualified name is not allowed for a friend declaration that
is a function definition
999
not_compatible_with_templ_templ_param
entity-kind "entity" is not compatible with entity-kind "entity"
66
MULTI: Toolchain Error Messages

Errors 1000 to 1099
Errors 1000 to 1099
1000
storage_class_requires_function_or_variable
a storage class may not be specified here
1001
member_using_must_be_visible_in_direct_base
class member designated by a using-declaration must be visible
in a direct base class
1003
cl_sun_incompatible_with_cfront
Sun mode is incompatible with cfront mode
1004
cl_strict_mode_incompatible_with_sun
strict mode is incompatible with Sun mode
1005
cl_sun_mode_only_in_cplusplus
Sun mode is only allowed when compiling C++
1006
template_template_param_same_name_as_templ_param
a template template parameter cannot have the same name as one
of its template parameters
1007
recursive_def_arg_instantiation
recursive instantiation of default argument
1009
bad_template_name
entity-kind "entity" is not an entity that can be defined
1010
destructor_name_must_be_qualified
destructor name must be qualified
1011
no_typename_in_friend_class_decl
friend class name may not be introduced with "typename"
1012
no_ctor_or_dtor_using_declaration
a using-declaration may not name a constructor or destructor
1013
friend_is_nonreal_template
a qualified friend template declaration must refer to a specific
previously declared template
1014
bad_class_template_decl
invalid specifier in class template declaration
1015
simple_incompatible_param
argument is incompatible with formal parameter
Green Hills Software
67

Chapter 1. C and C++ Compiler Error Messages
1016
cl_dep_name_option_only_in_cplusplus
option "dep_name" can be used only when compiling C++
1017
op_arrow_loop
loop in sequence of "operator->" functions starting at class
"type"
1018
not_a_member_class
entity-kind "entity" has no member class "xxxx"
1019
name_not_class_in_file_scope
the global scope has no class named "xxxx"
1020
recursive_inst_of_templ_default_arg
recursive instantiation of template default argument
1021
no_access_or_using_decl_in_union
access declarations and using-declarations cannot appear in
unions
1022
not_class_member
"entity" is not a class member
1023
nonstd_const_member_decl_not_allowed
nonstandard member constant declaration is not allowed
1024
cl_ignore_std_option_only_in_cplusplus
option "ignore_std" can be used only when compiling C++
1025
cl_parse_nonclass_templates_option_only_in_cplusplus
option "parse_templates" can be used only when compiling C++
1026
cl_dep_name_requires_parse_nonclass_templates
option "dep_name" cannot be used with "no_parse_templates"
1027
cl_incompatible_language_modes
language modes specified are incompatible
1028
invalid_nested_class_redecl
invalid redeclaration of nested class
1029
flexible_array_member_not_allowed
type containing an unknown-size array is not allowed
68
MULTI: Toolchain Error Messages

Errors 1000 to 1099
1030
static_variable_in_inline_function
a variable with static storage duration cannot be defined within
an inline function
1031
bad_linkage_of_ref_within_inline_function
an entity with internal linkage cannot be referenced within an
inline function with external linkage
1032
type_generic_function_mismatch
argument type "type" does not match this type-generic function
macro
1034
friend_cannot_add_default_arguments
friend declaration cannot add default arguments to previous
declaration
1035
cannot_be_declared_in_scope
entity-kind "entity" cannot be declared in this scope
1036
id_can_only_appear_in_function
the reserved identifier "xxxx" may only be used inside a function
1037
invalid_identifier_start_UCN
this universal character cannot begin an identifier
1038
exp_string_literal
expected a string literal
1039
unrecognized_stdc_pragma
unrecognized STDC pragma
1040
bad_stdc_pragma_arg
expected "ON", "OFF", or "DEFAULT"
1041
stdc_pragma_not_allowed_here
a STDC pragma may only appear between declarations in the global
scope or before any statements or declarations in a block scope
1042
bad_va_copy
incorrect use of va_copy
1043
only_applies_to_float_types
xxxx can only be used with floating-point types
1044
complex_type_not_allowed
complex type is not allowed
Green Hills Software
69

Chapter 1. C and C++ Compiler Error Messages
1045
invalid_designator_kind
invalid designator kind
1046
inexact_fp_conversion
floating-point value cannot be represented exactly
1047
bad_complex_operation_result
complex floating-point operation result is out of range
1048
real_imaginary_conversion
conversion between real and imaginary yields zero
1049
cannot_initialize_flexible_array_member
an initializer cannot be specified for a flexible array member
1050
imaginary_times_assign
imaginary *= imaginary sets the left-hand operand to zero
1051
undeclared_parameter
standard requires that entity-kind "entity" be given a type by
a subsequent declaration ("int" assumed)
1052
inline_never_defined
a definition is required for inline entity-kind "entity"
1053
conversion_to_pointer_loses_bits
conversion from integer to smaller pointer
1054
missing_floating_point_type
a floating-point type must be included in the type specifier for
a _Complex or _Imaginary type
1055
type_decl_in_anon_union
types cannot be declared in anonymous unions
1056
returning_ptr_to_local_variable
returning pointer to local variable
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1057
returning_ptr_to_local_temp
returning pointer to local temporary
1058
cl_export_template_option_only_in_cplusplus
option "export" can be used only when compiling C++
70
MULTI: Toolchain Error Messages

Errors 1000 to 1099
1059
cl_export_template_requires_dep_name
option "export" cannot be used with "no_dep_name"
1060
cl_export_template_requires_no_implicit_include
option "export" cannot be used with "implicit_include"
1061
corresp_decl_incompatible
declaration of entity-kind "entity" is incompatible with a
declaration in another translation unit
1062
corresp_decl_at
the other declaration is at line xxxx
1065
field_cannot_involve_vla_type
a field declaration cannot have a type involving a variable
length array
1066
entity_differs_in_other_trans_unit
declaration of entity-kind "entity" had a different meaning
during compilation of "xxxx"
1067
exp_template
expected "template"
1068
export_on_instantiation
"export" cannot be used on an explicit instantiation
1069
bad_decl_for_export
"export" cannot be used on this declaration
1070
exported_in_unnamed_namespace
a member of an unnamed namespace cannot be declared "export"
1071
export_after_definition
a template cannot be declared "export" after it has been defined
1072
labeled_declaration
a declaration cannot have a label
1073
no_export_support
support for exported templates is disabled
1074
cannot_open_exported_template_file
cannot open exported template file: "xxxx"
Green Hills Software
71

Chapter 1. C and C++ Compiler Error Messages
1075
entity_defined_in_other_trans_unit
entity-kind "entity" already defined during compilation of "xxxx"
1076
entity_defined_twice
entity-kind "entity" already defined in another translation unit
1077
based_var_cannot_be_local
a nonstatic local variable may not be used in a __based
specification
1078
cl_list_make_dependencies_incompatible_with_multiple_trans_units
the option to list makefile dependencies may not be specified
when compiling more than one translation unit
1080
cl_pp_output_incompatible_with_multiple_trans_units
the option to generate preprocessed output may not be specified
when compiling more than one translation unit
1081
field_name_conflicts_with_class
a field with the same name as its class cannot be declared in a
class with a user-declared constructor
1082
cl_implicit_include_incompatible_with_multiple_trans_units
"implicit_include" cannot be used when compiling more than one
translation unit
1083
corrupted_export_template_file
exported template file "xxxx" is corrupted
1084
exported_instantiation_and_specialized
entity-kind "entity" cannot be instantiated -- it has been
explicitly specialized in the translation unit containing the
exported definition
1086
unqual_named_function_with_qual_object
the object has cv-qualifiers that are not compatible with the
member entity-kind "entity"
1087
no_matching_function_due_to_selector
no instance of entity-kind "entity" matches the argument list
and object (the object has cv-qualifiers that prevent a match)
1088
mode_incompatible_with_type
an attribute specifies a mode incompatible with "type"
72
MULTI: Toolchain Error Messages

Errors 1100 to 1199
1089
no_type_of_specified_width
there is no type with the width specified
1090
bad_attribute_alignment
invalid alignment value specified by attribute
1091
attribute_does_not_apply_to_type
invalid attribute for "type"
1092
attribute_does_not_apply
invalid attribute for entity-kind "entity"
1093
attribute_does_not_apply_to_param
invalid attribute for parameter
1094
arguments_provided_for_attribute
attribute "xxxx" does not take arguments
1096
exp_attribute_name
expected an attribute name
1097
unrecognized_attribute
attribute "xxxx" ignored
1098
attribute_not_allowed
attributes may not appear here
1099
invalid_argument_to_attribute
invalid argument to attribute "xxxx"
Errors 1100 to 1199
1100
packed_attribute_ignored_in_typedef
the "packed" attribute is ignored in this context
1101
assigned_goto_requires_void_ptr
in "goto *expr", expr must have type "void *"
1102
nonstd_assigned_goto
"goto *expr" is nonstandard
1103
nonstd_address_of_label
taking the address of a label is nonstandard
Green Hills Software
73

Chapter 1. C and C++ Compiler Error Messages
1104
cl_duplicate_file_name
file name specified more than once:
1105
warning_directive
#warning directive: xxxx
1106
attribute_only_in_func_def
attribute "xxxx" is only allowed in a function definition
1107
transparent_type_is_not_union
the "transparent_union" attribute only applies to unions, and
"type" is not a union
1108
transparent_attribute_ignored
the "transparent_union" attribute is ignored on incomplete types
1109
union_cannot_be_transparent_sym
"type" cannot be transparent because entity-kind "entity" does
not have the same size as the first field
1110
union_cannot_be_transparent
"type" cannot be transparent because it has a field of type
"type" which is not the same size as the first field
1111
transparent_variable
only parameters can be transparent
1112
attribute_does_not_apply_to_local_variable
the "xxxx" attribute does not apply to local variables
1113
attributes_in_rout_defn
attributes are not permitted in a function definition
1114
local_labels_only_in_statement_expressions
declarations of local labels should only appear at the start of
statement expressions
1115
invalid_case_range
the second constant in a case range must be larger than the first
1116
asm_name_in_rout_defn
an asm name is not permitted in a function definition
1117
asm_name_in_typedef
an asm name is ignored in a typedef
74
MULTI: Toolchain Error Messages

Errors 1100 to 1199
1118
bad_reg_name
unknown register name "xxxx"
1119
asm_modifier_ignored
modifier letter "xxxx" ignored in asm operand
1120
bad_asm_constraint_modifier
unknown asm constraint modifier "xxxx"
1121
bad_asm_constraint_letter
unknown asm constraint letter "xxxx"
1122
missing_constraint_letter
asm operand has no constraint letter
1123
asm_output_must_have_output_mod
an asm output operand must have one of the '=' or '+' modifiers
1124
asm_input_must_not_have_output_mod
an asm input operand may not have the '=' or '+' modifiers
1125
too_many_asm_operands
too many operands to asm statement (maximum is 100)
1126
too_many_asm_colons
too many colons in asm statement
1127
register_used_twice
register "xxxx" used more than once
1128
register_used_and_clobbered
register "xxxx" is both used and clobbered
1129
register_clobbered_twice
register "xxxx" clobbered more than once
1130
fixed_register_used
register "xxxx" has a fixed purpose and may not be used in an
asm statement
1131
fixed_register_clobbered
register "xxxx" has a fixed purpose and may not be clobbered in
an asm statement
1132
empty_clobbers_list
an empty clobbers list must be omitted entirely
Green Hills Software
75

Chapter 1. C and C++ Compiler Error Messages
1133
exp_asm_operand
expected an asm operand
1134
exp_asm_clobber
expected a register to clobber
1135
format_rout_not_varargs
"format" attribute applied to entity-kind "entity" which does
not have variable arguments
1136
subst_arg_is_not_variable
first substitution argument is not the first variable argument
1137
fmt_arg_does_not_exist
format argument index is greater than number of parameters
1138
fmt_arg_is_not_string
format argument does not have string type
1139
template_not_in_template
the "template" keyword used for syntactic disambiguation may
only be used within a template
1142
attr_requires_func_type
attribute does not apply to non-function type "type"
1143
nonobject_pointer_arithmetic
arithmetic on pointer to void or function type
1144
invalid_storage_class_in_for_init
storage class must be auto or register
1145
va_arg_would_have_been_promoted
"type" would have been promoted to "type" when passed through
the ellipsis parameter; use the latter type instead
1146
not_a_base_class_member
"xxxx" is not a base class member
1147
super_after_scope
__super cannot appear after "::"
1148
super_not_in_class
__super may only be used in a class scope
76
MULTI: Toolchain Error Messages

Errors 1100 to 1199
1149
unqualified_super
__super must be followed by "::"
1151
mangled_name_too_long
mangled name is too long
1152
aliased_name_undeclared
declaration aliased to undefined entity "xxxx"
1153
aliased_name_bad_kind
declaration does not match its alias entity-kind "entity"
1154
alias_cannot_have_definition
entity declared as alias cannot have definition
1155
vla_size_ignored
variable-length array field type will be treated as zero-length
array field type
1156
gcc_lvalue_cast_ignored
nonstandard cast on lvalue ignored
1157
cl_invalid_flag_name
unrecognized flag name
1158
qualified_void_return_type
void return type cannot be qualified
1159
auto_ignored
the auto specifier is ignored here (invalid in standard C/C++)
1160
alignment_reduction_ignored
a reduction in alignment without the "packed" attribute is
ignored
1161
corresp_member_template_is_different_kind
a member template corresponding to "entity" is declared as a
template of a different kind in another translation unit
1162
excess_initializers_ignored
excess initializers are ignored
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
Green Hills Software
77

Chapter 1. C and C++ Compiler Error Messages
1163
va_start_requires_ellipsis_function
va_start should only appear in a function with an ellipsis
parameter
1164
cl_short_enums_requires_gcc_mode
the "short_enums" option is only valid in GNU C and GNU C++ modes
1165
bad_export_info_file
invalid export information file "xxxx" at line number xxxx
1166
statement_expression_in_function_only
statement expressions are only allowed in block scope
1168
asm_name_on_auto_variable
an asm name is ignored on a non-register automatic variable
1169
ignoring_inline_definition_because_of_alias
inline function also declared as an alias; definition ignored
1170
unrecognized_upc_pragma
unrecognized UPC pragma
1171
mismatched_shared_block_size
shared block size does not match one previously specified
1172
ambiguous_block_size_spec
bracketed expression is assumed to be a block size specification
rather than an array dimension
1173
shared_block_size_must_be_positive
the block size of a shared array must be greater than zero
1174
multiple_block_sizes
multiple block sizes not allowed
1175
nonshared_strict_relaxed
strict or relaxed requires shared
1176
threads_constant_not_allowed
THREADS not allowed in this context
1177
shared_block_size_too_large
block size specified exceeds the maximum value of xxxx
1178
function_returning_shared
function returning shared is not allowed
78
MULTI: Toolchain Error Messages

Errors 1100 to 1199
1180
shared_nonthreads_dim
one dimension of an array of a shared type must be a multiple
of THREADS when the number of threads is nonconstant
1181
shared_inside_struct
shared type inside a struct or union is not allowed
1182
shared_parameter
parameters may not have shared types
1183
threads_dimension_requires_definite_block_size
a dynamic THREADS dimension requires a definite block size
1184
bad_shared_storage_class
shared variables must be static or extern
1185
nonshared_blocksizeof
argument of upc_blocksizeof is a pointer to a shared type (not
shared type itself)
1186
nested_upc_forall
affinity expression ignored in nested upc_forall
1187
exit_forall
branching into or out of a upc_forall loop is not allowed
1188
bad_affinity
affinity expression must have a shared type or point to a shared
type
1189
shared_affinity_type
affinity has shared type (not pointer to shared)
1190
upc_shared_void_comparison
shared void* types can only be compared for equality
1191
cl_upc_requires_ansi_c_dialect
UPC mode is incompatible with C++ and K&R modes
1192
null_char_ignored
null (zero) character in input line ignored
1193
null_char_in_string
null (zero) character in string or character constant
Green Hills Software
79

Chapter 1. C and C++ Compiler Error Messages
1194
null_char_in_header_name
null (zero) character in header name
1195
for_init_hides_declaration
declaration in for-initializer hides a declaration in the
surrounding scope
1196
for_init_hidden_declaration
the hidden declaration is at line xxxx
1197
prototype_lost
the prototype declaration of entity-kind "entity" (declared at
line xxxx) is ignored after this unprototyped redeclaration
1199
bad_linkage_for_redefine_extname
entity-kind "entity" (declared at line xxxx) must have external
C linkage
Errors 1200 to 1299
1200
declaration_hides_for_init
variable declaration hides declaration in for-initializer
1201
typedef_in_elab_type
typedef "xxxx" may not be used in an elaborated type specifier
1202
call_of_zero
call of zero constant ignored
1203
handler_redeclares_parameter
parameter "xxxx" may not be redeclared in a catch clause of
function try block
1204
specialization_out_of_namespace
the initial explicit specialization of entity-kind "entity" must
be declared in the namespace containing the template
1205
cc_clobber_ignored
"cc" clobber ignored
1206
invalid_token_after_template
"template" must be followed by an identifier
80
MULTI: Toolchain Error Messages

Errors 1200 to 1299
1207
mythread_constant_not_allowed
MYTHREAD not allowed in this context
1208
bad_upc_shared_pointer_layout_qualifier
layout qualifier cannot qualify pointer to shared
1209
bad_upc_shared_array_layout_qualifier
layout qualifier cannot qualify an incomplete array
1210
decl_hides_catch_parameter
declaration of "xxxx" hides handler parameter
1211
nonstd_ignored_array_cast
nonstandard cast to array type ignored
1212
invalid_pragma_operator
this pragma cannot be used in a _Pragma operator (a #pragma
directive must be used)
1213
field_uses_tail_padding
field uses tail padding of a base class
1214
gnu_may_use_bit_padding
GNU C++ compilers may use bit field padding
1215
deprecated_entity
entity-kind "entity" (declared at line xxxx) was declared
"deprecated"
1216
field_with_asm_name_not_allowed
an asm name is not allowed on a nonstatic member declaration
1217
unrecognized_format_function_type
unrecognized format function type "xxxx" ignored
1218
base_uses_tail_padding
base class "entity" uses tail padding of base class "entity"
1219
bad_variable_for_init_priority
the "init_priority" attribute can only be used for definitions
of static data members and namespace scope variables of class
types
1220
init_priority_reserved
requested initialization priority is reserved for internal use
Green Hills Software
81

Chapter 1. C and C++ Compiler Error Messages
1221
hidden_anonymous_union_field
this anonymous union/struct field is hidden by entity-kind
"entity" (declared at line xxxx)
1222
invalid_error_number
invalid error number
1223
invalid_error_tag
invalid error tag
1224
exp_error_argument
expected an error number or error tag
1225
size_affected_by_tail_padding
size of class is affected by tail padding
1226
nonlocal_label_reference
labels can be referenced only in function definitions
1227
branch_into_statement_expr
transfer of control into a statement expression is not allowed
1229
bad_statement_in_statement_expr
this statement is not allowed inside of a statement expression
1230
class_def_in_statement_expr
a non-POD class definition is not allowed inside of a statement
expression
1231
destr_in_statement_expr
destructible entities are not allowed inside of a statement
expression
1232
dyn_local_static_in_statement_expr
a dynamically-initialized local static variable is not allowed
inside of a statement expression
1233
vla_in_statement_expr
a variable-length array is not allowed inside of a statement
expression
1234
statement_expr_in_default_arg
a statement expression is not allowed inside of a default
argument
82
MULTI: Toolchain Error Messages

Errors 1200 to 1299
1235
ptr_func_ptr_data_conv
nonstandard conversion between pointer to function and pointer
to data
1236
interface_cannot_have_virtual_base
interface types cannot have virtual base classes
1237
interface_cannot_have_private_or_protected
interface types cannot specify "private" or "protected"
1238
interface_must_derive_from_interface
interface types can only derive from other interface types
1239
type_is_interface
"type" is an interface type
1240
interface_cannot_have_typedef
interface types cannot have typedef members
1241
interface_cannot_have_ctor_or_dtor
interface types cannot have user-declared constructors or
destructors
1242
interface_cannot_have_operator
interface types cannot have user-declared member operators
1243
interface_cannot_be_local
interface types cannot be declared in functions
1244
interface_cannot_be_template
cannot declare interface templates
1245
interface_cannot_have_data_member
interface types cannot have data members
1246
interface_cannot_have_friend
interface types cannot contain friend declarations
1247
interface_cannot_have_nested_class
interface types cannot have nested classes
1248
interface_cannot_be_nested_class
interface types cannot be nested class types
1249
interface_cannot_have_member_templates
interface types cannot have member templates
Green Hills Software
83

Chapter 1. C and C++ Compiler Error Messages
1250
interface_cannot_have_static_members
interface types cannot have static member functions
1251
invalid_microsoft_pragma_operator
this pragma cannot be used in a __pragma operator (a #pragma
directive must be used)
1252
qualifier_must_be_base_class
qualifier must be base class of "type"
1253
invalid_selective_overrider_declaration
declaration must correspond to a pure virtual member function
in the indicated base class
1254
integer_overflow_class_internal
integer overflow in internal computation due to size or
complexity of "type"
The compiler displays this error if you are using multiple or virtual inheritance, and
the offset from the beginning of the derived class type to a base class within type
exceeds the 32 kilobytes. If you are using multiple inheritance, rearrange the inheritance
order by putting smaller classes first. With the new ordering, the offset of larger classes
is less likely to exceed this limit. If you are using virtual inheritance, make the derived
class members smaller, because the compiler always places members of a derived
class before virtual base classes.
If you do not need your code to be backwards-compatible with existing code, you can
remove this limit by passing the --large_vtbl_offsets option. For more information,
see “Virtual Function Table Offset Size” in the chapter “Builder and Driver Options”
in MULTI: Building Applications.
1255
integer_overflow_internal
integer overflow in internal computation
1256
invalid_type_for_w64
__w64 can only be specified on int, long, and pointer types
1257
ilp64_will_narrow
potentially narrowing conversion when compiled in an environment
where int, long, or pointer types are 64 bits wide
1258
value_of_pragma_pack_show
current value of pragma pack is xxxx
1259
pragma_pack_show_args_ignored
arguments for pragma pack(show) are ignored
84
MULTI: Toolchain Error Messages

Errors 1200 to 1299
1260
bad_alignment_specifier
invalid alignment specifier value
1261
exp_int_literal
expected an integer literal
1262
multiple_declspec_align
earlier __declspec(align(…)) ignored
1263
exp_ms_attr_enum_value
expected an argument value for the "xxxx" attribute parameter
1264
invalid_ms_attr_enum_value
invalid argument value for the "xxxx" attribute parameter
1265
exp_ms_attr_bool_value
expected a boolean value for the "xxxx" attribute parameter
1266
positional_after_named
a positional argument cannot follow a named argument in an
attribute
1267
invalid_ms_attr_name
attribute "xxxx" has no parameter named "xxxx"
1268
exp_ms_attr_arg_list
expected an argument list for the "xxxx" attribute
1269
exp_comma_or_rbracket
expected a "," or "]"
1270
duplicate_ms_attr_arg
attribute argument "xxxx" has already been given a value
1271
cannot_assign_to_ms_attr
a value cannot be assigned to the "xxxx" attribute
1272
ptr_incomplete_throw
a throw expression may not have pointer-to-incomplete type
1273
alignof_incomplete_type
alignment-of operator applied to incomplete type
1274
invalid_use_of_standalone_ms_attr
"xxxx" may only be used as a standalone attribute
Green Hills Software
85

Chapter 1. C and C++ Compiler Error Messages
1275
invalid_use_of_ms_attr
"xxxx" attribute cannot be used here
1276
unrecognized_ms_attr
unrecognized attribute "xxxx"
1277
ms_attr_not_allowed
attributes are not allowed here
1278
invalid_ms_attr_uuid_value
invalid argument value for the "xxxx" attribute parameter
1279
too_many_ms_attr_args
too many attribute arguments
1280
conv_from_inaccessible_base_class
conversion from inaccessible base class "type" is not allowed
1281
cl_export_template_requires_distinct_templ_sigs
option "export" requires distinct template signatures
1282
mixed_string_concatenation
string literals with different character kinds cannot be
concatenated
1283
no_gnu_virtual_base_gap
GNU layout bug not emulated because it places virtual base
"entity" outside "entity" object boundaries
1284
gnu_virtual_base_gap
virtual base "entity" placed outside "entity" object boundaries
1285
nonstd_qualifier_in_namespace_member_decl
nonstandard qualified name in namespace member declaration
1286
declspec_align_reduction_ignored
reduction in alignment ignored
1287
const_ignored
const qualifier ignored
1289
invalid_asm_qualifiers
invalid GNU asm qualifiers
86
MULTI: Toolchain Error Messages

Errors 1300 to 1399
1290
non_pod_passed_to_ellipsis
non-POD class type passed through ellipsis
The compiler issues this remark because it is expected that passing a struct to a
variadic function is done by accident more often than it is done intentionally. For
example, in many cases it is likely that passing either the address of the struct or
one of its fields was intended instead. This remark may be issued on perfectly valid
code.
1291
non_pod_va_arg
a non-POD class type cannot be fetched by va_arg
1292
nonstd_fixed_point_suffix
the 'u' or 'U' suffix must appear before the 'l' or 'L' suffix
in a fixed-point literal
1293
cl_fixed_point_option_only_in_C
option "fixed_point" can be used only when compiling C
1294
integer_may_not_fit_in_fixed_point_result
integer operand may cause fixed-point overflow
1295
bad_fixed_point_value
fixed-point constant is out of range
1296
inexact_fxp_conversion
fixed-point value cannot be represented exactly
1297
c99_constant_in_unsigned_long_long_range
constant is too large for long long; given unsigned long long
type (nonstandard)
1298
bad_upc_shared_void_pointer_layout_qualifier
layout qualifier cannot qualify pointer to shared void
1299
duplicate_threads_dim
duplicate THREADS in multidimensional array type
Errors 1300 to 1399
1300
bad_strong_using_scope
a strong using-directive may only appear in a namespace scope
Green Hills Software
87

Chapter 1. C and C++ Compiler Error Messages
1301
probable_guiding_friend
entity-kind "entity" declares a non-template function -- add <>
to refer to a template instance
1302
operation_may_not_fit_in_fixed_point_result
operation may cause fixed-point overflow
1303
expr_not_integral_or_enum_or_fixed_point
expression must have integral, enum, or fixed-point type
1304
expr_not_integral_or_fixed_point
expression must have integral or fixed-point type
1305
noreturn_function_does_return
function declared with "noreturn" does return
1306
asm_name_conflict
asm name ignored because it conflicts with a previous declaration
1307
duplicate_typedef_in_class
class member typedef may not be redeclared
1308
taking_address_of_temporary
taking the address of a temporary
1309
attribute_ignored_on_incomplete_class_decl
attributes are ignored on a class declaration that is not also
a definition
1310
implicit_fixed_point_to_floating_point_conversion
fixed-point value implicitly converted to floating-point type
1311
no_classification_for_fixed_point_type
fixed-point types have no classification
1312
fixed_template_parameter
a template parameter may not have fixed-point type
1313
hex_fp_constant
hexadecimal floating-point constants are not allowed
1314
cl_named_address_spaces_option_only_in_C
option "named_address_spaces" can be used only when compiling C
1315
float_to_fixed_conversion
floating-point value does not fit in required fixed-point type
88
MULTI: Toolchain Error Messages

Errors 1300 to 1399
1316
inexact_fixed_conversion
value cannot be converted to fixed-point value exactly
1317
fixed_sign_change
fixed-point conversion resulted in a change of sign
1318
integer_to_fixed_conversion
integer value does not fit in required fixed-point type
1319
bad_fixed_operation_result
fixed-point operation result is out of range
1320
multiple_named_address_spaces
multiple named address spaces
1321
bad_storage_class_for_named_address_space_variable
variable with automatic storage duration cannot be stored in a
named address space
1322
type_with_named_address_space_not_allowed
type cannot be qualified with named address space
1323
named_address_space_on_function_type
function type cannot be qualified with named address space
1324
field_type_cannot_be_qualified_with_named_address_space
field type cannot be qualified with named address space
1325
fixed_to_float_conversion
fixed-point value does not fit in required floating-point type
1326
fixed_to_integer_conversion
fixed-point value does not fit in required integer type
1327
fixed_to_fixed_conversion
value does not fit in required fixed-point type
1328
cl_named_registers_option_only_in_C
option "named_registers" can be used only when compiling C
1329
named_register_not_allowed
a named-register storage class is not allowed here
1330
register_storage_class_conflict
entity-kind "entity" (declared at line xxxx) redeclared with
incompatible named-register storage class
Green Hills Software
89

Chapter 1. C and C++ Compiler Error Messages
1331
aliased_variable_cannot_have_register_storage_class
named-register storage class cannot be specified for aliased
variable
1332
register_in_use
named-register storage specifier is already in use
1333
embedded_c_option_incompatible_with_individual_feature_options
option "embedded_c" cannot be combined with options to control
individual Embedded C features
1334
cl_invalid_edg_base_directory
invalid EDG_BASE directory:
1335
cannot_open_predef_macro_file
cannot open predefined macro file: "xxxx"
1336
bad_predef_macro_line
invalid predefined macro entry at line xxxx: xxxx
1337
bad_macro_mode_name
invalid macro mode name "xxxx"
1338
bad_predef_macro_redef
incompatible redefinition of predefined macro "xxxx"
1339
missing_named_register_storage_class
redeclaration of entity-kind "entity" (declared at line xxxx)
is missing a named-register storage class
1340
register_too_small
named register is too small for the type of the variable
1341
no_named_register_for_array
arrays cannot be declared with named-register storage class
1342
enum_const_cast
const_cast to enum type is nonstandard
1343
cl_embedded_c_option_only_in_C
option "embedded_c" can be used only when compiling C
1344
named_address_space_not_allowed
a named address space qualifier is not allowed here
90
MULTI: Toolchain Error Messages

Errors 1300 to 1399
1345
bad_initializer_for_array_with_unspecified_bound
an empty initializer is invalid for an array with unspecified
bound
1346
incomplete_class_return_type
function returns incomplete class type "type"
1347
out_of_class_initializer_ignored
entity-kind "entity" has already been initialized; the
out-of-class initializer will be ignored
1348
local_variable_hidden
declaration hides entity-kind "entity" (declared at line xxxx)
1349
named_address_space_for_parameter
a parameter cannot be allocated in a named address space
1350
bad_float_or_fixed_suffix
invalid suffix on fixed-point or floating-point constant
1351
register_in_address_space
a register variable cannot be allocated in a named address space
1352
bad_stdc_fx_overflow_pragma_arg
expected "SAT" or "DEFAULT"
1353
no_corresponding_member_delete
entity-kind "entity" has no corresponding member operator delete
(to be called if an exception is thrown during initialization
of an allocated object)
1354
dll_thread_conflict
a thread-local variable cannot be declared with "dllimport" or
"dllexport"
1355
function_returning_named_address_space
a function return type cannot be qualified with a named address
space
1356
cannot_initialize_destructible_flexible_array
an initializer cannot be specified for a flexible array member
whose elements have a nontrivial destructor
1357
cannot_initialize_indirect_flexible_array
an initializer cannot be specified for an indirect flexible array
member
Green Hills Software
91

Chapter 1. C and C++ Compiler Error Messages
1358
cl_invalid_gnu_version
invalid GNU version number:
1359
attribute_after_parenthesized_initializer
variable attributes appearing after a parenthesized initializer
are ignored
1360
gcc_use_of_cast_as_lvalue
the result of this cast cannot be used as an lvalue
1361
unsigned_fixed_point_negation
negation of an unsigned fixed-point value
1362
operator_not_allowed
this operator is not allowed at this point; use parentheses
1363
nonconstant_flexible_array_member_init
flexible array member initializer must be constant
1364
register_name_on_nonregister
register names can only be used for register variables
1365
void_named_register
named-register variables cannot have void type
1366
declspec_invalid
__declspec modifiers not valid for this declaration
1367
parameter_with_link_scope_specifier
parameters cannot have link scope specifiers
1368
multiple_link_scope_specifiers
multiple link scope specifiers
1369
link_scope_requires_external_linkage
link scope specifiers can only appear on functions and variables
with external linkage
1370
link_scope_relaxation
a redeclaration cannot weaken a link scope
1371
invalid_link_scope
link scope specifier not allowed on this declaration
1372
nonstd_qualifier_in_global_scope_decl
nonstandard qualified name in global scope declaration
92
MULTI: Toolchain Error Messages

Errors 1300 to 1399
1373
impl_narrowing_64_bit_int
implicit conversion of a 64-bit integral type to a smaller
integral type (potential portability problem)
1374
expl_narrowing_64_bit_int
explicit conversion of a 64-bit integral type to a smaller
integral type (potential portability problem)
1375
pointer_conversion_to_same_size_int
conversion from pointer to same-sized integral type (potential
portability problem)
1376
alias_loop
alias creates cycle of aliased entities
1377
pcc_field_ambiguity
field name resolves to more than one offset -- see "entity"
(declared at line xxxx) and "entity" (declared at line xxxx)
1378
not_a_field_name
"xxxx" is not a field name
1379
invalid_symbolic_asm_operand_name
invalid symbolic operand name "xxxx"
1380
match_limit_for_symbolic_asm_operand
a symbolic match constraint must refer to one of the first ten
operands
1381
friend_specifier_ignored
friend specifier is not allowed in a class definition; friend
specifier is ignored
1382
cannot_use_thread_local_storage
only static and extern variables can use thread-local storage
1383
multiple_thread_local_storage_specifiers
multiple thread-local storage specifiers
1384
virtual_function_never_defined
virtual entity-kind "entity" was not defined (and cannot be
defined elsewhere because it is a member of an unnamed namespace)
1385
stray_carriage_return
carriage return character in source line outside of comment or
character/string literal
Green Hills Software
93

Chapter 1. C and C++ Compiler Error Messages
1386
expr_not_fixed_point
expression must have fixed-point type
1387
invalid_access_specifier
invalid use of access specifier is ignored
1388
ptr_conv_to_bool
pointer converted to bool
1389
ptr_to_member_conv_to_bool
pointer-to-member converted to bool
1390
storage_specifier_ignored
storage specifier ignored
1391
dll_interface_ignored_on_class_template
dllexport and dllimport are ignored on class templates
1392
base_class_has_different_dll_interface
base class dllexport/dllimport specification differs from that
of the derived class
1393
redeclaration_adds_dll_interface
redeclaration cannot add dllexport/dllimport to "entity"
(declared at line xxxx)
1394
dll_interface_conflict_dllexport_assumed
dllexport/dllimport conflict with "entity" (declared at line
xxxx); dllexport assumed
1395
dllimport_defined
cannot define dllimport entity
1396
dll_interface_requires_external_linkage
dllexport/dllimport requires external linkage
1397
class_and_member_have_dll_interface
a member of a class declared with dllexport/dllimport cannot
itself be declared with such a specifier
1398
field_without_dll_interface
field of class type without a DLL interface used in a class with
a DLL interface
1399
microsoft_parenthesized_member
parenthesized member declaration is nonstandard
94
MULTI: Toolchain Error Messages

Errors 1400 to 1499
Errors 1400 to 1499
1400
white_space_inside_splice
white space between backslash and newline ignored for GNU
compatibility -- may cause unintentional line continuation
In most C dialects, the compiler does not parse backslash (\) as a line continuation
character if it is followed by a whitespace. In the GNU C dialect, the compiler parses
backslash as a line continuation character whether or not it is followed by a whitespace.
In versions of the MULTI compiler earlier than 5.2, the GNU C and C++ dialects
behaved the same way as other dialects.
This diagnostic indicates that your code has a line that contains a backslash followed
by a whitespace, and therefore may contain an unintentional line continuation. The
following example shows one of these cases (the space is indicated by an underscore,
because it does not display in print):
#include <stdio.h>
int main(void) {
int i = 42; // use space after backslash, as in C:\_
i = 0; // ignored in GNU
if (i != 0) {
printf("i = %d, should be 0\n", i);
}
}
1401
dll_interface_conflict_none_assumed
dllexport/dllimport conflict with "entity" (declared at line
xxxx); dllimport/dllexport dropped
1402
bad_nonstd_anonymous_union_field
invalid member for anonymous member class -- class "type" has a
disallowed member function
1403
nonstd_reinterpret_cast
nonstandard reinterpret_cast
1404
positional_format_specifier_zero
positional format specifier cannot be zero
1405
nonlocal_vla_not_allowed
a local class cannot reference a variable-length array type from
an enclosing function
1406
class_and_inherited_member_instance_have_dll_interface
member entity-kind "entity" (declared at line xxxx) already has
an explicit dllexport/dllimport specifier
Green Hills Software
95

Chapter 1. C and C++ Compiler Error Messages
1407
vla_in_return_type
a variable-length array is not allowed in a function return type
1408
ptr_to_member_of_vla_type
variable-length array type is not allowed in pointer to member
of type "type"
1409
statement_expr_with_vla_type
the result of a statement expression cannot have a type involving
a variable-length array
1410
trigraph_ignored
support for trigraphs is disabled
1411
attribute_requires_external_linkage
the "xxxx" attribute can only appear on functions and variables
with external linkage
1412
cl_strict_mode_incompatible_with_ignore_std
strict mode is incompatible with treating namespace std as an
alias for the global namespace
1413
if_exists_not_allowed
use of __if_exists is not supported in this context
1414
if_exists_not_closed
__if_exists block not closed in the same scope in which it was
opened
1415
bad_init_for_thread_local
thread-local variable cannot be dynamically initialized
1416
unaligned_qualifier_dropped
conversion drops "__unaligned" qualifier
1417
insufficient_enum_range
some enumerator values cannot be represented by the integral
type underlying the enum type
1418
friend_class_template_default_arg_not_allowed
default argument is not allowed on a friend class template
declaration
1419
multi_char_literal
value of multicharacter character literal is
implementation-defined
96
MULTI: Toolchain Error Messages

Errors 1400 to 1499
1420
exp_class_type
expected a class, struct, or union type
1421
offsetof_nonfield
second operand of offsetof must be a field
1422
offsetof_bit_field
second operand of offsetof may not be a bit field
1423
offsetof_virtual_base_member
cannot apply offsetof to a member of a virtual base
1424
offset_in_non_POD_nonstandard
offsetof applied to non-POD types is nonstandard
1425
default_arg_on_member_friend
default arguments are not allowed on a friend declaration of a
member function
1426
default_arg_requires_friend_to_be_definition
default arguments are not allowed on friend declarations that
are not definitions
1427
redeclaration_of_friend_with_default_args
redeclaration of entity-kind "entity" (declared at line xxxx)
previously declared as a friend with default arguments is not
allowed
1428
bad_qualifier_for_nested_class_decl
invalid qualifier for "type" (a derived class is not allowed
here)
1429
bad_qualifier_for_delayed_class_definition
invalid qualifier for definition of class "type"
1430
no_prior_push_macro
no prior push_macro for "xxxx"
1431
wide_string_not_allowed
wide string literal not allowed
1433
feature_requires_c
"xxxx" is only allowed in C
1434
microsoft_ptr_width_must_follow_star
__ptr32 and __ptr64 must follow a "*"
Green Hills Software
97

Chapter 1. C and C++ Compiler Error Messages
1435
microsoft_ptr_width_conflict
__ptr32 and __ptr64 cannot both apply
1436
name_must_be_prototype_instantiation
template argument list of "xxxx" must match the parameter list
1437
incomplete_class_type
an incomplete class type is not allowed
1438
complex_integral_type
complex integral types are not supported
1439
real_and_imag_require_complex_argument
__real and __imag can only be applied to complex values
1440
real_and_imag_applied_to_real_value
__real/__imag applied to real value
1441
deprecated_entity_with_custom_message
entity-kind "entity" (declared at line xxxx) was declared
"deprecated ("xxxx")"
1442
redefinition
invalid redefinition of entity-kind "entity" (declared at line
xxxx)
1443
dll_interface_in_unnamed_namespace
dllimport/dllexport applied to a member of an unnamed namespace
1444
thiscall_requires_nonstatic_member
__thiscall can only appear on nonstatic member function
declarations
1445
vararg_thiscall
__thiscall not allowed on function with ellipsis parameter
1446
specialization_of_referenced_entity
explicit specialization of entity-kind "entity" must precede its
first use
1447
sealed_base_class
a sealed class type cannot be used as a base class
1448
duplicate_class_modifier
duplicate class modifier
98
MULTI: Toolchain Error Messages

Errors 1400 to 1499
1449
function_modifiers_abstract_and_sealed
a member function cannot have both the "abstract" and "sealed"
modifiers
1450
pure_specifier_on_sealed_member
a sealed member cannot be pure virtual
1451
function_modifier_requires_virtual_function
nonvirtual function cannot be declared with "abstract" or
"sealed" modifier
1452
override_member_does_not_override
member function declared with "override" modifier does not
override a base class member
1453
override_of_sealed_function
cannot override sealed entity-kind "entity" (declared at line
xxxx)
1454
type_is_declared_abstract
entity-kind "entity" (declared at line xxxx) was declared with
the class modifier "abstract"
1455
cl_uliterals_option_only_in_C
option "--uliterals" can be used only when compiling C
1456
parameter_attribute_invalid
attribute "xxxx" not allowed on parameter declarations
1457
enum_base_type_must_be_integral
underlying type of enum type must be an integral type other than
bool
1458
enum_base_type_too_limited
some enumerator constants cannot be represented by "type"
1459
feature_not_allowed_in_current_mode
"xxxx" not allowed in current mode
1460
cl_type_traits_helpers_option_only_in_cplusplus
option "--type_traits_helpers" can be used only when compiling
C++
1461
gnu_sentinel_attribute_requires_ellipsis
attribute "sentinel" requires an ellipsis parameter
Green Hills Software
99

Chapter 1. C and C++ Compiler Error Messages
1462
invalid_gnu_sentinel_argument
argument must be a constant null pointer value
1463
no_gnu_sentinel_argument
insufficient number of arguments for sentinel value
1464
gnu_sentinel_must_be_ellipsis_argument
sentinel argument must correspond to an ellipsis parameter
1465
implementation_key_outside_mapping_region
__declspec(implementation_key(…) can appear only between #pragma
start_map_region and #pragma stop_map_region
1466
start_map_region_ignored
#pragma start_map_region already active: pragma ignored
1467
stop_map_region_ignored
no #pragma start_map_region is currently active: pragma ignored
1468
var_used_as_destructor
entity-kind "entity" cannot be used to name a destructor (a type
name is required)
1469
empty_wide_character
nonstandard empty wide character literal treated as L'\0'
1470
invalid_typename_specifier
"typename" may not be specified here
1471
no_default_delete_in_virtual_dtor
a non-placement operator delete must be visible in a class with
a virtual destructor
1472
name_linkage_mismatch_for_variable
name linkage conflicts with previous declaration of entity-kind
"entity" (declared at line xxxx)
1473
subscript_must_be_constant
subscript must be constant
1474
register_mapped_variable_cannot_have_initializer
a variable with static storage duration allocated in a specific
register cannot be declared with an initializer
1475
register_mapped_variable_must_be_POD
a variable allocated in a specific register must have POD type
100
MULTI: Toolchain Error Messages

Errors 1400 to 1499
1476
predef_macro_redefined
predefined meaning of "entity" discarded
1477
attribute_requires_internal_linkage
the "xxxx" attribute can only appear on functions and variables
with internal linkage
1478
designator_for_non_POD
designator may not specify a non-POD subobject
1479
enum_qualifier_nonstd
enum qualified name is nonstandard
1480
nonstandard_anonymous_union_qualifier
anonymous union qualifier is nonstandard
1481
anonymous_union_qualifier_ignored
anonymous union qualifier is ignored
1482
declspec_missing_declarator
__declspec ignored (no variable or function declared)
1483
struct_declspec_ignored_in_C_mode
__declspec(xxxx) ignored (it has no meaning for a C struct)
1484
nonstandard_secondary_decl_specifiers
specifiers after comma between declarations are nonstandard
1485
secondary_specifier_ignored
nonstandard specifier ignored
1486
enum_attribute_ignored
attributes are ignored on an enum declaration that is not also
a definition
1487
reference_declared_mutable
declaring a reference with "mutable" is nonstandard
1488
array_condition_always_true
a condition declaration for an array is always true
1489
static_assert
static assertion failed with "xxxx"
Green Hills Software
101

Chapter 1. C and C++ Compiler Error Messages
1490
gnu_visibility_conflict
visibility attribute ignored because it conflicts with a previous
declaration
1491
member_cannot_have_internal_linkage
a member function cannot have internal linkage
1492
builtin_function_hidden
declaration hides built-in entity-kind "entity"
1493
builtin_function_overloaded
declaration overloads built-in entity-kind "entity"
1494
cl_list_macros_incompatible_with_multiple_trans_units
the option to list macro definitions may not be specified when
compiling more than one translation unit
1495
lparen_after_function
unexpected parenthesis after declaration of entity-kind "entity"
(malformed parameter list or invalid initializer?)
1496
nonstandard_parenthesized_string_initializer
parentheses around a string initializer are nonstandard
1497
auto_variable_in_own_initializer
a variable declared with an auto type specifier cannot appear
in its own initializer
1498
cannot_deduce_auto_type
cannot deduce "auto" type
1499
auto_brace_initialization_not_allowed
initialization with "{…}" is not allowed for "auto" type
Errors 1500 to 1599
1501
bad_align_alignment
invalid align value
1502
local_pragma_align
effect of this "#pragma align" directive is local to entity-kind
"entity"
102
MULTI: Toolchain Error Messages

Errors 1500 to 1599
1503
nested_pragma_areas
pragmas which specify data areas cannot be nested
1504
misplaced_asm_pragma
"#pragma asm/endasm" cannot be placed xxxx
1505
ghs_interrupt_and_nonfunction
interrupt specifier allowed on function declarations only
1506
ghs_interrupt_and_nonvoid_return
interrupt function must return void
1507
ghs_interrupt_and_has_parameters
interrupt function may not have parameters
1508
ghs_interrupt_not_supported
interrupt functions not supported in this compiler
1509
incompatible_interrupt_specifier_on_specific_decl
__interrupt specification is incompatible with previous "entity"
(declared at line xxxx)
1510
ghs_pragma_config_unimplement
This pragma is not implemented for this configuration
The compiler displays this error if you use a #pragma directive that is not implemented
for your processor or target operating system, or if you set an option that disables the
directive.
For more information, see the documentation for the #pragma directive reported in
the error.
1511
bad_alignvar_alignment
invalid alignvar value
1512
bad_section_pragma
incorrect section #pragma: xxxx
1513
unknown_ghs_pragma
GHS #pragma with incorrect keyword "xxxx"
1514
invalid_ghs_pragma
incorrect GHS #pragma: xxxx
1515
unmatched_ghs_sda_pragma
the end data section pragma does not match the start data section
pragma
Green Hills Software
103

Chapter 1. C and C++ Compiler Error Messages
1517
invalid_pp_directive_in_asm_block
this preprocessing directive is not permitted within a #pragma
asm/endasm block
1518
ghs_safe_ansi_alias_pointer_function
a questionable cast from type "type" to type "type" causes ANSI
aliasing rules to be turned off for this function
This warning indicates that the compiler has detected that two entities of incompatible
type might alias each other at function scope, and therefore the compiler will not
perform any optimizations whose correctness depends on aliasing information when
compiling the current function. This warning is issued only when those optimizations
have been enabled. When compiling without optimizations, remark 1798 is issued
instead.
To disable ANSI aliasing rules and suppress this warning, pass the -no_ansi_alias
option.
1519
ghs_safe_ansi_alias_pointer_file
a questionable cast from type "type" to type "type" -- please
recompile with ANSI aliasing turned off
This error indicates that the compiler has detected that two entities of incompatible
type might alias each other at file scope, and therefore the compiler cannot perform
any optimizations whose correctness depends on aliasing information. This error is
issued only when those optimizations have been enabled. When compiling without
optimizations, remark 1798 is issued instead.
To disable ANSI aliasing rules and suppress this error, pass the -no_ansi_alias option.
1520
unimplemented_gnu_extension
unsupported GNU language extension: xxxx
1521
gnu_extension_recognized
use -gnu for full GNU support
1522
global_reg_and_initializer
global register variable cannot have an initializer
1523
asmsym_macro_commented_out
This macro definition will be commented-out in asmsym output
files since it may have adverse effects
1524
asmsym_internal_macro_syntax_error
Incorrect usage of __ASMSYM_INTERNAL()
104
MULTI: Toolchain Error Messages

Errors 1500 to 1599
1527
no_match_for_intvect_pragma
The name specified in the 'intvect' must be a declared interrupt
routine
1528
field_not_yet_laid_out
An asmsym region ended before the xxxx definition containing
field "xxxx" was complete
1529
asm_not_allowed_with_bin_codegen
asm statement incompatible with binary code generation. Try
command line option -noobj or builder menu File
Options->Advanced->Compilation = Assembly
1530
addr_of_builtin
this builtin function may not have its address taken
1531
builtin_function_type
Builtin function xxxx is not xxxx
1532
decl_overloaded_builtin
overloaded builtin function may not be declared
1533
defining_builtin
defining builtin function; may be called only via pointer to
function
1534
expr_not_constant_or_vector
expression must be a vector type or have a constant value
1535
implicit_builtin
builtin function may not be implicitly declared
1536
obsolete_feature
use of obsolete feature: xxxx
1537
too_few_initializer_values
too few initializer values
1538
type_must_be_compat_with_builtin
type must be compatible with builtin function
1539
vector_arg_without_prototype
vector argument requires a prototype
1540
vector_not_first
vector type specifier is not first
Green Hills Software
105

Chapter 1. C and C++ Compiler Error Messages
1541
vector_type_required
operand of vec_step must be a vector type
1542
no_floating_point_types
floating point types have been disabled
1543
no_floating_point_const
floating point constants have been disabled
1544
pragma_information_conflict
incompatibility associated with redeclaration of entity-kind
"entity": xxxx
1545
address_of_packed_struct_member
address taken of a packed structure member with insufficient
alignment
1546
asm_non_portable
asm constructs are non-portable
1547
call_to_nonprototyped_func
call is made to a non-prototyped function
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1550
auto_type_in_array_type
"auto" type cannot appear in top-level array type
1551
auto_type_in_function_type
"auto" type cannot appear in top-level function type
1552
invalid_member_constant_type
a member of type "type" cannot have an in-class initializer
1553
member_constant_not_const
a member with an in-class initializer must be const
1554
auto_type_requires_initializer
cannot deduce "auto" type (initializer required)
1555
inconsistent_deduction_of_auto
"auto" type is "type" for this entity, but was previously implied
to be "type"
1556
bad_constructor_decl
invalid constructor declaration
106
MULTI: Toolchain Error Messages

Errors 1500 to 1599
1557
bad_type_qualifier
invalid use of a type qualifier
1558
abstract_or_sealed_on_union
a union cannot be abstract or sealed
1559
auto_not_allowed_here
"auto" is not allowed here
1560
unfinished_base_class
definition of base class type not completed yet
1561
static_extern_template
"extern template" cannot refer to a specialization of static
entity-kind "entity" (declared at line xxxx)
1562
extern_template_follows_instantiation
"extern template" cannot follow explicit instantiation of
entity-kind "entity"
1563
bad_declspec_restrict_return
__declspec(restrict) requires a function returning a pointer
type
1564
cl_report_gnu_extensions_requires_gnu_mode
the "report_gnu_extensions" option is only valid in GNU C and
GNU C++ modes
1565
vla_is_nonstandard
variable-length array types are nonstandard
1566
designator_is_nonstandard
designators are nonstandard
1567
extended_designator_is_gnu_extension
this designator syntax is a GNU extension
1568
compound_literal_is_nonstandard
compound literals are nonstandard
1569
statement_expression_is_gnu_extension
statement expressions are a GNU extension
1570
asm_name_after_definition
asm name ignored for previously defined entity
Green Hills Software
107

Chapter 1. C and C++ Compiler Error Messages
1571
attribute_is_gnu_extension
attributes are a GNU extension
1572
asm_operand_spec_is_gnu_extension
extended asm syntax is a GNU feature
1573
volatile_asm_is_gnu_extension
volatile asm declarations are a GNU extension
1574
asm_name_is_gnu_extension
asm name specifiers are a GNU extension
1575
gnu_restrict_is_nonstandard
the "__restrict" qualifier is nonstandard
1576
typeof_is_gnu_extension
"typeof" is a GNU extension
1577
typedef_modification_is_nonstandard
modifying the size or signedness of a typedef is nonstandard
1578
zero_length_array_is_gnu_extension
zero-length arrays are a GNU extension
1579
flexible_array_is_nonstandard
flexible array members are nonstandard
1580
nonnull_on_nonpointer
attribute "nonnull" references nonpointer parameter
1581
nonnull_parameter_number_too_large
argument for attribute "nonnull" is larger than number of
parameters
1582
no_pointer_parameters
no parameter has pointer type
1583
null_argument_for_nonnull_parameter
null argument provided for parameter marked with attribute
"nonnull"
This warning is issued in connection with the nonnull attribute.
1584
access_prevents_dtor_generation
the destructor for "type" has been suppressed because the
destructor for "type" is inaccessible
108
MULTI: Toolchain Error Messages

Errors 1500 to 1599
1585
suppressed_dtor_needed
the suppressed destructor for "type" is needed
1586
inline_gnu_noinline_conflict
routine is both "inline" and "noinline" ("noinline" assumed)
1587
invalid_cleanup_routine
invalid cleanup routine
1588
attribute_cleanup_requires_automatic_storage
attribute "cleanup" requires automatic storage duration
1589
attribute_cleanup_for_parameter
attribute "cleanup" does not apply to parameters
1590
bad_type_for_cleanup_routine
cleanup routine has invalid type
1591
nonstandard_conversion_for_cleanup
call of cleanup routine requires suspect conversion
1592
microsoft_ptr_signedness_must_follow_star
__sptr and __uptr must follow a "*"
1593
microsoft_ptr_signedness_conflict
__sptr and __uptr cannot both be specified
1594
microsoft_ptr_sign_extension
widening pointer conversion from "type" to "type" extends sign
bit
1595
microsoft_ptr_signedness_on_ptr_to_member
__sptr and __uptr don't apply to pointer-to-member types
1596
const_mbr_suppresses_copy_asgn_decl
the declaration of the copy assignment operator for "type" has
been suppressed because entity-kind "entity" is const
1597
ref_mbr_suppresses_copy_asgn_decl
the declaration of the copy assignment operator for "type" has
been suppressed because entity-kind "entity" has reference type
1598
subobj_copy_asgn_decl_suppressed
the declaration of the copy assignment operator for "type" has
been suppressed because that of "type" was suppressed
Green Hills Software
109

Chapter 1. C and C++ Compiler Error Messages
1599
ambig_suppresses_copy_asgn_decl
the declaration of the copy assignment operator for "type" has
been suppressed because that of "type" is ambiguous
Errors 1600 to 1699
1600
access_suppresses_copy_asgn_decl
the declaration of the copy assignment operator for "type" has
been suppressed because that of "type" is inaccessible
1601
subobj_copy_ctor_decl_suppressed
the declaration of the copy constructor for "type" has been
suppressed because that of "type" was suppressed
1602
ambig_suppresses_copy_ctor_decl
the declaration of the copy constructor for "type" has been
suppressed because that of "type" is ambiguous
1603
access_suppresses_copy_ctor_decl
the declaration of the copy constructor for "type" has been
suppressed because that of "type" is inaccessible
1604
inaccessible_dtor_not_invoked
the destructor for "type" will not be called because it is
inaccessible and the destructor for "type" was suppressed
1605
file_ends_with_unterminated_type_definition
definition at end of file not followed by a semicolon or a
declarator
1606
bad_type_for_gnu_sync_function
first argument must be a pointer to integer or enumeration type
1607
invalid_gnu_sync_size
synchronized operations are valid only on objects of size 1, 2,
4, or 8
1608
extra_arguments_ignored
extra arguments ignored
1609
equals_assumed_in_cmd_line_macro_def
'=' assumed following macro name "xxxx" in command-line
definition
110
MULTI: Toolchain Error Messages

Errors 1600 to 1699
1610
white_space_required_after_macro_name
white space is required between the macro name "xxxx" and its
replacement text
1611
call_result_should_be_used
result of call is not used
1612
warn_unused_result_with_void_return
attribute is ignored for void return type
1613
attr_requires_ptr_to_func_type
attribute requires pointer-to-function type
1614
dll_interface_ignored_on_qualified_declaration
dllimport/dllexport is ignored on redeclaration using a qualified
name
1615
leading_character_ignored_in_char_literal
too many characters in character literal -- extra leading
characters ignored
1616
first_inline_after_definition
entity-kind "entity" cannot be declared inline after its
definition at line xxxx
1617
statement_expression_in_dependent_typeof
a statement expression is not allowed in a template-dependent
typeof specifier
1618
statement_expression_in_decltype
a statement expression is not allowed in a decltype specifier
1619
duplicate_function_modifier
duplicate function modifier
1620
no_char16_t_representation
invalid character for char16_t literal
1621
lprefix_and_uliteral
__LPREFIX cannot be applied to char16_t or char32_t literals
1622
cl_unrecognized_calling_convention
unrecognized calling convention xxxx, must be one of:
1632
assume_expression_discarded
__assume expression with side effects discarded
Green Hills Software
111

Chapter 1. C and C++ Compiler Error Messages
1633
gnu_attributes_ignored
attributes ignored here
1634
useless_type_qualifiers_in_type_name
type qualifiers are meaningless here
1642
no_floating_point_double_type
double precision floating point type has been disabled
1643
no_floating_point_double_const
double precision floating point constants have been disabled
1657
ghs_unable_to_create_pch
unable to create precompiled header file: xxxx
1658
ghs_pch_source_dir_mismatch
directory of source file not the same as when precompiled header
file "xxxx" was created
1695
ghs_trigraph_not_allowed
trigraphs not allowed
1696
ghs_register_not_allowed
register storage class not allowed
1697
ghs_va_list_not_allowed
variable argument list not allowed
1698
ghs_basic_type_not_allowed
basic types may not be used -- use typedef
1699
ghs_unspecified_char_not_allowed
char without signed or unsigned specifier not allowed
Errors 1700 to 1799
1700
ghs_inline_not_in_cpp
"xxxx" is not allowed in C++ -- use "inline"
1701
ghs_inline_not_allowed
"xxxx" is not allowed
112
MULTI: Toolchain Error Messages

Errors 1700 to 1799
1702
ghs_uminus_on_unsigned_expr_not_allowed
unary minus may not be applied to an unsigned expression
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1703
ghs_ptr_cast_not_allowed
cast from type "type" to type "type" not allowed
1704
ghs_exact_float_test_not_allowed
floating point variable may not be tested for exact equality or
inequality
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1705
ghs_goto_not_allowed
the goto statement is not allowed
1706
ghs_continue_not_allowed
the continue statement is not allowed
1707
ghs_break_only_in_switch
the break statement may only be used to terminate the case of a
switch statement
1708
ghs_label_not_allowed
label not allowed
1709
ghs_compound_statement_required
dependent statement in conditional or loop construct must be
enclosed in braces
1710
ghs_else_required
final else clause required for if, else if construct
1711
ghs_no_fall_thru_on_case
previous non-empty case clause must be terminated with a break
statement
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1712
ghs_default_required_for_switch
switch statement must contain a default case
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
Green Hills Software
113

Chapter 1. C and C++ Compiler Error Messages
1713
ghs_case_required_for_switch
switch statement must contain at least one case
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1714
ghs_callmode_and_nonfunction
call mode specifier allowed on function declarations only
1715
ghs_undef_not_allowed
#undef may not be used
1716
ghs_multiple_hash_ops_not_allowed
only one # or ## operator per macro allowed
1717
ghs_bitfield_signedness_is_unspecified
bit-fields should be explicitly "signed" or "unsigned"
1718
ghs_octal_constant_not_allowed
octal constant (other than zero) not allowed
1719
ghs_comma_outside_for_not_allowed
comma operator only allowed in the control expression of a for
loop
1720
ghs_wide_string_not_allowed
wide string literal not allowed
1721
ghs_id_shadow_not_allowed
identifier shadows entity-kind "entity" (declared at line xxxx)
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1722
ghs_typedef_reuse_not_allowed
identifier redefines typedef entity-kind "entity" (declared at
line xxxx)
1723
ghs_separate_name_spaces_not_allowed
identifier conflicts with entity-kind "entity" (declared at line
xxxx) in separate namespace
1724
ghs_short_circuit_side_effects_not_allowed
right hand operand of && or || operator may not contain side
effects
114
MULTI: Toolchain Error Messages

Errors 1700 to 1799
1725
ghs_sizeof_side_effects_not_allowed
side effects not allowed in operand of sizeof operator
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1726
ghs_enumeration_init_first_or_all_only
only the first or all members of an enumeration may be explicitly
initialized
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1727
ghs_bad_ids_for_func_params
identifiers must be given for all of the declared parameters
1728
ghs_empty_param_list_not_allowed
function with no parameters must be declared with parameter type
void
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1729
ghs_primary_exprs_in_logical_ops_required
operands of logical && or || must be primary expressions
1730
ghs_bitwise_op_on_signed_ints_not_allowed
bitwise operation may not be performed on signed integer types
1731
ghs_block_scope_func_decls_not_allowed
function must be declared at file scope
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1732
ghs_define_or_undef_in_block_not_allowed
#define and #undef may not be used within a block
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1733
ghs_boolean_switch_not_allowed
switch expression may not represent a boolean value
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1734
ghs_multiple_function_exits_not_allowed
function must have a single exit point
Green Hills Software
115

Chapter 1. C and C++ Compiler Error Messages
1735
ghs_unsigned_const_wrap_around_not_allowed
constant unsigned integer expression may not wrap around
1736
ghs_initializer_braces_required
initializer must use braces to match structure of object
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1737
ghs_op_precedence_dependence_not_allowed
expression may not depend on operator precedence rules
1738
ghs_assign_op_in_boolean_expr_not_allowed
assignment operator not allowed in boolean operation
1739
ghs_lossy_implicit_conversion_not_allowed
implicit conversion may result in loss of information when
converting from "type" to "type"
1740
ghs_redundant_explicit_cast_not_allowed
redundant explicit cast not allowed
1741
ghs_deep_pointer_indirection_not_allowed
no more than 2 levels of pointer indirection may be used
1742
ghs_anonymous_member_not_allowed
all members of structure or union must be named
1743
ghs_macro_parens_required
definition and each parameter of function-like macro must be
enclosed in parentheses
1744
ghs_long_long
the type "long long" is not supported for this configuration
1745
ghs_identical_param_ids_required
parameter identifiers in declaration different from prototype
entity-kind "entity" (declared at line xxxx)
1746
ghs_isolated_null_statements_required
null statement must occur on line by itself
1747
ghs_non_std_file_name_chars_not_allowed
non-standard character in header file name not allowed
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
116
MULTI: Toolchain Error Messages

Errors 1700 to 1799
1748
ghs_include_after_non_pp_token_not_allowed
#include statements may only be preceded by preprocessor
directives and comments
1749
ghs_dedicated_asm_procs_required
in-line assembly must be embedded in dedicated assembly
procedures only
1750
ghs_float_loop_counter_not_allowed
floating point expression not allowed in condition expression
of for loop
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1751
ghs_mixed_precision_arithmetic_not_allowed
mixed precision arithmetic must use explicit cast
1752
ghs_ptr_arith_not_allowed
pointer arithmetic not allowed
1753
fixedpt_to_fixedpt_conversion
fixed-point value does not fit in required fixed-point type
1754
fixedpt_to_float_conversion
fixed-point value does not fit in required floating-point type
1755
fixedpt_to_integer_conversion
fixed-point value does not fit in required integer type
1756
float_to_fixedpt_conversion
floating-point value does not fit in required fixed-point type
1757
integer_to_fixedpt_conversion
integer value does not fit in required fixed-point type
1758
unsupported_fixedpt
fixed-point type not supported by this target
1759
bad_fixedpt_value
fixed-point value out of range
1760
sat_not_first
__sat type specifier is not first
1761
missing_vector_underlying_type
__vector requires an underlying element type
Green Hills Software
117

Chapter 1. C and C++ Compiler Error Messages
1762
bad_vector_underlying_type
vector of "type" not allowed
1763
bad_vector_dimension
explicit dimension of vector of "type" is too large
1764
vector_subscript_out_of_range
vector subscript out of range
1766
bad_pragma_placement
badly placed #pragma: xxxx
1767
ghs_call_result_cast_to_void
result of call is not used (cast to void)
1768
ghs_unattributed_call_result_should_still_be_used
result of call is not used
1770
incorrect_pragma
incorrect #pragma: xxxx
1771
ghs_code_commented_out
possible occurrence of 'commented out' code
1772
ghs_identifier_truncated
identifier too long - truncated to xxxx significant characters
1773
noinline_not_allowed
"__noinline" is not allowed
1774
function_call_needs_parens
function address expression - function call without arguments
needs "()" as the parameter list
1775
numeric_constant_needs_suffix
numeric constant should be suffixed to indicate type
1776
macro_not_a_literal_specifier_or_function
macro definition can only be used for symbolic constants,
function-like macros, or type and storage class qualifiers
1777
non_constant_pointer_to_function
detected usage of a non-constant pointer to function
1778
function_pointer_prototype_mismatch
function pointer prototypes must be identical
118
MULTI: Toolchain Error Messages

Errors 1700 to 1799
1779
be_addr_of_pid_is_init_val
address of a position independent object cannot be an initial
value; detected inside the routine at the given position
1780
address_of_local_used_outside_scope
address of an automatic variable potentially used out of scope
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1781
cl_error_in_config
--config option error:
1782
be_safe_ansi_alias_pointer
a questionable cast has been found in a routine at the given
position - the ANSI aliasing rules are turned off for that
routine
1786
argument_not_u5bit_constant
argument must be an integer literal in range [0,64)
1787
argument_not_s5bit_constant
argument must be an integer literal in range [-32,32)
1788
intrinsic_call_no_decl
call to intrinsic function "xxxx" without a prior declaration
1789
bit_field_type_too_large
bit-field base type must not be larger than 32 bits
1790
be_loop_cannot_be_vectorized
failed to vectorize the loop: xxxx
1791
call_to_nonprototyped_vararg_func
call is made to a non-prototyped function, known to use variable
arguments: xxxx
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1792
bad_fixedpt_operation_result
fixed-point result out of range
1793
bad_dsp_c_operator
operator not allowed on type "type"
Green Hills Software
119

Chapter 1. C and C++ Compiler Error Messages
1794
bad_target_for_extension
extension cannot be used with this target configuration
1795
double_under_in_name
C++ symbols with the sequence `__' in their names might not be
debuggable
1796
section_incompatible
use of section "xxxx" not compatible with its other uses --
explicit section assignment ignored
1797
ghs_single_extern_def
external identifier shall have exactly one definition
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1798
ghs_safe_ansi_alias_pointer_warn_but_dont_degrade_optimizations
a questionable cast from type "type" to type "type" may indicate
illegal references
See diagnostics 1518 and 1519.
1799
noarg_c_function_needs_void
.function declared without a prototype - consider `void' for the
parameter list
Errors 1800 to 1899
1800
nonprototype_function_defined
function defined without a prototype
1801
bad_weak_string
unexpected character in weak identifier sequence
1803
builtin_va_list_not_supported
builtin va_list operators not supported
1804
questionable_conversion
implicit conversion from type "type" to type "type"
1805
pack_and_pad_nondefault
cannot have `#pragma pack' and `#pragma pad' active at the same
time
120
MULTI: Toolchain Error Messages

Errors 1800 to 1899
1806
pragma_align_lowers_alignment
`#pragma align' lowers the alignment below alignment specified
by type
1807
address_of_register
taking the address of a register is not allowed
1808
calling_convention_attribute_not_allowed
calling convention specification not allowed here
1809
conflicting_calling_convention
conflicting calling convention attribute
1810
no_packed_floating_point_types
packed floating point types not allowed
1811
bytereversed_int_or_short_only
byte ordering qualifiers only apply to pointer and integral types
larger than char, not "type"
1812
ghs_cast_away_string_literal_const
implicit const-cast of string literal
1813
argument_not_required_const_range
argument must be an integer literal in range xxxx
1814
argument_truncation_range
argument will be truncated to range xxxx
1815
dwarf1_multiple_text_sections
Dwarf 1 cannot represent functions that are defined in distinct
.text sections in the same compile unit
1816
ghs_extern_decl_not_in_header
external declaration should be in header file
1817
ghs_linkonce_and_nonfunction
linkonce specifier allowed on function declarations only
1818
ghs_fp_divide_by_zero
floating point division by zero
1819
ghs_bitfield_used_within_union
bit-fields within union probably used to access sub-parts of
larger data type
Green Hills Software
121

Chapter 1. C and C++ Compiler Error Messages
1820
ghs_floating_used_within_union
floating point types within union depend on underlying bit
representation
1821
ghs_unreachable_code_in_switch_not_allowed
unreachable code at top level of switch statement not allowed
1822
ghs_multicharacter_literal_used
value of multicharacter literal is implementation-defined
1823
ghs_multibyte_char_used
multibyte character detected
1824
ghs_array_size_required
incomplete array type with external linkage not allowed for
entity-kind "entity" (declared at line xxxx)
1825
ghs_comma_not_allowed
comma operator not allowed
1826
ghs_if_without_compound_statement
compound statement required for if construct
1827
ghs_union_not_allowed
union not allowed
1828
ghs_static_nonprototype_function_defined
static function defined without a prototype
1829
ghs_macro_parameter_parens_required
parameter of function-like macro must be enclosed in parentheses
1830
ghs_hash_ops_not_allowed
# or ## operator not allowed
1831
ghs_no_defined_during_preproc_expansion
token "defined" may not be generated during #if or #elif
expansion
1832
ghs_func_ptr_cast_not_allowed
conversion from type "type" to type "type" not allowed
1833
ghs_obj_ptr_cast_not_allowed
conversion from type "type" to type "type" not allowed
122
MULTI: Toolchain Error Messages

Errors 1800 to 1899
1834
ghs_ptr_int_cast_not_allowed
cast from type "type" to type "type" not allowed
1835
ghs_ptr_ptr_cast_not_allowed
cast from type "type" to type "type" not allowed
1836
ghs_qual_removing_ptr_cast_not_allowed
cast from type "type" to type "type" that removes underlying
const or volatile qualifier not allowed
1837
ghs_default_clause_must_be_final_clause
default clause must be final clause of switch statement
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1838
ghs_switch_label_must_be_at_top_level
case or default label not scoped in top level compound statement
of switch statement
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1839
ghs_macro_mixes_asm_and_c
entity-kind "entity" (declared at line xxxx) mixes in-line
assembly language and C/C++
1840
ghs_identifier_reuse_not_allowed
identifier reused from declaration of entity-kind "entity"
(declared at line xxxx)
1841
ghs_typedef_must_be_unique
typedef name conflict between entity-kind "entity" (declared at
line xxxx) and identifier
1842
ghs_tag_must_be_unique
tag name conflict between entity-kind "entity" (declared at line
xxxx) and identifier
1843
ghs_static_storage_id_reuse_not_allowed
static storage name conflict between entity-kind "entity"
(declared at line xxxx) and identifier
Green Hills Software
123

Chapter 1. C and C++ Compiler Error Messages
1844
ghs_identical_param_and_return_types_required
parameter or return type in declaration different from prototype
entity-kind "entity" (declared at line xxxx)
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1845
ghs_too_many_break_statements
multiple break statements per iteration statement not allowed
1846
ghs_definition_in_header_file
object or function defined in header file
1847
ghs_complex_integer_cast_not_allowed
cast of complex integer expression with underlying type "type"
to non-integer type "type" not allowed
1848
ghs_complex_float_cast_not_allowed
cast of complex floating point expression from type "type" to
type "type" not allowed
1849
ghs_bitwise_expr_needs_cast
bitwise ~ or << expression must be immediately cast back to
underlying type, "type"
1850
ghs_plain_char_for_char_values_only
plain char type can only be used for storage of character values
1851
ghs_non_plain_char_for_numeric_values_only
signed or unsigned char type can only be used for storage of
numeric values
1852
ghs_plain_char_operand_not_allowed
only assignment and equality operators may be used on plain char
operand
1853
ghs_boolean_expr_required
effectively boolean expression required
1854
ghs_boolean_expr_not_allowed
effectively boolean expression not allowed
1855
ghs_explicit_test_required
explicit test against zero required
1856
ghs_inc_or_dec_result_used
result of increment or decrement expression may not be used
124
MULTI: Toolchain Error Messages

Errors 1800 to 1899
1857
ghs_boolean_op_is_invariant
result of boolean operation is invariant
1858
ghs_subscript_on_array_type_only
subscript operator may only be applied to objects declared as
an array type
1859
ghs_macro_misuse_not_allowed
macro definition can only be used for a braced initializer,
constant, parenthesized expression, type qualifier, storage class
specifier, or do-while-zero construct
1860
ghs_macros_must_balance_brackets
macro definition must balance all braces, parentheses, and
brackets
1861
ghs_reserved_name_redef_or_undef
reserved identifier, macro, or function name "xxxx" cannot be
defined, redefined, or undefined
1862
ghs_function_like_macro_not_allowed
function-like macro not allowed -- use function instead
1863
ghs_non_integer_implicit_conversion_not_allowed
implicit conversion from underlying type, "type", to non-integer
underlying type, "type", not allowed
1864
ghs_narrowing_implicit_conversion_not_allowed
implicit conversion from underlying type, "type", to narrower
underlying type, "type", not allowed
1865
ghs_same_width_implicit_conversion_not_allowed
implicit conversion from underlying type, "type", to same width
underlying type, "type", not allowed
1866
ghs_signedness_changing_implicit_conversion_not_allowed
implicit conversion from underlying type, "type", to underlying
type, "type", changes signedness
1867
ghs_complex_implicit_conversion_not_allowed
implicit conversion of complex expression from underlying type,
"type", to underlying type, "type", not allowed
1868
ghs_arg_implicit_conversion_not_allowed
implicit conversion of non-constant function argument from
underlying type, "type", to underlying type, "type", not allowed
Green Hills Software
125

Chapter 1. C and C++ Compiler Error Messages
1869
ghs_ret_implicit_conversion_not_allowed
implicit conversion of non-constant return expression from
underlying type, "type", to underlying type, "type", not allowed
1870
ghs_boolean_implicit_conversion_not_allowed
implicit conversion of boolean expression from underlying type,
"type", to underlying type, "type", not allowed
1871
ghs_non_float_implicit_float_conversion_not_allowed
implicit conversion from floating type, "type", to non-floating
type, "type", not allowed
1872
ghs_narrowing_implicit_float_conversion_not_allowed
implicit conversion from floating type, "type", to narrower type,
"type", not allowed
1873
ghs_complex_implicit_float_conversion_not_allowed
implicit conversion of complex floating point expression from
type, "type", to type, "type", not allowed
1874
ghs_arg_implicit_float_conversion_not_allowed
implicit conversion of function argument from floating type,
"type", to type, "type", not allowed
1875
ghs_ret_implicit_float_conversion_not_allowed
implicit conversion of return expression from floating type,
"type", to type, "type", not allowed
1876
ghs_end_of_line_comment_not_allowed
// style comment not allowed
1877
ghs_null_ptr_cast_not_allowed
cast of 0 from type "type" to type "type" not allowed
1878
ghs_widening_complex_integer_cast_not_allowed
cast of complex integer expression with underlying type "type"
to wider type "type" not allowed
1879
ghs_same_width_complex_integer_cast_not_allowed
cast of complex integer expression with underlying type "type"
to same width type "type" not allowed
1880
ghs_signedness_changing_complex_integer_cast_not_allowed
cast of complex integer expression with underlying type "type"
to type "type" changes signedness
126
MULTI: Toolchain Error Messages

Errors 1800 to 1899
1881
ghs_explicit_test_of_constant_required
explicit test of constant against zero required
1882
ghs_header_needs_include_guard
header file needs guard to prevent multiple inclusion
1883
ghs_call_of_virtual_in_ctor_or_dtor
call of virtual function inside constructor or destructor when
extract vptrs is used
1884
ghs_break_required
previous non-empty case clause doesn't fall through but must be
terminated with a break statement
1885
ghs_underscore_name_redef_or_undef
reserved identifier, macro, or function name "xxxx" beginning
with an underscore cannot be defined, redefined, or undefined
1886
ghs_cmd_line_macro_misuse_not_allowed
command-line macro definition can only be used for a braced
initializer, constant, parenthesized expression, type qualifier,
storage class specifier, or do-while-zero construct
1887
ghs_tda_disabled
TDA is disabled for this configuration
1888
ghs_keyword_def_or_undef
#define or #undef of keyword "xxxx"
1889
ghs_bad_alignfunc_alignment
invalid alignfunc value
1890
ghs_init_but_not_modified
initialized non-const entity-kind "entity" was used but never
modified
1891
ghs_invalid_section_renaming_option
invalid section renaming option:
1892
ghs_bitwise_with_comparison
comparison operator has higher precedence than bitwise operator;
parentheses recommended
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
Green Hills Software
127

Chapter 1. C and C++ Compiler Error Messages
1893
ghs_wrong_constructor_init_order
entity-kind "entity" will be initialized before the previous
constructor initializer, entity-kind "entity"
1894
ghs_prototype_restrict_qualifiers_differ
"restrict" qualifier in declaration different from prototype
entity-kind "entity" (declared at line xxxx)
1895
ghs_bool_to_pointer_conversion
implicit conversion from bool to pointer type
1896
ghs_reserved_tracereg_use
use of reserved trace register
1897
ghs_invalid_dc_pragma
incorrect #pragma double_check xxxx
1898
ghs_if_statement_no_effect
if statement does not affect control flow
1899
ghs_gets_unsafe
use of gets is unsafe; use fgets instead
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
Errors 1900 to 1999
1900
ghs_scanf_unsafe
use of %s in scanf is unsafe; specify a maximum field width
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1901
ghs_assign_const_addr_to_bool
assignment of constant address to bool
1902
ghs_defined_needs_identifier
defined must be followed by an identifier
1903
ghs_cannot_be_used_as_macro
"xxxx" cannot be used as a macro
128
MULTI: Toolchain Error Messages

Errors 1900 to 1999
1904
ghs_sizeof_array_parameter
sizeof pointer parameter yields size of pointer-to-type where
size of array-of-type may have been intended
1905
ghs_bitwise_with_shift
shift operator has higher precedence than bitwise operator;
parentheses suggested
1906
ghs_call_setjmp_or_longjmp
call to setjmp() and longjmp() is not allowed
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1907
ghs_call_atof_atoi_atol
call to atof(), atoi(), and atol() is not allowed -- use strtof()
or strtol() instead
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1908
ghs_string_initializer_truncated
initialization of array of type "type" discards terminating null
character
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1909
ghs_comma_only_in_1st_or_3rd_of_for_loop
comma operator only allowed in the first or third expression of
a for loop
1910
ghs_part_of_expr_has_no_effect
part of expression has no effect
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1911
ghs_invalid_bit_field_initializer
this expression cannot be used as the initializer for a bit field
1912
ghs_global_reg_must_have_scalar_type
global register variable must have integral or pointer type
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
Green Hills Software
129

Chapter 1. C and C++ Compiler Error Messages
1913
ghs_register_variable_too_wide
variable's type is too wide for a single machine register
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1914
ghs_bool_bitfield_remark
declared size for boolean bit-field is greater than 1
1915
ghs_cast_involves_incomplete_class_pointer
cast involving pointer to incomplete class type "type" will not
adjust for inheritance
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1916
ghs_alignof_bitfield
__alignof__ operator cannot be applied to a bit-field
1917
ghs_zero_size_ptrdiff
subtraction of pointers to zero-sized type "type"
1918
ghs_too_many_variables
out of resources while compiling function "xxxx" (internal
variable limit exceeded)
The compiler limits the number of variables you can have per function to 65536, which
is what causes this error. This limit includes both explicitly declared variables and
internal variables the compiler produces. There is no way to increase this limit. One
common cause of this error is run-time error checking, which instruments the C code
and creates many internal variables. You might want to work around the limitation
by selectively disabling run-time error checks.
1922
ghs_string_literal_comparison
comparison with string literal has unspecified result
1923
ghs_unusual_pointer_literal_comparison
unusual comparison of non-integer literal to pointer
1924
ghs_unusual_pointer_literal_assignment
unusual assignment of non-integer literal to pointer
1925
ghs_ufd_type_requires_constructor
type "type" must define a default constructor to initialize its
members lacking default constructors
1926
ghs_ufd_uninitialized_fields
entity-kind "entity" does not initialize the following fields:
130
MULTI: Toolchain Error Messages

Errors 1900 to 1999
1927
ghs_ufd_arg_is_not_modifiable_pointer
initialized argument must be a pointer or reference to non-const
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1928
ghs_ufd_arg_does_not_exist
argument index is greater than number of parameters
1929
ghs_plain_bitfield_may_overflow
bit-field of same width as underlying type should be explicitly
"signed" or "unsigned"
1930
ghs_cannot_override_final_member_function
member entity-kind "entity" is marked "final" and cannot be
overridden
1931
ghs_sizeof_complicated_expression
operand of sizeof is not a type, variable, or dereferenced
pointer expression
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1932
ghs_variable_format_string
format string parameter is not a compile-time constant
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1933
ghs_va_list_passed_to_ellipsis
"va_list" passed through ellipsis
1934
ghs_struct_passed_to_ellipsis
aggregate type passed through ellipsis
Green Hills Software
131

Chapter 1. C and C++ Compiler Error Messages
1935
ghs_constructor_should_be_explicit
one-argument constructor should be declared "explicit"
This remark is issued whenever you declare a one-argument constructor without the
explicit keyword. A non-explicit constructor participates in implicit type
conversions. For example:
struct Integer {
int value;
Integer(int v): value(v) {}
};
void foo(const Integer &i);
int main() { foo(0); } //Implicit conversion to Integer
This program compiles because 0 may be implicitly converted to Integer via the
non-explicit constructor. By adding the explicit keyword, you prevent such
conversions; to pass 0 to foo(), you would have to write:
struct Integer {
int value;
explicit Integer(int v): value(v) {}
};
void foo(const Integer &i);
int main() { foo(Integer(0)); }
1936
ghs_comparison_of_comparison
comparison of comparison where two comparison expressions may
have been intended
1937
ghs_dubious_comparison_of_bool
possibly unintentional comparison of bool to non-bool
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1938
ghs_bytereversed_bitfield
byte ordering qualifiers do not apply to bit-fields
1939
ghs_bytereversed_parameter
byte ordering qualifiers do not apply to parameters
1940
ghs_bytereversed_initializer
byte-reversed objects cannot be statically initialized
1941
restrict_qualifier_ignored
restrict qualifier is ignored
132
MULTI: Toolchain Error Messages

Errors 1900 to 1999
1942
ghs_attribute_requires_typedef
attribute "xxxx" may only be applied to a typedef
1943
ghs_strong_typedef_forbids_implicit_conversion
strong typedef rules forbid implicit conversion from type "type"
to type "type"
1944
ghs_two_cases_required_for_switch
switch statement must contain at least two cases
1945
ghs_attribute_ignored_in_this_context
the "xxxx" attribute is ignored in this context
1946
ghs_obsolete_attribute_syntax
type attributes should follow the class/struct/union/enum
keyword, not the closing brace
1947
ghs_field_not_at_requested_offset
struct field is being placed at offset xxxx instead of requested
offset
This error is issued in connection with the at attribute.
1948
ghs_address_of_member_function_with_calling_convention
a member function with a non-default calling convention may not
have its address taken
1949
ghs_placement_array_new
placement new[] may invoke undefined behavior and should not be
used
1950
ghs_multiple_definitions_of_symbol
multiple definitions of symbol "xxxx"
1951
ghs_virtual_function_without_virtual_keyword
virtual entity-kind "entity" should be declared "virtual"
1952
ghs_addition_inside_shift
+ or - operator has higher precedence than shift operator;
parentheses recommended
1953
ghs_string_concatenation
adjacent string literals will be concatenated
1954
ghs_strncmp_argument_mismatch
third argument to strncmp does not match the length of the string
literal argument
Green Hills Software
133

Chapter 1. C and C++ Compiler Error Messages
1955
ghs_memset_length_is_zero
third argument to memset is zero; second and third arguments may
have been swapped accidentally
1956
ghs_length_is_not_multiple_of_target_size
sizeof argument xxxx to xxxx does not divide value of argument
xxxx
1957
ghs_malloc_of_strlen
strlen used in memory allocation; strlen+1 was probably intended
1958
ghs_dubious_boolean_expression
implausible operator at top level of boolean expression
1959
ghs_uninitialized_local_variable
local entity-kind "entity" not initialized
1960
ghs_dubious_pair_of_comparisons
apparently redundant comparisons may indicate a mistake
1961
ghs_relational_comparison_to_null
pointer comparison to NULL depends on implementation-defined
pointer signedness
1962
ghs_nonstd_case_range
case range syntax is non-standard
1963
ghs_right_brace_after_label
label not followed by statement is non-standard
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1964
ghs_cl_coding_standard_file_not_found
cannot open coding standard file
1965
ghs_cl_coding_standard_file_error
error in coding standard file:
1966
ghs_cl_tag_not_recognized
unused coding standard tag or malformed error number
134
MULTI: Toolchain Error Messages

Errors 1900 to 1999
1967
ghs_dangerous_trigraph
trigraph in source code has possibly unintended effect on
semantics
GHS Standard Mode enables this diagnostic. For more information about GHS Standard
Mode, see the MULTI: Building Applications book.
1968
ghs_uninitialized_local_struct_variable
local struct/union entity-kind "entity" not initialized
1969
ghs_lint_columns_dont_match
statement begins in column different from first statement in its
block
1970
ghs_callt_not_supported
call tabled functions not supported in this compiler
1971
ghs_callt_interrupt_not_supported
call tabled interrupt functions are not supported
1972
ghs_multiple_noninterface_base_class
base specifier list contains more than one "non-interface" class
Java and some other object-oriented languages support multiple inheritance of
“interfaces”, but only single inheritance of “implementation”. In C++ terms, an
“interface” is a class that contains only pure virtual member functions and static
member data (in other words, it does not contain code or non-static data members).
This diagnostic is given whenever a class specifies two or more “non-interface” classes
in its list of base classes.
1973
ghs_packed_qualifier_dropped
conversion drops "__packed" qualifier
1974
ghs_overloaded_and_or_comma
overloading the &&, ||, or comma operators is dangerous
1975
ghs_dyn_initializer
dynamic initialization causes code to be executed before main()
1976
ghs_long_constant_needs_suffix
"long" or "long long" constant should be suffixed to indicate
type
1977
ghs_strong_fptr_forbids_explicit_conversion
strong fptr rules forbid explicit conversion from type "type"
to type "type"
Green Hills Software
135

Chapter 1. C and C++ Compiler Error Messages
1978
ghs_strong_fptr_forbids_implicit_conversion
strong fptr rules forbid implicit conversion from type "type"
to type "type"
1979
ghs_strong_fptr_forbids_union
strong fptr rules prohibit type "type" from being a member of a
union
1980
ghs_not_enough_initializers
not enough initializers; trailing elements will be
default-initialized
1981
ghs_empty_initializer_is_nonstandard
empty initializer is non-standard
1982
ghs_insufficient_stack_alignment
target stack alignment is insufficient to guarantee alignment
of entity-kind "entity"
1983
ghs_char_escape_backslash_e
character escape sequence "\e" is non-standard
1984
ghs_char_escape_octal
octal character escape sequences are not allowed
1985
ghs_char_escape_hexadecimal
hexadecimal character escape sequences are not allowed
1986
ghs_misra_shift_count_too_large
shift count is too large for underlying type "type"
1987
ghs_bad_ptr_ref_argument
argument of type "type" is incompatible with ptr_ref parameter
1988
ghs_fmt_arg_has_incorrect_type
format argument has incorrect type "type"
1989
ghs_mismatched_memcpy_sizes
arguments xxxx and xxxx to xxxx have pointer types whose targets
differ in size
1990
ghs_memcpy_size_has_no_sizeof
argument xxxx to xxxx must be of the form n*sizeof(a)
136
MULTI: Toolchain Error Messages

Errors 2000 to 2099
1991
ghs_length_uses_wrong_sizeof
argument xxxx to xxxx has a type inconsistent with the
sizeof-expression in argument xxxx
1996
ghs_linkonce_cannot_be_inline
a __linkonce function cannot be inline
1997
ghs_linkonce_cannot_be_static
a __linkonce function cannot be static
1999
ghs_misra_recursion
function "xxxx" contains possible recursion
Errors 2000 to 2099
2000
ghs_attribute_not_implemented
attribute "xxxx" is not implemented and will be ignored
2001
ghs_function_like_macro_invocation_not_allowed
invocation of function-like macro not allowed
2002
ghs_character_greater_than_127
character greater than 127 not allowed
2003
ghs_pointer_to_larger_alignment
alignment of type pointed to by "type" is smaller than the one
pointed to by "type", which may lead to a misaligned memory
access
2004
ghs_signed_unsigned_promotion
operation promotes signed type "type" to unsigned type "type",
which may lead to unintended results
2005
ghs_whitespace_after_backslash_not_recommended
line splicing inhibited by whitespace after backslash
2006
ghs_sideeffect_missing_volatile
__[no]sideeffect must be preceded by volatile, otherwise it is
ignored
2007
ghs_eagle_tag_bad_usage
'__ghs_eagle_tag' may only be used as a simple assignment inside
of 'if' statement conditional; 'if' statement may not have 'else'
Green Hills Software
137

Chapter 1. C and C++ Compiler Error Messages
2008
ghs_no_var_init
potentially unintended initializer with no named variable
2009
ghs_sideeffect_nosideeffect_mix
mixing __sideeffect and __nosidefffect qualifiers not allowed
2010
ghs_strong_fptr_non_fptr_typedef
'strong_fptr' attribute invalid for non-function pointer typedef
2011
ghs_strong_fptr_unnamed_struct
'strong_fptr' attribute invalid for unnamed struct/class
2012
ghs_nonstd_static_assert
Use of static assertions is nonstandard
2013
ghs_future_library_name_redef_or_undef
identifier "xxxx" reserved for future library use cannot be
defined, redefined, or undefined
2014
ghs_expression_in_dependent_typeof
an expression is not allowed in a template-dependent typeof
specifier
2015
ghs_strong_fptr_with_struct_member_no_sfptr
type "type" has non-strong function pointers -- it cannot be a
member or base class of strong_fptr type "type"
2016
ghs_sideeffect_qualifier_on_automatic_var
non-static local variable may not be qualified by, or contain
field qualified by, '__sideeffect'
2017
ghs_unsequenced_assignments
detected potentially undefined behavior resulting from multiple
unsequenced assignments to a stored value
2018
ghs_unsequenced_assignment_and_use
detected potentially undefined behavior resulting from an
unsequenced read of, and assignment to, a stored value
2019
ghs_uninitialized_local_array_variable
local array entity-kind "entity" not initialized
2020
ghs_packing_of_non_POD
packing ignored on non-POD type "type"
138
MULTI: Toolchain Error Messages

Errors 2900 to 2999
2021
ghs_not_inlining_inline_func
not inlining call of inline function "xxxx" because xxxx
2022
ghs_not_inlining_always_inline_func
not inlining call of always_inline function "xxxx" because xxxx
2023
ghs_inlining_non_inline_func
inlining call of function "xxxx" even though it is not declared
as inline
2024
ghs_optimization_attribute_conflict
conflicting optimization strategy attribute
2027
ghs_split_section_exists_as_user_section
section "xxxx" already exists as a user-defined section, not
being used as individual section
2028
ghs_user_section_exists_as_split_section
user defined section "xxxx" was used as an individual section,
potentially undefined behavior
2029
ghs_identifier_on_blacklist
identifier "xxxx" is on blacklist
Errors 2900 to 2999
2907
range_based_for_missing_function
to be used with range-based "for" statements, type "type" must
provide function "xxxx"
2908
missing_notequal_on_range_based_for_type
the iterator type in this range-based "for" statement is "type",
which is not a pointer type or an iterator-like class type
2909
missing_incr_on_range_based_for_type
the iterator type in this range-based "for" statement is "type",
which is not a pointer type or an iterator-like class type
2910
missing_indirect_on_range_based_for_type
the iterator type in this range-based "for" statement is "type",
which is not a pointer type or an iterator-like class type
Green Hills Software
139

Chapter 1. C and C++ Compiler Error Messages
2911
range_based_for_incomplete_array_type
a range-based "for" statement cannot operate on an array of
unknown size or incomplete type "type"
2912
begin_end_type_mismatch_in_range_based_for
return types for "begin" and "end" functions used in a
range-based "for" statement must be the same ("begin" return
type is "type", "end" return type is "type")
2914
range_based_for_no_matching_overload
in this range-based "for" statement, no instance of "entity"
matches the argument list
2915
range_based_for_undefined_identifier
this range-based "for" statement requires a suitable "xxxx"
function and none was found
140
MULTI: Toolchain Error Messages

Chapter 2
Linker Error Messages
Contents
Linker Error Message Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142

Chapter 2. Linker Error Messages
This chapter lists error messages that you may encounter when linking code, listed
by error number.
Linker Error Message Codes
The following list contains all the linker error messages:
Errors 1 to 99
1
Fatal Error
expected -Cname=value
Option -Cname is not followed by expected syntax of equal sign and constant.
2
Fatal Error
expected '{' for memory map
MEMORY directive not followed by bracket. See syntax for MEMORY directive in
“Defining a Memory Map with the MEMORY Directive” in the chapter “The elxr
Linker” in MULTI: Building Applications.
3
Fatal Error
expected ORIGIN in memory declaration for xxxx
In MEMORY directive, block declaration not followed by ORIGIN. See syntax for MEMORY
directive in “Defining a Memory Map with the MEMORY Directive” in the chapter
“The elxr Linker” in MULTI: Building Applications.
4
Fatal Error
negative LENGTH in memory declaration
In MEMORY directive, block declared with LENGTH less than zero. Memory block length
must be non-negative integer.
5
Fatal Error
expected LENGTH in memory declaration for xxxx
In MEMORY directive, block declaration not followed by LENGTH. See syntax for MEMORY
directive in “Defining a Memory Map with the MEMORY Directive” in the chapter
“The elxr Linker” in MULTI: Building Applications.
142
MULTI: Toolchain Error Messages

Errors 1 to 99
6
Fatal Error
expected '{' for constant list
DEFAULTS or CONSTANTS directive not followed by open bracket. See syntax for
DEFAULTS directive in “Setting Defaults with the DEFAULTS Directive” in the chapter
“The elxr Linker” in MULTI: Building Applications.
7
Fatal Error
don't know how to evaluate xxxx(…) as a constant
Expected expression that evaluates to a constant, either a number, a previously defined
constant symbol, or some arithmetic combination of those.
8
Fatal Error
don't know how to evaluate xxxx as a constant
Expected expression that evaluates to a constant, either a number, a previously defined
constant symbol, or some arithmetic combination of those.
Example:
DEFAULTS {
foo = 0x2000
// Correct
bar = foo + 0x2000
// Correct
baz = nonsense
// Error, don't know how to evaluate
// nonsense as a constant
}
9
Fatal Error
section contents may not be specified with -default_section
Option -default_section declares section contents.
Example:
-default_section ".text=.mytext : { *(.text2) }"
Correct:
-default_section .text=.mytext
10
Fatal Error
expected -argcheck=none|normal|full
Option -argcheck given parameter other than nonenormal, or full.
Green Hills Software
143

Chapter 2. Linker Error Messages
11
Fatal Error
section xxxx multiply defined in section map
Section declared more than once in SECTIONS directive.
Example:
SECTIONS {
.mytext : > .
.mytext :
}
12
Fatal Error
expected -ccvcheck=none|partial|full
Option -ccvcheck given parameter other than nonepartial, or full.
13
Fatal Error
expected OPTION("-option")
OPTION directive did not contain string expression.
Example:
OPTION(-append)
Correct:
OPTION("-append")
14
Fatal Error
expected -Y U|L|UL,dir
Option -Y not followed by UL, or UL.
15
Fatal Error
CROM sections are not supported with -a or -r
CROM section attribute used with relocatable object link.
Solution: Use CROM in final, absolute link stage or use uncompressed ROM.
16
Fatal Error
cannot find file xxxx
An option refers to a specific file which does not exist.
Example:
ccppc -exportall=dummy.o hello.c
Solution: Make sure the file exists or remove the option referring to it.
144
MULTI: Toolchain Error Messages

Errors 1 to 99
17
Fatal Error
No files to link. Use -help for help
Linker has been invoked without specifying any modules to link on the command line.
Provide valid object files to link into an executable.
18
Fatal Error
Section xxxx cannot have additional contents because it is
already ROMming section xxxx
A section with the ROM directive may not also be declared with other section contents.
Example:
SECTIONS {
.text
: > .
.ROM.text ROM(.text) : { *(.text2) } > .
}
Correct:
.ROM.text ROM(.text) : > .
19
Fatal Error
In section map, expected: *(section) or file(section) or
library(file)(section) or library(*)(section) instead of 'xxxx',
or missing ';' after expression
Unrecognized section contents specified in SECTIONS directive.
Example:
SECTIONS { .text : { .text2 } > . }
Correct:
SECTIONS { .text : { *(.text2) } > . }
See section inclusion commands syntax in “Writing Section Inclusion Commands”
in the chapter “The elxr Linker” in MULTI: Building Applications.
Green Hills Software
145

Chapter 2. Linker Error Messages
20
Fatal Error
expected section name instead of 'xxxx'
SECTIONS directive contains entry that is not a valid section name.
Example:
SECTIONS { * : > . }
Correct:
SECTIONS { .text : > . }
See syntax for SECTIONS directive in “Defining a Section Map with the SECTIONS
Directive” in the chapter “The elxr Linker” in MULTI: Building Applications.
21
Fatal Error
cannot find library xxxx
Specified library does not exist in the library directories provided.
Example:
ccppc -ldummy hello.c
Solution: Make sure library exists, add the directory to find it with -L, or remove the
library from build if unnecessary.
22
Fatal Error
-shared_lib and -use_shared_libs are mutually exclusive
The -shared_lib and -use_shared_libs options cannot both be used. Choose one or
the other.
23
Fatal Error
Multiple ROM directives for section xxxx
More than one ROM directive specified for a single section.
Example:
SECTIONS { .ROM.text ROM(.text) ROM(.data) : > . }
Correct:
SECTIONS { .ROM.text ROM(.text) : > . }
146
MULTI: Toolchain Error Messages

Errors 1 to 99
24
Fatal Error
section xxxx already has a start directive
BIND directive encountered in SECTION map entry that already has a
start_expression. This counts as a start_expression, and each section may
only have one. See syntax for SECTIONS directive in “Defining a Section Map with
the SECTIONS Directive” in the chapter “The elxr Linker” in MULTI: Building
Applications
.
Example:
SECTIONS { .text BIND(0x1000) BIND(0x2000) : }
Correct:
SECTIONS { .text BIND(0x1000) : }
25
Fatal Error
expected -Dsymbol=value
Option -Dsymbol is not followed by expected syntax of equal sign and constant.
26
Fatal Error
expected -default_section leader=follower
Option -default_section is not provided an argument in the form of
.section1=.section2.
Example:
ccppc hello.c -lnk="-default_section .text"
Correct:
ccppc hello.c -lnk="-default_section .text=.text2"
27
Fatal Error
expected -debug_section section=data
Incorrect syntax for option -debug_section, which requires argument in the form
section=data.
28
Fatal Error
expected '}' for section map
Link map has a SECTIONS directive with an open bracket and no matching close
bracket.
Green Hills Software
147

Chapter 2. Linker Error Messages
29
Non-Fatal Error
GNU linkmap output filename not specified
-gnu_linkmap option used without specifying the name of the file to output.
Example:
ccppc hello.c -lnk=-gnu_linkmap
Correct:
ccppc hello.c -lnk=-gnu_linkmap=out.ld
30
Fatal Error
.section xxxx references unknown memory block xxxx
In SECTIONS directive, a section is assigned to a block that has not been declared with
a MEMORY directive.
Example:
SECTIONS { .text : > block_unknown }
Correct:
MEMORY { block_known : ORIGIN = 0x1000, LENGTH = 0x1000 }
SECTIONS { .text : > block_known }
31
Fatal Error
section declared more than once with -default_section
The same section is defined with two different -default_section options.
Example:
ccppc hello.c -lnk="-default_section .text=.text2" \
-lnk="-default_section .rodata=.text2"
Correct:
ccppc hello.c -lnk="-default_section .text=.text2"
148
MULTI: Toolchain Error Messages

Errors 1 to 99
32
Fatal Error
expected -follow_section leader=follower
Option -follow_section is not provided a parameter in the form of .section1=.section2.
Example:
ccppc hello.c -lnk="-follow_section .text"
Correct:
ccppc hello.c -lnk="-follow_section .text=.text2"
33
Fatal Error
expected '{' for section map
SECTIONS directive is not immediately followed by an open bracket. See syntax for
SECTIONS directive in “Defining a Section Map with the SECTIONS Directive” in
the chapter “The elxr Linker” in MULTI: Building Applications.
34
Fatal Error
unknown directive xxxx for section xxxx (perhaps a second <start>
directive?)
In SECTIONS directive, a section is declared with an expression that is not recognized
as a valid section attribute and cannot be the start_expression, since the section
already has a start_expression. See syntax for SECTIONS directive in “Defining
a Section Map with the SECTIONS Directive” in the chapter “The elxr Linker” in
MULTI: Building Applications.
Example:
SECTIONS { .text 0x1000 NONSENSE ALIGN(8) : }
Correct:
SECTIONS { .text 0x1000 ALIGN(8) : }
35
Fatal Error
expected ':' in the section map
In SECTIONS directive, a section name is not followed by a colon. See syntax for
SECTIONS directive in “Defining a Section Map with the SECTIONS Directive” in
the chapter “The elxr Linker” in MULTI: Building Applications.
Green Hills Software
149

Chapter 2. Linker Error Messages
36
Fatal Error
already have a load address for xxxx
Multiple LOAD or AT directives declared for the same section.
Example:
SECTIONS { .text LOAD(0x1000) LOAD(0x2000) : }
Correct:
SECTIONS { .text LOAD(0x1000) : }
37
Fatal Error
argument too long
An option was provided an argument billions of characters long.
38
Fatal Error
expected -symbol_override oldsym=newsym
Incorrect syntax for option -symbol_override, which requires argument in the form
symbol=symbol.
39
Fatal Error
expected -Qy or -Qn
Option -Q followed by something other than the character or n.
40
Fatal Error
xxxx is an invalid diagnostic number
-elxr_diag_(suppress|error|warning) option provided with an argument that does
not correspond to a valid diagnostic number.
Example:
ccppc hello.c -lnk="-elxr_diag_warning -1"
41
Fatal Error
diagnostic #xxxx cannot be suppressed
Attempt to use -elxr_diag_suppress on a fatal error number.
42
Fatal Error
diagnostic #xxxx cannot be demoted to a warning
Attempt to use -elxr_diag_warning on a fatal error number.
150
MULTI: Toolchain Error Messages

Errors 1 to 99
43
Fatal Error
could not access file: xxxx
.raw file specified with -rawimport option cannot be opened for reading.
44
Fatal Error
While allocating commons: unknown common symbol xxxx from module
xxxx for section ####
A variable using the --commons syntax could not be mapped to a suitable section.
45
Fatal Error
malformed .ghs.linkonce section name "xxxx"
A linkonce section name is not in the form: .ghs.linkonce.NUMBER.SECTION
Example invalid symbol name: .ghs.linkonce.text or .ghs.linkonce.1
Example correct symbol name: .ghs.linkonce.1.text
47
Fatal Error
module xxxx differs in machine type or endianness
Attempting to link together incompatible modules, compiled with different endianness
modes or for completely different architectures.
48
Fatal Error
write failed
The linker was not allowed by the host operating system to finish writing data to an
output file. Possibly the disk is full.
49
Fatal Error
unknown internal relocation: ####
A module contains an unrecognized relocation code in a special reserved range.
50
Fatal Error
Couldn't ROM xxxx to xxxx because section "xxxx" does not exist
The ROM directive is used to declare a section as the ROM copy of a section that
does not exist.
Example:
SECTIONS { .ROM.text ROM(.unknown) : }
Correct:
SECTIONS { .ROM.text ROM(.text) : }
Green Hills Software
151

Chapter 2. Linker Error Messages
51
Fatal Error
[InMem TimeMachine] (error) Unable to locate a .inmemtm-like
section during a kernel link
The option -inmemtm is used to link the INTEGRITY kernel but the link map does
not define any *.inmemtm sections.
52
Fatal Error
.couldn't open file xxxx Maybe another process has xxxx this
file?
An object file being linked could not be opened for reading by the host operating
system.
53
Fatal Error
different machine flags in module xxxx: #### vs #### in other
modules (machine = ####)
Two modules being linked together have different and incompatible ELF flags,
suggesting they were not compiled for the same processor type.
54
Fatal Error
Couldn't CROM xxxx to xxxx because section "xxxx" does not exist
The CROM directive is used to declare a section as the compressed ROM copy of a
section that does not exist.
Example:
SECTIONS { .ROM.text CROM(.unknown) : }
Correct:
SECTIONS { .ROM.text CROM(.text) : }
55
Fatal Error
can't have an 8-bit branch displacement of #### xxxx
57
Fatal Error
module xxxx was compiled with registermode=32 but previous
modules were compiled with registermode=22
RH850 specific. A module compiled with -registermode=22 is being linked with a
module compiled with the incompatible -registermode=32 option.
152
MULTI: Toolchain Error Messages

Errors 1 to 99
59
Fatal Error
.ghstraceedge section must be in 16-bit address range for ZDA
mode
PowerPC specific. *.ghstraceedge section is located too far from address 0.
60
Fatal Error
bad character in literal: 'xxxx' in 'xxxx'
An option was expecting an integer value and got something else.
Example:
ccppc hello.c -lnk=-Cdummy=notanumber
Correct:
ccppc hello.c -lnk=-Cdummy=152
61
Fatal Error
can't link xxxx module 'xxxx' to xxxx module 'xxxx' (incompatible
machine flags #### vs ####)
Two modules being linked together have different and incompatible ELF flags,
suggesting they were not compiled for the same processor type.
62
Fatal Error
Division by zero in relocation stack xxxx
A complex relocation expression is attempting to divide by a relocation that evaluates
to a value of zero.
63
Fatal Error
missing a vital dynamic section in xxxx
An INTEGRITY shared library object does not contain expected .dynamic or
.dynsym sections.
64
Fatal Error
-map_file and -prof_file are required with -profile. Use -help
for help
The -cfprofile option is used but the corresponding -cfmap_file and
-cfprof_file options have not been used to specify input files with profiling data.
Green Hills Software
153

Chapter 2. Linker Error Messages
65
Fatal Error
.cannot merge symbol with incompatible special common types:
xxxx
A COMMON symbol appears in two different modules with incompatible declarations
such that they each belong in different section types.
66
Fatal Error
cannot open directive file 'xxxx' (xxxx)
An option file (specified with a '@', like elxr @commands.txt) cannot be opened for
reading by the host operating system. Does the file exist?
67
Fatal Error
unable to obtain a suitable license
A license may not be available to use the toolchain for various reasons. There could
be a configuration or network issue, the licenses could all be in use, etc. Read
documentation on licensing to troubleshoot.
68
Fatal Error
Attempt to change the size of section "xxxx" which was already
used in a relocation
70
Fatal Error
file read failed for xxxx: possible file corruption or disk error
Could not read from ELF module, or the values read are not properly formatted. This
file may have been corrupted and should probably be removed and rebuilt.
71
Fatal Error
SHT_GROUP section xxxx has an invalid sh_info index ####
An SHT_GROUP section does not have the index of a corresponding symbol.
72
Fatal Error
Function xxxx in xxxx in .text must be a multiple of four-bytes
in size
PowerPC specific. A non-VLE function has a size that is not 4 byte aligned.
73
Fatal Error
..robase section does not exist
154
MULTI: Toolchain Error Messages

Errors 1 to 99
74
Fatal Error
Reference to non-exported symbol xxxx in module xxxx
The -exported_absolutes_only option is used and there is a relocation to an
external absolute symbol that has not been explicitly exported by an entry in the
.ghsexports section.
75
Fatal Error
More than one .ghstraceedge like section in linker directive
file
The section map contains multiple sections matching: *.ghstraceedge
76
Fatal Error
different machine flags in module xxxx: #### vs #### in other
modules
Two modules being linked together have different and incompatible ELF flags,
suggesting they were not compiled for the same processor type.
77
Fatal Error
attempt to allocate non-empty section xxxx to zero-length memory
region xxxx
A section has been assigned a block of memory of size zero.
Example:
MEMORY { block_zero : ORIGIN = 0x10000, LENGTH=0x0 }
SECTIONS { .text : > block_zero }
Correct:
MEMORY { block_nozero : ORIGIN = 0x10000, LENGTH=0x8000 }
SECTIONS { .text : > block_nonzero }
78
Fatal Error
Malformed object file: xxxx(xxxx) has bad symbols
The object file format is wrong and possibly corrupt. A symbol is listed at a location
that exceeds the size of the section it is in.
79
Fatal Error
Unknown or malformed function description symbol xxxx in module
xxxx
A Green Hills Compiler generated symbol name beginning with the prefix ..gh.f.
has an unsupported format containing unexpected characters. The object file could be
generated by a compiler of a newer version than the linker executable.
Green Hills Software
155

Chapter 2. Linker Error Messages
80
Fatal Error
Relocation to overridden local linkonce symbol xxxx(xxxx)
Something has gone wrong with template instantiation and there are references to a
redundant instance that have not been redirected to the chosen instance. This might
happen if one of the modules referencing the template was not recompiled after
changing the template.
81
Fatal Error
Division by zeron in relocation stack xxxx
82
Fatal Error
Relocation stack underflow xxxx
Blackfin specific. A complex expression relocation expected to be preceded by another
relocation on the stack but was not.
83
Fatal Error
section xxxx's start address differs from the absolute (.org)
address in module xxxx
A section marked with an absolute fixed address is placed in an output section with
a different, incompatible address.
84
Fatal Error
compressed section xxxx is invalid: rommed section xxxx has type
SHT_NOBITS
A compressed ROM section is created for a section that is not initialized with data
and therefore has nothing to compress.
Example:
SECTIONS { .ROM.bss CROM(.bss) : }
Correct:
SECTIONS { .ROM.data CROM(.data) : }
85
Fatal Error
xxxx is an empty file
Attempted to translate a COFF file that contained no data into an ELF file.
87
Fatal Error
Attempt to change the value of symbol "xxxx" which has already
been relocated
156
MULTI: Toolchain Error Messages

Errors 1 to 99
88
Fatal Error
SHT_GROUP section xxxx has no flags word
A GROUP section exists but contains no data.
89
Fatal Error
archive xxxx is missing its symbol table, and errors occurred
while recovering. Run 'ax -ts xxxx' to rebuild table manually
A library archive was missing the appropriate index that would allow us to access it,
and an attempt to automatically generate this information failed. You can try to reformat
this archive yourself using ax-ts
90
Fatal Error
.could not generate a -prog2 image. Program header summary: xxxx
The option -prog2 was used, unsuccessfully.
91
Fatal Error
AutoSDA is incompatible with TraceEdge
The linker -sdaize or -zdaize optimization options are not supported in conjunction
with the -traceedge or -inmemtm trace instrumentation options.
92
Fatal Error
error reading library xxxx
A library file was either unavailable for reading by the host operating system or the
header was not formatted like a proper archive file.
93
Fatal Error
file xxxx is not a library
The header of a library file is not marked like a proper ELF archive should be.
94
Fatal Error
literal 'xxxx' is out of range
An immediate value is specified that would be more than 64-bits.
Example:
MEMORY { block_big
: ORIGIN = 0, LENGTH=100000000000000M }
96
Fatal Error
unhandled symbol xxxx in section xxxx of module xxxx; this module
might contain invalid inline assembly statements
Linker optimizations were unable to properly disassemble the contents of a function.
This may be due to inline assembly that is not safe to optimize.
Green Hills Software
157

Chapter 2. Linker Error Messages
98
Fatal Error
.ghstraceedge section must have non-zero size
The -traceedge option is used, but a *.ghstraceedge section is totally empty.
99
Fatal Error
module xxxx was compiled with -registermode=22 but previous
modules were compiled with -registermode=32
RH850 specific. A module compiled with -registermode=22 is being linked with a
module compiled with the incompatible -registermode=32 option.
Errors 100 to 199
100
Fatal Error
badly formed argument checking symbol encountered
Link-time argument checking is used, but the argument checking symbol name does
not conform to expected syntax. These labels are expected to be in the form:
__calle[e|r].FunctionName.ReturnType.ArgumentList
103
Fatal Error
ZDA overflow: symbol 'xxxx' out of range
TriCore specific. R_TRICORE_18ABS relocation out of range.
104
Fatal Error
Possible xxxx incompatibility between modules xxxx and xxxx
C++ ABI compilation options do not match for two of the modules being linked
together. Make sure both are up to date and compiled with similar options.
105
Fatal Error
.sdabase section does not exist
The section map does not declare an .sdabase section. Add one to the link map, or
recompile without -sda options.
106
Fatal Error
xxxx section does not exist
V800 specific. A required SDA related section is missing from the link map.
158
MULTI: Toolchain Error Messages

Errors 100 to 199
107
Fatal Error
AutoSDA cannot operate on a section map containing .PPC.EMB.sbss0
but not .PPC.EMB.sdata0
PowerPC specific. The link time ZDA optimization is enabled, and the link map
contains a .PPC.EMB.sbss0 section, but not a .PPC.EMB.sdata0 section. Add a
.PPC.EMB.sdata0 section to the link map or disable the ZDA optimization.
108
Fatal Error
.sdabase section not defined
The section map does not declare an .sdabase section. Add one to the link map, or
recompile without -sda options.
109
Fatal Error
corrupt dynamic string table reference in xxxx
An INTEGRITY shared library has an invalid entry in .dynamic section.
110
Fatal Error
unable to obtain license for product code ####
Linking a proprietary module that requires a separate license, but a license was
unavailable. Read licensing documentation or contact support.
111
Fatal Error
module xxxx has incompatible FPU version xxxx, should be xxxx
RH850 specific. Two modules are compiled for different floating point versions. Make
sure all modules are recompiled with compatible options.
112
Fatal Error
corrupt string table reference for symbol #### in xxxx
This ELF object file has invalid references from symbol table to string table. It is
possible that it has been corrupted and needs to be rebuilt.
114
Fatal Error
section xxxx in module xxxx does not conform to the ABI, has
item with unrecognized name xxxx
RH850 specific. The .note.renesas containing supplemental ABI information is
not properly formatted. Expected to contain the string REL in note entry.
115
Fatal Error
sh_entsize is 0 in section #### of module xxxx
A table section is marked with an invalid entry size of zero.
Green Hills Software
159

Chapter 2. Linker Error Messages
116
Fatal Error
problem during translation to ELF for xxxx
Translating COFF object file to ELF was unsuccessful. Attempt to translate to ELF
file manually using gcof2elf or recompile with ELF tools.
117
Fatal Error
not an ELF object file: xxxx
An object file header is not properly formatted according to the ELF standard. Make
sure it is an ELF object file.
118
Fatal Error
module xxxx was compiled with ep(r30) not reserved but previous
modules may have been
RH850 specific. Not all object files were compiled in the same mode with regard to
whether to reserve ep(r30). Compile all files with the same option.
119
Fatal Error
couldn't find section xxxx needed to initialize symbol xxxx
A required section was not defined in the link map, so add it there.
120
Fatal Error
couldn't redirect every reference from xxxx to xxxx
121
Fatal Error
module xxxx has incompatible data alignment xxxx, should be xxxx
RH850 specific. Not all object files were compiled according to the same ABI data
alignment setting. Compile all files with the same option.
122
Fatal Error
bad magic number in archive xxxx at offset ####
Library header contains unexpected characters. Possibly corrupt file.
123
Fatal Error
Both STF_BYTE2 and STF_BYTE4 set on symbol xxxx
Blackfin specific. A symbol has two conflicting bits set in st_other field.
124
Fatal Error
module xxxx has incompatible double size xxxx, should be xxxx
RH850 specific. Not all object files were compiled according to the same ABI double
size setting. Compile all files with the same option.
160
MULTI: Toolchain Error Messages

Errors 100 to 199
125
Fatal Error
unable to parse license identifier
A proprietary module has improperly formatted licensing information. Contact customer
support for help resolving.
127
Fatal Error
file xxxx didn't have a symbol table
An ELF object file is expected to have a table of symbols, but this did not. This file
is possibly corrupt or not a valid ELF file.
128
Fatal Error
_SMALL_DATA_A8_ symbol is not defined for a8-relative SDA
TriCore specific. SDA is used, but no _SMALL_DATA_A8_ symbol is defined. Declare
that symbol in the link map or disable SDA optimizations.
129
Fatal Error
.unknown object file format in xxxx
Object file is in a format that is neither ELF nor a supported COFF format. This file
may need to be recompiled with tools that use a supported format.
130
Fatal Error
module xxxx was compiled with r2 reserved but previous modules
may not have been
RH850 specific. Not all object files were compiled in the same mode with regard to
whether to reserve r2. Compile all files with the same option.
131
Fatal Error
-rpxtntp requires .ghstraceedge section defined in section map
Option -rpxtntp is used, but .ghstraceedge section is not defined in link map.
Define that section or eliminate the option.
132
Fatal Error
encountered PICBASE relocation in .rel section
V800 specific. The PICBASE relocation is only supported in sections that use the
.rela format, such as those generated by GHS Compilers.
134
Fatal Error
Could not compress xxxx to xxxx
A compressed ROM section is created for a section that is not initialized with data
and therefore has nothing to compress.
Green Hills Software
161

Chapter 2. Linker Error Messages
135
Fatal Error
combining Elf64 relocatable file into Elf32 executable
A file using the 64-bit ELF format is being linked into a 32-bit program. If this is
being done intentionally, you can work around it using the -allow_elf64_to_elf32
linker option, otherwise recompile in a 32-bit mode.
136
Fatal Error
V800: section xxxx in module xxxx is too large to insert a
farcall patch for function xxxx
V800 specific. Linker far call patching failed because this module is larger than the
maximum range of a non-far call. Read documentation on far calls for possible
alternatives to linker far call patching.
137
Fatal Error
module xxxx was compiled with gp(r4) not reserved but previous
modules may have been
RH850 specific. Not all object files were compiled in the same mode with regard to
whether to reserve gp(r4). Compile all files with the same option.
138
Fatal Error
module xxxx was compiled with r2 not reserved but previous
modules may have been
RH850 specific. Not all object files were compiled in the same mode with regard to
whether to reserve r2. Compile all files with the same option.
139
Fatal Error
_SMALL_DATA_ symbol is not defined
TriCore specific. SDA is used, but no _SMALL_DATA_ symbol is defined. Declare that
symbol in the link map or disable SDA optimizations.
140
Fatal Error
module xxxx was compiled with tp(r5) reserved but previous
modules may not have been
RH850 specific. Not all object files were compiled in the same mode with regard to
whether to reserve tp(r5). Compile all files with the same option.
141
Fatal Error
_SMALL_DATA_A9_ symbol is not defined for a9-relative SDA
TriCore specific. SDA is used, but no _SMALL_DATA_A9_ symbol is defined. Declare
that symbol in the link map or disable SDA optimizations.
162
MULTI: Toolchain Error Messages

Errors 100 to 199
142
Fatal Error
.bad ELF object file (header): xxxx
An ELF header is not properly marked, indicating that the object file could be corrupt
or in an unsupported format. Recompile with supported tools.
143
Fatal Error
section xxxx has different types in xxxx (type=####) and xxxx
(type=####)
Two sections given the same name are fundamentally different section types. Make
sure that custom sections are defined with the same attributes wherever they are used,
or give different uses a new section name to resolve conflicts.
144
Fatal Error
SDA/ZDA is not supported on the section used as the TraceEdge
instrumentation section
PowerPC specific. Some modules are attempting to use the same register for SDA/ZDA
optimizations that others are using for TraceEdge instrumentation. Make sure all
modules are compiled with consistent options, and either disable the conflicting SDA
optimization or change the TraceEdge register.
145
Fatal Error
.SHT_GROUP section xxxx contains invalid section index ####
A GROUP entry references a section that does not exist in that module. This ELF file
may be corrupt or in an unsupported format.
146
Fatal Error
.pcpdata section must exist for -pcptrans
TriCore specific. The .pcpdata is not defined in link map. Either define that section
or disable the -pcptrans option.
147
Fatal Error
Failure to initialize TraceEdge framework
The -inmemtm option is used, but the required record symbols are not present.
148
Fatal Error
couldn't ROM xxxx to xxxx
Failed to generate a ROM() section because either the ROM section already has contents
of its own or the RAM version is a non-standard section type.
Green Hills Software
163

Chapter 2. Linker Error Messages
149
Fatal Error
section xxxx in module xxxx does not conform to the ABI
RH850 specific. The .note.renesas containing supplemental ABI information is
not properly formatted.
150
Fatal Error
relocation section #### has invalid sh_info field #### (should
be a section index)
An ELF relocation section refers to another section that does not exist. This could
indicate a corrupt file or unsupported file format.
151
Fatal Error
module xxxx was compiled with tp(r5) not reserved but previous
modules may have been
RH850 specific. Not all object files were compiled in the same mode with regard to
whether to reserve tp(r5). Compile all files with the same option.
153
Fatal Error
.ghstraceedge section size must be a non-zero power of 2
The -traceedge option is used, but a *.ghstraceedge section has an invalid size.
This section should have a power of 2 size.
154
Fatal Error
AutoSDA cannot operate on a section map containing .sbss but not
.sdata
PowerPC specific. The link time SDA optimization is enabled, and the link map
contains an .sbss section, but not an .sdata section. Add an sdata section to the
link map or disable the SDA optimization.
155
Fatal Error
Possible xxxx incompatibility detected in module xxxx
157
Fatal Error
bad relocation sequence: expected HIGH to be followed by IPAIR,
not nothing
V800 specific. A HIGH relocation should be followed by an IPAIR relocation.
158
Fatal Error
module xxxx was compiled with gp(r4) reserved but previous
modules may not have been
RH850 specific. Not all object files were compiled in the same mode with regard to
whether to reserve gp(r4). Compile all files with the same option.
164
MULTI: Toolchain Error Messages

Errors 100 to 199
160
Fatal Error
.pcptext section must exist for -pcptrans
TriCore specific. The .pcpdata is not defined in link map. Either define that section
or disable the -pcptrans option.
161
Fatal Error
_LITERAL_DATA_ symbol is not defined
TriCore specific. SDA is used, but no _LITERAL_DATA_ symbol is defined. Declare
that symbol in the link map or disable SDA optimizations.
162
Fatal Error
couldn't find section .sdabase
SH specific. The .sdabase section must be declared in link map.
163
Fatal Error
module xxxx has incompatible SIMD/FPSIMD mode xxxx, should be
xxxx
RH850 specific. Not all object files were compiled according to the same ABI SIMD
mode setting. Compile all files with the same option.
165
Fatal Error
module xxxx was compiled with ep(r30) reserved but previous
modules may not have been
RH850 specific. Not all object files were compiled in the same mode with regard to
whether to reserve ep(r30). Compile all files with the same option.
166
Fatal Error
module xxxx has a conflicting register usage (regmask = 0x####)
in S1/S2 and S4 instructions with those of previous modules
(cumulative regmask = 0x####)
RH850 specific. Not all object files were compiled according to the same ABI register
usage setting. Compile all files with the same option.
167
Fatal Error
bad relocation sequence: expected HIGH to be followed by IPAIR,
not ####
V800 specific. A HIGH relocation should be followed by an IPAIR relocation.
Green Hills Software
165

Chapter 2. Linker Error Messages
168
Fatal Error
link-time SDA cannot be performed: relocation in module xxxx at
xxxx+#### to section xxxx+####
The link-time AutoSDA optimization cannot be performed because there are relocations
relative to data sections rather than the symbols within those data sections. It is not
safe to optimize section relative relocations because it is unknown what variables they
might be referring to. If this type of relocation occurs in compiled code built for
AutoSDA, it might indicate a compiler bug.
169
Fatal Error
Unexpected relocation kind (####) from a function descriptor
xxxx [xxxx] + 8 for the TOC base
PowerPC64 specific. Unexpected PPC64 TOC base relocation type in .opd section.
170
Fatal Error
Internal error - expected a ppc64 farcall
171
Fatal Error
Section xxxx is larger than #### bytes
A section in a 32-bit ELF image exceeds 32-bits in size.
172
Fatal Error
Relocation of type R_MIPS_PICHIGHADJ encountered without a
preceding R_MIPS_PICBASE
MIPS specific. An R_MIPS_PICHIGHADJ relocation must be paired with a
R_MIPS_PICBASE relocation.
173
Fatal Error
section xxxx starting at #### didn't fit in configured memory
A section is declared with SECTIONS directive at a specific memory location that does
not place it in any of the configured blocks of memory declared with the MEMORY
directive. If the target has available memory there, then declare a MEMORY block to
represent it, otherwise move the section's starting address to within a valid region of
memory.
Example:
MEMORY { block_one : ORIGIN=0x1000, LENGTH=0x1000 }
SECTIONS { dummy 0x3000 : }
Correct:
MEMORY { block_one : ORIGIN=0x1000, LENGTH=0x1000 }
SECTIONS { dummy 0x1000 : }
166
MULTI: Toolchain Error Messages

Errors 100 to 199
174
Fatal Error
unknown ARM pool reference instruction: #### in module xxxx at
xxxx+####
ARM specific. An ARM pool relocation is located at an instruction that does not
disassemble as any known pool instruction.
175
Non-Fatal Error
Bad relocation sequence. REL R_MIPS_HI0 relocation is expected
to be followed by REL R_MIPS_LO16, or R_IPAIR relocation
MIPS specific. An R_MIPS_HI0 relocation is expected to be paired with another
relocation, but is not. This can possibly be worked around with -gnu_compat.
176
Fatal Error
module xxxx has Virtualization/Hardware Multiple Task Thread
instructions but a previous module might have been a RH850G3K
core
RH850 specific. Not all object files were compiled for compatible CPU types. Compile
all files with the same CPU option.
177
Fatal Error
PPC: Illegal R_PPC_EMB_BIT_FLD addend form
PowerPC specific. An R_PPC_EMB_BIT_FLD relocation has an invalid addend value.
178
Fatal Error
Insufficient additional SDA registers provided
PowerPC specific. There is too much data put in SDA sections to fit within their range
limits. Either fewer variables need to be placed in SDA, or additional registers must
be allocated to offset the expanded SDA area. You can use the -additional_sda_reg=N
option to reserve more registers.
179
Fatal Error
.Internal error: no function symbol to jump to after .opd
adjustments
180
Non-Fatal Error
Bad relocation sequence. REL R_MIPS_HI16 relocation is expected
to be followed by REL R_MIPS_LO16, or R_IPAIR relocation
MIPS specific. An R_MIPS_HI16 relocation is expected to be paired with another
relocation, but is not. This can possibly be worked around with -gnu_compat.
Green Hills Software
167

Chapter 2. Linker Error Messages
181
Fatal Error
Intercall patching not supported for function entry/exit history
ARM specific. A __ghs_log_fee function is in a different execution mode than the
caller on a target that cannot switch modes without an intercall veneer. This
combination of options is not supported. Compile this FEE instrumented code in ARM
mode.
182
Fatal Error
PPC: Unknown section for relocation to xxxx from xxxx + ####
183
Fatal Error
Cannot change ISA mode with j xxxx at xxxx+####
MIPS specific. There is a relocation from a function in non-MIPS16 mode to a function
in MIPS16 mode for an instruction that is not capable of switching modes
automatically.
184
Non-Fatal Error
Bad relocation sequence. REL R_MICROMIPS_HI0 relocation is
expected to be followed by REL R_MICROMIPS_LO16, or R_IPAIR
relocation
MIPS specific. An R_MICROMIPS_HI0 relocation is expected to be paired with another
relocation, but is not. This can possibly be worked around with -gnu_compat.
186
Fatal Error
Not in the same region with bgezal xxxx at xxxx+####
MIPS specific. There is a relocation from a function in non-MIPS16 mode to a function
in MIPS16 mode that cannot be fixed because it spans across different memory regions.
187
Fatal Error
module xxxx is a RH850G3K core but a previous module might have
Virtualization/Hardware Multiple Task Thread instructions
RH850 specific. Not all object files were compiled for compatible CPU types. Compile
all files with the same CPU option.
188
Fatal Error
Attempt to change the address of section "xxxx" which was already
used in a relocation; maybe this section's address depends on
the size of a CROM section
168
MULTI: Toolchain Error Messages

Errors 100 to 199
189
Fatal Error
Encountered unknown relocation type (####) in module xxxx
MIPS specific. Unhandled relocation. This object file may be generated by a toolchain
that is newer than or not supported by this linker version.
190
Fatal Error
.Cannot switch ISA in PIC mode with branch to xxxx at xxxx+####
MIPS specific. There is a relocation from a function in non-MIPS16 mode to a function
in MIPS16 mode that cannot be fixed when using the -pic option.
191
Fatal Error
.toc section does not exist
PowerPC64 specific. There are PPC64 TOC relocations present, but the section map
does not contain a .toc section. Declare a .toc section in linker directive file.
192
Fatal Error
Cannot switch ISA with conditional branch to xxxx at xxxx+####
MIPS specific. There is a relocation from a function in non-MIPS16 mode to a function
in MIPS16 mode for an instruction that is not capable of switching modes
automatically.
193
Fatal Error
Expected 'nop' instruction after PC-relative relocation from
xxxx [xxxx] to xxxx
PowerPC64 specific. An out of range PPC64 TOC call does not have an expected
NOP instruction to use during far call expansion.
194
Fatal Error
.unknown THUMB2 pool reference instruction: #### in module xxxx
at xxxx+####
ARM specific. An Thumb-2 pool relocation is located at an instruction that does not
disassemble as any known pool instruction.
195
Fatal Error
failed to convert SDA23 to SDA16 at xxxx (####)
V800 specific. There is a 23-bit SDA relocation associated with an unrecognized type
of instruction. Workaround by disabling the -shorten_loads and -shorten_moves
optimizations.
Green Hills Software
169

Chapter 2. Linker Error Messages
196
Fatal Error
Unexpected relocation kind (####) from a function descriptor
xxxx [xxxx] to function xxxx
PowerPC64 specific. Unexpected PPC64 TOC function relocation type in .opd section.
197
Non-Fatal Error
Bad relocation sequence. REL R_MICROMIPS_HI16 relocation is
expected to be followed by REL R_MICROMIPS_LO16, or R_IPAIR
relocation
MIPS specific. An R_MICROMIPS_HI16 relocation is expected to be paired with
another relocation, but is not. This can possibly be worked around with -gnu_compat.
198
Fatal Error
ARM: section xxxx in module xxxx is too large to insert a farcall
patch for function xxxx
ARM specific. Linker far call patching failed because this module is larger than the
maximum range of a non-far call. Read documentation on far calls for possible
alternatives to linker far call patching.
199
Fatal Error
unsigned range: while relocating xxxx+#### to xxxx (type=####),
#### wasn't 1-extended in #### to #### bits
NDR specific. Relocation destination value not properly extended.
Errors 200 to 299
200
Fatal Error
__gp is not set
MIPS specific. The .sdabase section is not defined. Declare it in your linker directive
file.
201
Fatal Error
Relocation of type R_MIPS_PICLOW encountered without a preceding
R_MIPS_PICBASE
MIPS specific. An R_MIPS_PICLOW relocation must be paired with a
R_MIPS_PICBASE relocation.
203
Fatal Error
don't know how to extract addend for relocation ####
Unhandled relocation in a REL relocation section. This object may have been compiled
by a non-GHS toolchain that is not supported by this linker.
170
MULTI: Toolchain Error Messages

Errors 200 to 299
204
Fatal Error
Saw unexpected xxxx in xxxx (####), relink with -no_remove_pid
to avoid error
V850 specific. A PID relocation was associated with an unexpected instruction type.
Pass -no_remove_pid as a workaround.
205
Fatal Error
can't extract relocation ####
Unhandled relocation in a REL relocation section. This object may have been compiled
by a non-GHS toolchain that is not supported by this linker.
206
Warning
The program contains no reference to _dtors. The following C++
dynamic destruction routines will probably not get called: xxxx
207
Warning
ignoring ..fend symbol before end of function xxxx
208
Warning
Symbol xxxx has size 0
209
Warning
.Error in parsing the MISRA option
210
Warning
.Coverage section deletion failed -- unequal number of entries
in xxxx and xxxx sections
211
Warning
.-ignore_debug_references is not supported for SH, ignoring…
212
Warning
Unable to instrument function xxxx
213
Warning
Unexpected instruction #### with xxxx relocation
214
Warning
Option -extractall=xxxx was ignored, since option xxxx was not
given
215
Warning
function: xxxx called in xxxx doesn't have an argument type
checking declaration
Green Hills Software
171

Chapter 2. Linker Error Messages
216
Warning
Absolute relocation xxxx to function: from 'xxxx [xxxx]' to 'xxxx
[xxxx]'
217
Warning
the checksum word on section xxxx overlaps section xxxx; removing
checksum on xxxx to avoid overlap
218
Warning
TraceEdge unable to find .sdata2/.sdabase section in SDA mode
219
Warning
shared library xxxx does not support TDEH exception handling.
Refer to the MULTI release notes for instructions on how to build
shared libraries with TDEH support
220
Warning
.BLOCK directive has no effect
221
Warning
.no section map present. Assuming .text/.data/.bss use
-T[text|data|bss] to set segment starts and avoid this warning
use a section map for advanced placement control
222
Warning
The program contains no reference to _ctors. The following C++
dynamic initialization routines will probably not get called:
xxxx
223
Warning
not defining xxxx: xxxx already exists in xxxx
224
Warning
-ignore_debug_references is not supported for Blackfin, ignoring…
225
Warning
ARM mapping symbols not found in section xxxx, module xxxx
226
Warning
.SHT_GROUP section #### has relocations! ignoring…
227
Warning
translating COFF file xxxx
172
MULTI: Toolchain Error Messages

Errors 200 to 299
228
Warning
.sdata and .sbss are not contiguous in the section map; AutoSDA
will not place anything into .sbss
229
Warning
.sdabase section should be located at address zero for
-assume_gbr_is_zero
230
Warning
Unknown Pool Load
231
Warning
symbol xxxx in section xxxx was referenced as SDA at xxxx+####
but is out of range of the SDA base pointer
232
Warning
Function deletion should not be performed on object files with
position-independent code that were built with older versions
of the compiler. Please rebuild with a newer compiler or disable
function deletion
233
Warning
Weak xxxx xxxx in xxxx overrides an equally weak definition in
xxxx
234
Warning
Section xxxx at #### extends past 0
235
Warning
ignored -T[text|data|bss] due to section map
236
Warning
INTEGRITY interrupt routine does not have requisite padding:
xxxx
237
Warning
section xxxx(xxxx) is not being included; module xxxx is not
part of this link
238
Warning
Writeable section xxxx at #### liesxxxx between __ghs_romstart
and __ghs_romend
239
Warning
xxxx will not be satisfied for -dyload links
Green Hills Software
173

Chapter 2. Linker Error Messages
240
Warning
ignoring size-#### ..fend symbol inconsistent with end of
function xxxx
241
Warning
Layout of section xxxx does not converge on fixed address
242
Warning
.branch instruction has unknown condition bits
243
Warning
Unable to find map file, disabling CodeFactor profile feedback
244
Warning
Use of the special symbol __ghssizexxxx in -pic or -pid mode may
produce incorrect results. Consider using (__ghsendxxxx -
__ghsbeginxxxx) instead
245
Warning
.section xxxx(xxxx) is not being included; did you mean
xxxx(xxxx)?
246
Warning
Did not find .callt section in linkmap. Enabling -v800_old_callt
compatibility mode. See documentation on this option for more
details
247
Warning
.script file xxxx included multiple times
248
Warning
-no_shared_lib_symbols should not be used when linking with
shared libraries
249
Warning
Function deletion should not be performed on object files with
position-independent code that were built with older versions
of the compiler. Please rebuild with a newer compiler or disable
function deletion
250
Warning
.Unexpected instruction #### with R_MICROMIPS_26_S1 relocation
251
Warning
unknown attributes for MEMORY block xxxx: xxxx
174
MULTI: Toolchain Error Messages

Errors 200 to 299
252
Warning
ARM mapping symbols not found for function xxxx, in section xxxx,
module xxxx
253
Warning
.section xxxx in module xxxx has unrecognized setting: name=xxxx,
id=0x####, value=0x####
254
Warning
relocation section #### has relocations! ignoring…
255
Warning
Invalid setting for Program Counter valid bits with xxxx. Setting
ignored
256
Warning
.in module xxxx, section symbol ##### for section xxxx has a
non-zero value. Attempting to fix and continue
257
Warning
.symbol xxxx in section xxxx was referenced as ZDA at xxxx+####
but is out of range of the ZDA base pointer
258
Warning
Patched reference to subroutine xxxx
259
Warning
Error in parsing the MISRA option: Invalid range
260
Warning
.TraceEdge has failed to fully instrument xxxx. Trace from this
interrupt will be slighly limited
261
Warning
.branch to self detected: module xxxx at xxxx+####
262
Warning
cannot redirect stderr to xxxx
263
Warning
SUBALIGN has no effect. ELF section header specifies alignment
264
Warning
symbol xxxx in section xxxx was referenced as SDA at xxxx+####
but is out of range of 9-bit displacement from the SDA base
pointer
Green Hills Software
175

Chapter 2. Linker Error Messages
265
Warning
archive xxxx contains a bad string table reference (module name)
at offset ####, recovering
266
Warning
Unable to ignore instrumentation for function xxxx when
instrumenting the kernel
267
Warning
checksum generation suppressed with relocatable link
268
Warning
size of symbol xxxx is inconsistent with location of function
xxxx
269
Warning
Invalid map file, disabling CodeFactor profile feedback
270
Warning
section xxxx(xxxx) is not being included; section xxxx appears
to be empty
271
Warning
maplines must be at least 5; ignoring -maplines=####
272
Warning
ignoring malformed option xxxx; try xxxx instead
273
Warning
ARM: unknown postamble in xxxx: ####
274
Warning
symbol xxxx in section xxxx was referenced as ZDA at xxxx+####
but is out of range of 9-bit displacement from the ZDA base
pointer
275
Warning
unrecognized option: xxxx
276
Warning
setting start address to zero
277
Warning
xxxx generation not supported with CROM(xxxx)
176
MULTI: Toolchain Error Messages

Errors 200 to 299
278
Warning
orphan area at xxxx(xxxx)+####, nearest was xxxx at offset ####
279
Warning
unknown machine type: ####
280
Warning
this target doesn't support farcall patching
281
Warning
module xxxx contains relocations versus SHT_NOBITS section xxxx
282
Warning
Unknown MISRA option
283
Warning
.section xxxx from xxxx isn't included by the section map;
appending after last section. add to section map or use -append
to append without warning
284
Warning
ignoring ..fbeg symbol after start of function xxxx
285
Warning
Truncating the value of xxxx to 32 bits
286
Warning
Section flags do not match known section name - assuming SDA
type by name - for section xxxx xxxx
287
Warning
Can't inline patch out of range jump to symbol with st_type !=
STT_FUNC
288
Warning
unable to determine if absolute symbol: xxxx will work as the
target of an intercall
289
Warning
couldn't adjust REL-type relocation (rel#####)!
290
Warning
found relocation into middle of now-defunct function xxxx xxxx
Green Hills Software
177

Chapter 2. Linker Error Messages
291
Warning
Unable to open profile information, disabling CodeFactor profile
feedback
293
Warning
symbol xxxx has different sizes in: xxxx xxxx
294
Warning
symbol xxxx has different types in: xxxx xxxx
295
Warning
[InMem TimeMachine] Unable to locate .inmemtm section Appending
.inmemtm section with size ####KB
296
Warning
Option -extractonce=xxxx was ignored, since option xxxx was not
given
297
Warning
module xxxx not compiled for use with -auto_sda
298
Warning
ABS32 relocation mapping not defined
299
Warning
Unrecognized relocation attached to symbol xxxx (xxxx) in func
Errors 300 to 399
300
Warning
.using subroutine symbol xxxx to patch references to deleted
function
301
Warning
.[codefactor]: skipping module xxxx. xxxx
302
Warning
No functions found
303
Warning
.non-debug symbol at end of section
304
Warning
couldn't trace through pool relocation
178
MULTI: Toolchain Error Messages

Errors 300 to 399
305
Warning
.Unrecognized relocation
306
Warning
.pool data is 0x0. is it really data?
307
Warning
Unrecognized relocation attached to symbol xxxx (xxxx) in block
308
Warning
.deleted symbol has relocation refs
309
Non-Fatal Error
.unknown relocation type (xxxx) in xxxx
310
Fatal Error
section xxxx (####-####) doesn't fit in memory block xxxx
(####-####)xxxx
311
Fatal Error
corrupt string table reference for section #### in xxxx
312
Warning
archive xxxx contains a bad string table reference (module name)
at offset ####, recovering
313
Warning
library xxxx has a bad header at position ####, entry: xxxx
314
Warning
Symbol xxxx in module xxxx has a .fixaddr entry, but points to
symbol xxxx which has an absolute address. This value may not
be loaded properly at run time. Pass -delete_absolute_fixaddrs
to the linker to fix this issue
315
Warning
.module xxxx was compiled for xxxx but previous modules were
compiled for xxxx
316
Warning
section xxxx is at a high address (#### - ####) that is out of
range of the ####-bit Program Counter
317
Warning
module xxxx was compiled with 8-byte stack alignment but previous
modules may not have been
Green Hills Software
179

Chapter 2. Linker Error Messages
318
Fatal Error
The program cannot be instrumented because of a non-local branch
with no relocation, in function xxxx The compiler or assembler
that produced that object file may not be compatible with
-inmemtm. Turn off -inmemtm and run the linker again
319
Fatal Error
.The offset is too large to insert a farcall patch from xxxx
(####) to xxxx (####) in module xxxx
320
Warning
module xxxx may have been compiled with 4-byte stack alignment
but previous modules were compiled with explicit 8-byte stack
alignment
321
Warning
couldn't adjust REL-type relocation: Offset: #### Type: ####
Adjust: #### Dest Sym: xxxx in module xxxx
322
Warning
patching out of range relocation from xxxx (####) to xxxx (####)
in module xxxx
323
Warning
Will not adjust section-relative relocation in file xxxx at
location xxxx+#### that references section xxxx+#### relocation
type: xxxxxxxx
346
Fatal Error
PLT entry for xxxx does not have corresponding .dynsym entry
349
Fatal Error
invalid .ghsinfo jtable size
350
Fatal Error
relocation at xxxx:xxxx+#### is outside of that section
352
Fatal Error
Unknown vtbl parent: xxxx
353
Fatal Error
some modules compiled with options unsafe for use with elxr
354
Fatal Error
.ghsinfo jtable out of sync
180
MULTI: Toolchain Error Messages

Errors 300 to 399
355
Fatal Error
Symbol 'xxxx' in module 'xxxx' is not located within executable
section 'xxxx'
357
Fatal Error
Unknown vtbl class: xxxx
368
Fatal Error
corrupt symbol table in xxxx
370
Fatal Error
too many sections defined. At most #### supported
373
Fatal Error
.Cortex-A8 branch errata patching failure
375
Non-Fatal Error
section mismatch patching far-call to function xxxx
378
Fatal Error
bad relocation in module xxxx, references non-existent symbol
####
379
Fatal Error
Section too large for Cortex-A8 branch errata patching
384
Fatal Error
Sister vtbl entry was found!
388
Fatal Error
File error while writing binary; out of disk space?
392
Fatal Error
Bad sentinel value in UVFD section: ####
394
Fatal Error
bad elf file (sections): xxxx
396
Fatal Error
Unknown vtbl sym in readRoutSection(): xxxx
397
Fatal Error
inconsistent .fixaddr/.fixtype sections in xxxx
399
Fatal Error
relocation at xxxx:xxxx+#### is outside of that section
Green Hills Software
181

Chapter 2. Linker Error Messages
Errors 400 to 499
400
Non-Fatal Error
Adjustment for j/jal/jalx offset too large
401
Non-Fatal Error
Function entry/exit history farcall patching not supported in
THUMB mode
402
Non-Fatal Error
Unknown opcode for TDA relocation: ####
403
Non-Fatal Error
Mapping symbol xxxx does not indicate Arm/Thumb region
404
Non-Fatal Error
.Loop detected attempting to patch call to VLE function xxxx
405
Non-Fatal Error
.ghpepatch[xxxx] (@ ####): type = ####
406
Non-Fatal Error
.ghpepatch[xxxx] (@ ####): size = ####
407
Non-Fatal Error
Call table module xxxx not found
408
Non-Fatal Error
Bad relocation sequence. REL R_MIPS_GHS_PIDHIGHADJ relocation
is expected to be followed by REL R_MIPS_GHS_PIDLOW, or R_IPAIR
relocation
409
Non-Fatal Error
Failed to relocate data in TDA segment: address #### is out of
range. (symbol xxxx, offset ####, addend ####)
410
Non-Fatal Error
malformed xxxx section in module xxxx
411
Non-Fatal Error
File error opening map file xxxx; skipping map file
412
Non-Fatal Error
unresolved symbols: #### xxxx
413
Non-Fatal Error
-traceedge_size must be power of 2
182
MULTI: Toolchain Error Messages

Errors 400 to 499
414
Non-Fatal Error
usage: -traceedge_size=hexsize, 0 < hexsize <= 0x10000
415
Non-Fatal Error
Call table symbol xxxx not defined
416
Non-Fatal Error
Function xxxx called from a no-TDA function in xxxx
417
Non-Fatal Error
cannot determine type of undefined function xxxx
418
Non-Fatal Error
ARM mapping symbols do not cover the address range of the section
xxxx in module xxxx
419
Non-Fatal Error
.Loop detected attempting to patch far-call to function xxxx
420
Non-Fatal Error
Attempting to extract .rel relocation addend from non .rel
section
421
Non-Fatal Error
Attempt to link module (xxxx) compiled with -notda against a
module (xxxx) that uses the TDA
422
Non-Fatal Error
Bad relocation sequence. REL R_MICROMIPS_GHS_PIDHIGHADJ
relocation is expected to be followed by REL
R_MICROMIPS_GHS_PIDLOW
423
Non-Fatal Error
no global symbol for xxxx(xxxx)+####, local sym was xxxx
424
Non-Fatal Error
did not find lsetup fixing R_NISA_LSETUP
425
Non-Fatal Error
File error opening whitelist file xxxx; skipping whitelist
426
Non-Fatal Error
Module xxxx was compiled with TDA disabled but we are linking
in MTDA mode
Green Hills Software
183

Chapter 2. Linker Error Messages
427
Non-Fatal Error
Could not find .dynsym entry for xxxx
428
Non-Fatal Error
-no_data_in_text is not supported for -pic
429
Non-Fatal Error
section xxxx from xxxx isn't included by the section map! add
to section map or remove option -no_append
430
Non-Fatal Error
section symbol xxxx has non-zero st_value
431
Non-Fatal Error
-no_data_in_text is only supported on Thumb2 capable targets
432
Non-Fatal Error
usage: -traceedge_reg=R, for some gprR
433
Non-Fatal Error
Invalid instruction for R_ARM_ALU_PCREL relocation
434
Non-Fatal Error
patching to undefined symbols only supported with
--integrity_posix_dll
435
Non-Fatal Error
malformed SHT_NOTE section xxxx in module xxxx
436
Non-Fatal Error
can't intercall_patch undefined symbol: xxxx
437
Non-Fatal Error
MISRA xxxx recommends that objects be declared at function scope
whenever possible
438
Non-Fatal Error
.bad thumb BLxxxx relocation in module xxxx: got #### ####
439
Non-Fatal Error
Section xxxx moved as a result of compression and is not a ROM
copy
440
Non-Fatal Error
MISRA xxxx recommends that objects declared at file scope be
static whenever possible
184
MULTI: Toolchain Error Messages

Errors 400 to 499
441
Non-Fatal Error
.usage: -traceedge_addr=hexaddr
442
Non-Fatal Error
R_V800_CFPICREL32 relocation without matching R_V800_PICBASE
443
Non-Fatal Error
alias symbols have differing subcpu types: xxxx, xxxx
444
Non-Fatal Error
Unmatched TDA call to function xxxx in xxxx
445
Non-Fatal Error
common xxxx in xxxx has unsupported alignment: ####
446
Non-Fatal Error
-no_data_in_text is not supported with INTEGRITY TimeMachine
447
Non-Fatal Error
Cross-TDA call to function xxxx from TDA xxxx in xxxx
448
Non-Fatal Error
TDEH section deletion failed
449
Non-Fatal Error
.ambiguous local symbol xxxx multiply defined in: xxxx xxxx
450
Non-Fatal Error
couldn't process option xxxx
451
Non-Fatal Error
File error opening graph file xxxx; skipping call graph
452
Non-Fatal Error
.ghpepatch[xxxx] (@ ####): flags = ####
453
Non-Fatal Error
-no_data_in_text is not supported in THUMB mode
454
Non-Fatal Error
Absolute or PC-relative relocation was expected to shared weak
symbol xxxx
Green Hills Software
185

Chapter 2. Linker Error Messages
455
Non-Fatal Error
Module xxxx contains a virtual function call to offset #### in
the vtable for class xxxx, but the vtable for xxxx (defined in
xxxx) does not contain an entry at that offset. The UVFD
optimization cannot be performed. Pass -no_uvfd to continue
456
Non-Fatal Error
.Unexpected R_ARM_REL32 relocation found in optimized module
457
Non-Fatal Error
.-no_data_in_text is not supported on -pic
458
Non-Fatal Error
.ghpepatch[xxxx] (@ ####): PC == 0
459
Non-Fatal Error
Attempt to apply 32-bit relocations in 64-bit program
460
Fatal Error
in expression syntax: "xxxx" expected #### arguments
461
Fatal Error
globalreg count too large
462
Fatal Error
store instrumentation expected
463
Non-Fatal Error
read-only small data overflow: #### (signed) didn't fit in 16
bits, and could not be patched because the instruction or base
register was not recognizedxxxx
464
Fatal Error
error() xxxx
465
Non-Fatal Error
xxxx: ####xxxx didn't fit in #### bits
466
Non-Fatal Error
ROSDA relocation encountered when ROSDA has been disabled
467
Non-Fatal Error
zero data overflow: #### (signed) didn't fit in 16 bits, and
could not be patched because the instruction or base register
was not recognized
186
MULTI: Toolchain Error Messages

Errors 400 to 499
468
Non-Fatal Error
zero data overflow: #### (signed) didn't fit in 23 bits, and
could not be patched because the instruction or base register
was not recognizedxxxx
469
Fatal Error
ABSOLUTE used outside of a section
470
Fatal Error
expected an expression after 'xxxx'
471
Non-Fatal Error
Cannot jump/call next instruction
472
Non-Fatal Error
read-only small data overflow: #### (signed) didn't fit in 23
bits, and could not be patched because the instruction or base
register was not recognized
473
Fatal Error
expected an expression
474
Non-Fatal Error
read-only small data overflow: #### (signed) didn't fit in 16
bits, and could not be patched because the instruction or base
register was not recognized
475
Fatal Error
expected ')'
476
Fatal Error
unknown section xxxx used in SIZEOF
477
Fatal Error
unterminated comment
478
Non-Fatal Error
unaligned: #### wasn't ####-byte aligned xxxx
479
Fatal Error
the argument to PROVIDE should be an assignment operation
480
Fatal Error
during eval: symbol xxxx doesn't exist
Green Hills Software
187

Chapter 2. Linker Error Messages
481
Non-Fatal Error
Table call relocation (R_V800_CALLT) without a table entry.
Missing ___ghs_call_table symbol?
482
Non-Fatal Error
small data overflow: #### (signed) didn't fit in 16 bits, and
could not be patched because the instruction or base register
was not recognized
483
Fatal Error
expected ')' for 'xxxx'
484
Fatal Error
unknown section xxxx used in ENDADDR
485
Fatal Error
PHY is not supported. Remove the directive to avoid this error
486
Non-Fatal Error
Out of range. Not suitable for call table
487
Warning
Alignment expression must be a power of two
488
Fatal Error
saw branch in between function entry and first start of basic
block
489
Non-Fatal Error
read-only small data overflow: #### (signed) didn't fit in 23
bits, and could not be patched because the instruction or base
register was not recognizedxxxx
490
Non-Fatal Error
Overflow. CALLT table is full
491
Fatal Error
expected an argument to 'xxxx'
492
Non-Fatal Error
small data overflow: #### (signed) didn't fit in 23 bits, and
could not be patched because the instruction or base register
was not recognizedxxxx
493
Fatal Error
cannot assign to constant 'xxxx'
188
MULTI: Toolchain Error Messages

Errors 500 to 599
494
Fatal Error
volatile load instrumentation with no load
495
Fatal Error
unbounded string 'xxxx'
496
Fatal Error
expected something after xxxx
497
Warning
Alignment expression must be a power of two; changing from ####
to ####.xxxx
498
Non-Fatal Error
Relocation not safe to be performed in shared code as it depends
on core-specific initialization
499
Non-Fatal Error
small data overflow: #### (signed) didn't fit in 23 bits, and
could not be patched because the instruction or base register
was not recognized
Errors 500 to 599
500
Fatal Error
xxxx at #### size ####: xxxx
501
Non-Fatal Error
zero data overflow: #### (signed) didn't fit in 23 bits, and
could not be patched because the instruction or base register
was not recognized
502
Fatal Error
unknown section xxxx used in ADDR
503
Fatal Error
expected ':' after conditional expression
504
Fatal Error
unknown section xxxx used in ALIGNOF
505
Fatal Error
Expected same block after inst
Green Hills Software
189

Chapter 2. Linker Error Messages
506
Warning
expression ignored for GNU linkmap generation
507
Fatal Error
while processing xxxx, expected 'xxxx'
508
Fatal Error
PACK_OR_ALIGN used outside of a section
509
Fatal Error
start of function expected
510
Fatal Error
dot was decremented in xxxx, from #### to ####
511
Warning
construct xxxx ignored for GNU linkmap generation
512
Fatal Error
expected expression after '('
513
Non-Fatal Error
Table call destination precedes call table
514
Warning
Alignment expression must be a power of two
515
Fatal Error
.start of basic block expected
516
Fatal Error
end of function without stack exit
517
Fatal Error
No instruction after inst
518
Fatal Error
memory segment xxxx not defined
519
Fatal Error
.expected an identifier
520
Non-Fatal Error
small data overflow: #### (signed) didn't fit in 16 bits, and
could not be patched because the instruction or base register
was not recognizedxxxx
190
MULTI: Toolchain Error Messages

Errors 500 to 599
521
Non-Fatal Error
jump table entry overflow in function xxxx in module xxxx at
offset #### Please try recompiling with -bigswitch
522
Warning
.multiply destination registers cannot be the same in function
xxxx in module xxxx at offset #### => xxxx
523
Fatal Error
jump table entry invalid in function xxxx in module xxxx at
offset ####
524
Non-Fatal Error
####-bit branch is out of range in function xxxx in module xxxx
at offset #### => xxxx
525
Warning
multiply high destination register cannot be r0 in function xxxx
in module xxxx at offset #### => xxxx
526
Warning
A branch becomes out of range by -fix_load_errata and has been
expanded in function xxxx in module xxxx at offset #### => xxxx
527
Fatal Error
callt call to absolute index number in function xxxx in module
xxxx at offset #### => xxxx Re-link with -v800_old_callt to avoid
this error. See documentation on this option for more details
528
Warning
.Axxxx branch is followed by a load in function xxxx in module
xxxx at offset #### => xxxx / xxxxxxxx
529
Warning
callt call to absolute index number in function xxxx in module
xxxx at offset #### => xxxx Enabling -v800_old_callt
compatibility mode. See documentation on this option for more
details
530
Non-Fatal Error
.Unknown relocation type xxxx
531
Warning
PowerPC hazard found in function xxxx in module xxxx at offset
#### => xxxx xxxx
Green Hills Software
191

Chapter 2. Linker Error Messages
532
Non-Fatal Error
xxxx incompatible with -record_timemachine, rebuild with
-gen_timemachine
533
Non-Fatal Error
intercall from xxxx in module xxxx to xxxx cannot be patched
534
Non-Fatal Error
tracereg not always reserved in instrumented object xxxx
535
Non-Fatal Error
.calling convention mismatch for function xxxx: declared as xxxx
in xxxx, called as xxxx in xxxx
536
Non-Fatal Error
Section xxxx overlaps section xxxx
537
Non-Fatal Error
Memory region xxxx overlaps region xxxx
538
Non-Fatal Error
In-Memory TimeMachine Warning In function xxxx at offset ####
Unable to create instrumentation instruction
539
Non-Fatal Error
.symbol xxxx multiply defined in: xxxx xxxx
540
Non-Fatal Error
found fastcc and cdecl definitions for xxxx in: xxxx xxxx
541
Non-Fatal Error
entry symbol xxxx is undefined
542
Warning
entry symbol xxxx is undefined (allowed)
543
Non-Fatal Error
symbol xxxx is defined in xxxx and provided in xxxx; pass
-overridden_absolute_allow to silence this message
545
Non-Fatal Error
bad argument types for function: declared as xxxx in xxxx, called
as xxxx in xxxx
546
Warning
In OR/LOAD/XOR sequence, only OR can be branch destination
192
MULTI: Toolchain Error Messages

Errors 500 to 599
547
Warning
.LWC1 cannot be used. Please expand it to LW/MTC1
548
Warning
.R1 is used illegally in this instruction
549
Warning
.The destination register of the next instruction is the same
as the base register of this instruction
550
Warning
.In LOAD/GSTM sequence, LOAD destination must match GSTM source
551
Warning
.Branch/jump must be to labeled address
552
Warning
.Load should not be in delay slot
553
Warning
.Only JALR is allowed for calls through a register
554
Warning
.In LDC1/FSTM sequence, the instruction following FSTM must be
aligned to 4 mod 8 by 'xor r0, r0, r0'
555
Warning
.The destination register of this load instruction is the same
as the base register. Please expand it into LOAD/XOR
556
Warning
.Branch destination must be aligned to 8 bytes
557
Warning
.JAXA hazard found with section xxxx in module xxxx Executable
section contains no functions. Please verify that this is correct
558
Warning
.In LOAD/GSTM sequence, only LOAD can be branch destination
559
Warning
.JAXA hazard found with section xxxx in module xxxx at offset
####, size #### => Untyped, non-padding data in assembly module.
Please check that this is not supposed to be a function, and use
both .type and .size directives
Green Hills Software
193

Chapter 2. Linker Error Messages
560
Warning
.An index load instruction must be followed by 'bne r0, r0, .+4'
561
Warning
.OR/LDR/XOR must be aligned to 8 bytes
562
Warning
.And-link instruction requires 'xori r31, r31, 4' in the delay
slot
563
Warning
.JAXA hazard found with section xxxx in module xxxx Cannot verify
alignments mod 8, because section alignment is ####
564
Warning
The next instruction is the destination of a branch
565
Warning
.The next instruction is not a Basic load nor LDC1 with
#offset(Rbase) operand
566
Warning
.This instruction must be aligned to 4 mod 8 by 'xor r0, r0, r0'
567
Warning
.In LW/MTC1 sequence, MTC1 must be aligned to 4 mod 8 by 'xor
r0, r0, r0'
568
Warning
.NOP must be in the delay slot
569
Warning
.The next instruction is a branch destination
570
Warning
.Load instruction may not appear at end of function
571
Warning
.This unaligned load instruction is in bad sequence. Please
expand it into OR/LOAD/XOR
572
Warning
.This instruction is prohibited
573
Warning
.Only JR r31 is allowed for subroutine return
194
MULTI: Toolchain Error Messages

Errors 500 to 599
574
Warning
.In LDC1/FSTM sequence, only LDC1 can be branch destination
575
Warning
.The next instruction is not a load with #offset(Rbase) operand
576
Warning
.In LW/MTC1 sequence, only LW can be branch destination
577
Fatal Error
.wrong number of symbols read from section #### in xxxx
578
Warning
Delay slot expected for this instruction at end of function
579
Warning
.In LOAD/XOR sequence, only LOAD can be branch destination
580
Non-Fatal Error
.MISRA xxxx: Function xxxx:xxxx is recursive
581
Non-Fatal Error
MISRA 2004 Rule xxxx forbids the use of "xxxx"
582
Warning
MISRA xxxx: Global variable xxxx:xxxx is referenced only from
function xxxx:xxxx
583
Non-Fatal Error
MISRA xxxx: The following global symbols share a 31-character
prefix:
584
Warning
MISRA xxxx: Global xxxx xxxx:xxxx is referenced only from module
xxxx
585
Non-Fatal Error
MISRA xxxx: Common symbol xxxx in xxxx is overridden by a
definition in xxxx
586
Non-Fatal Error
MISRA Rule #### forbids the use of "xxxx"
587
Warning
bad type for variable: defined as 'xxxx' in xxxx, used as 'xxxx'
in xxxx
Green Hills Software
195

Chapter 2. Linker Error Messages
588
Non-Fatal Error
Unexpected character 'xxxx' in variable type-checking symbol
'xxxx'
589
Fatal Error
expected -globalcheck=none|normal|full
590
Warning
variable: 'xxxx' used in xxxx doesn't have a type checking
declaration
591
Warning
Bad relocation sequence. R_MIPS_32 or R_MIPS_16 expected after
R_MIPS_GHS_SUBPAIR. Got xxxx instead
592
Warning
invididual section xxxx from xxxx contains symbol xxxx which
does not match the individual section's symbol name
593
Fatal Error
couldn't open file xxxx
595
Warning
Global register written in kernel function: xxxx + #### (xxxx)
596
Non-Fatal Error
Global register written in non-kernel function: xxxx + ####
(xxxx)
597
Non-Fatal Error
File error opening blacklist file xxxx; skipping blacklist
598
Non-Fatal Error
Blacklisted symbol xxxx defined in module xxxx
599
Non-Fatal Error
Blacklisted symbol xxxx referenced by module xxxx
Errors 600 to 699
600
Non-Fatal Error
INTEGRITY TimeMachine does not support Thumb function:
196
MULTI: Toolchain Error Messages

Errors 600 to 699
601
Non-Fatal Error
Thumb mode cannot be used in this context
Green Hills Software
197


Chapter 3
Assembler Error Messages
Contents
Assembler Error Message Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200

Chapter 3. Assembler Error Messages
This chapter lists error messages that you may encounter when assembling code,
listed by error number. Diagnostic message numbers will only appear for Power
Architecture, ARM, V850, and TriCore targets.
Assembler Error Message Codes
The following list contains all the assembler error messages:
Errors 1 to 99
1
Fatal Error
Unrecognized option 'xxxx'
2
Fatal Error
COFF not supported for this configuration
3
Fatal Error
.Option 'xxxx' requires an argument of the form oldsect=newsect
4
Fatal Error
Invalid argument xxxx
5
Fatal Error
A source file must be specified
6
Fatal Error
.The assembler -globalreg check is not compatible with -tracereg
7
Fatal Error
.Invalid syntax for option 'xxxx'
8
Fatal Error
Argument xxxx too large
9
Fatal Error
diagnostic xxxx cannot be demoted to a warning
10
Fatal Error
xxxx is an invalid diagnostic number
11
Fatal Error
diagnostic xxxx cannot be suppressed
200
MULTI: Toolchain Error Messages

Errors 1 to 99
12
Fatal Error
out of memory
13
Fatal Error
syntax error
14
Fatal Error
constant required
15
Fatal Error
instruction not 16-bit aligned
16
Fatal Error
instruction not 32-bit aligned
17
Fatal Error
expected register r0-r7 or r24-r31
18
Fatal Error
use of global register
19
Fatal Error
displacement not 16-bit aligned
20
Fatal Error
expected floating point register
21
Fatal Error
expected condition register
22
Warning
VLE instruction in section not declared with "v" flag
23
Fatal Error
.expected register
25
Fatal Error
expected constant
26
Fatal Error
constant cannot be expressed as simple bitfield
27
Fatal Error
expected ','
Green Hills Software
201

Chapter 3. Assembler Error Messages
28
Fatal Error
expected special purpose register
29
Fatal Error
displacement not 32-bit aligned
30
Fatal Error
expected vector register
31
Fatal Error
expected register r8-r23
32
Fatal Error
displacement must be in [-256,255]
33
Fatal Error
constant must be in [0,31]
34
Fatal Error
displacement must be in [-32768,32767]
35
Fatal Error
expected displacement
36
Fatal Error
constant must be in [0,2]
37
Fatal Error
n must be in [0,63]
38
Fatal Error
b must be in [0,63]
39
Fatal Error
constant must be in [-16,15]
40
Fatal Error
cannot branch this far
41
Fatal Error
(b+n) must be in [0,64]
42
Fatal Error
offset must be multiple of 4
202
MULTI: Toolchain Error Messages

Errors 1 to 99
43
Fatal Error
constant must be in [0,63]
44
Fatal Error
Internal assembler error
45
Non-Fatal Error
value not properly sign extended
46
Fatal Error
offset must be multiple of 8
47
Fatal Error
offset must be in [0,15])
48
Fatal Error
offset not word aligned
49
Fatal Error
offset must be multiple of 2
50
Fatal Error
offset must be in [-8192,8191]
51
Fatal Error
offset must be multiple of 4 and in [0,124]
52
Fatal Error
illegal VLE relocation
53
Fatal Error
constant must be in [1,64]
54
Fatal Error
expected base register r0-r7 or r24-r31
55
Fatal Error
offset must be in [0,30]
56
Fatal Error
constant must be in [0,3]
57
Fatal Error
offset must be multiple of 2 and in [0,62]
Green Hills Software
203

Chapter 3. Assembler Error Messages
58
Fatal Error
expected TB or TBU
59
Fatal Error
offset not double aligned
60
Fatal Error
(b-n) must be in [0,31]
61
Fatal Error
offset not half-word aligned
62
Fatal Error
expected condition register cr0-3 only
63
Fatal Error
b-n must be in [0,63]
64
Fatal Error
constant must be in [0,64]
65
Fatal Error
n must be in [0,32]
66
Fatal Error
n must be in [1,32]
67
Fatal Error
constant must be in [0,255]
68
Fatal Error
la without .using
69
Fatal Error
b+n must be in [0,63]
70
Fatal Error
illegal relocation
71
Fatal Error
n must be in [0,31]
72
Fatal Error
expected segment register
204
MULTI: Toolchain Error Messages

Errors 1 to 99
73
Fatal Error
n must be in [0,64]
74
Fatal Error
constant must be in [-32768,65535]
75
Fatal Error
constant must be in [0,4]
76
Fatal Error
expected address
77
Fatal Error
constant must be 0 or 1
78
Fatal Error
constant must be in [-32767,32768]
79
Fatal Error
constant must be in [0,7]
80
Fatal Error
offset must be in [-2048,2047]
81
Fatal Error
expected 0 or 1
82
Fatal Error
constant must be in [0,15]
83
Fatal Error
(b+n) must be in [0,31]
84
Fatal Error
offset must be in [-32768,32767]
85
Fatal Error
expected TB (268) or TBU (269)
86
Fatal Error
offset must be multiple of 8 and in [0,248]
87
Fatal Error
Illegal TH value
Green Hills Software
205

Chapter 3. Assembler Error Messages
88
Fatal Error
offset must be in [0,60]
89
Fatal Error
b must be in [0,31]
90
Fatal Error
L=1 invalid for 32-bit implemenation
91
Fatal Error
offset must be in [-128,127]
92
Fatal Error
expected 16-bit signed immediate
93
Fatal Error
expected SCI8 formated immediate
94
Non-Fatal Error
use of reserved trace register
95
Fatal Error
expected 20-bit signed immediate
96
Fatal Error
constant must be in [-524288,524287]
97
Fatal Error
expected 16-bit unsigned immediate
98
Warning
constant encoding requires sign extension
99
Fatal Error
.novle is not compatible with -convert_to_vle
Errors 100 to 199
100
Fatal Error
INTEGRITY TimeMachine instrumentation error
101
Fatal Error
undefined temp label
206
MULTI: Toolchain Error Messages

Errors 100 to 199
102
Fatal Error
bad 387 register number
103
Fatal Error
no such temporary label
104
Non-Fatal Error
label must be in range 0..65535
105
Fatal Error
Expected =label
106
Fatal Error
Expected const shift count
107
Fatal Error
Illegal Binary Coded Decimal value
108
Fatal Error
Expected shift amount 2
109
Fatal Error
.equ symbol may not be redefined
111
Fatal Error
register name may not be reused as a label
112
Fatal Error
register name or other keyword may not be reused as a label
113
Non-Fatal Error
multiply defined
114
Fatal Error
reference not addressable
115
Fatal Error
expected identifier
116
Fatal Error
value changed after use
117
Fatal Error
illegal assignment type change
Green Hills Software
207

Chapter 3. Assembler Error Messages
118
Fatal Error
expected comma
119
Fatal Error
Cannot weak this
120
Warning
Symbol table cannot express a global symbol set to an undefined
symbol
121
Non-Fatal Error
Expect a push to MIPS .set stack first
122
Fatal Error
weak symbol cannot be set to undefined symbol
123
Fatal Error
dot cannot decrease
124
Non-Fatal Error
Exceed maximum MIPS .set stack level
125
Fatal Error
common symbol cannot be redeclared local; use .lcomm instead
126
Non-Fatal Error
Expected .mips16 or its variants
127
Fatal Error
Missing scope number
128
Non-Fatal Error
Expected .set mips16 or its variants
129
Fatal Error
.export symbol not defined
130
Fatal Error
expected model name
131
Fatal Error
Cannot nest
132
Fatal Error
register names cannot be made external
208
MULTI: Toolchain Error Messages

Errors 100 to 199
133
Fatal Error
Missing line number
134
Fatal Error
label starting with "_" within .beginscope cannot be exported
135
Fatal Error
expected symbol
137
Fatal Error
Unmatched
138
Fatal Error
.tracereg_endnowarn not matched with prior .tracereg_nowarn
139
Warning
Currently, only the FLAT model is supported
140
Fatal Error
.import symbol was defined
142
Fatal Error
expected comment delimiter
143
Fatal Error
Missing function name
144
Fatal Error
expected new line
145
Warning
unsupported directive
146
Non-Fatal Error
Cannot declare symbol weak after definition
147
Non-Fatal Error
No output file name assigned
148
Fatal Error
expected immediate or label
149
Non-Fatal Error
Unsupported operator
Green Hills Software
209

Chapter 3. Assembler Error Messages
150
Warning
Relocatable sym1-sym2 value may be incorrect after link-time
function deletion
152
Fatal Error
negative relocation not allowed
153
Fatal Error
expect comma
155
Non-Fatal Error
unterminated .if
156
Fatal Error
Expected register
158
Non-Fatal Error
Subtract of symbols in different sections
160
Fatal Error
Expected , or }
161
Non-Fatal Error
unterminated comment directive
162
Warning
Couldn't open DBO file for patching
163
Fatal Error
Expected `]'
164
Non-Fatal Error
unterminated macro or repeat
165
Fatal Error
illegal addressing mode
167
Warning
Couldn't write to DBO file
170
Non-Fatal Error
negative offset for static symbol - may cause problems with
software update
171
Warning
Couldn't load DBO file for patching
210
MULTI: Toolchain Error Messages

Errors 100 to 199
172
Non-Fatal Error
Error writing to object file
174
Non-Fatal Error
.unexpected end of line
175
Fatal Error
Expected shift operand
176
Fatal Error
First operand must be register
177
Fatal Error
Expected ']'
178
Warning
Unknown issue processing DBO file
179
Fatal Error
cannot convert undefined expr to register
180
Warning
Couldn't open DBO file for writing
181
Non-Fatal Error
Relocatable sym1-sym2 must have sym2 in current section
182
Non-Fatal Error
16-bit offset exceeds 32k, possibly due to big switch statement
(try -bigswitch)
183
Fatal Error
expected register or displacement
184
Fatal Error
'-' illegal for System Registers
185
Fatal Error
overflow
186
Fatal Error
Expected `)'
187
Non-Fatal Error
Couldn't add labels to symbol table in DBO file
Green Hills Software
211

Chapter 3. Assembler Error Messages
188
Fatal Error
Expected general register
189
Fatal Error
alignment must be a power of two
190
Fatal Error
"type" relocations only allowed in tv modules
191
Fatal Error
Expecting comma
192
Fatal Error
.align X mod Y not allowed in special sections
193
Fatal Error
mismatched [] in macro parameter list
194
Fatal Error
undefined symbol used
195
Fatal Error
Branch cannot be expanded
196
Fatal Error
.invalid redeclaration of linkonce type
197
Fatal Error
non-void .scall directive used after void .scall directive
198
Warning
ignoring -g as assembly file originates from source file compiled
with -g and .dbo file already exists
199
Fatal Error
exponent out of range
Errors 200 to 299
200
Fatal Error
too many parameters
201
Fatal Error
unmatched conditional assembly directive
212
MULTI: Toolchain Error Messages

Errors 200 to 299
202
Warning
inexact decimal conversion
203
Fatal Error
too many type specifiers
204
Fatal Error
mismatched <> in macro parameter list
205
Fatal Error
mismatched () or [] in macro parameter list
206
Fatal Error
section attribute must be x, d, r, or b
207
Fatal Error
too many digits in BCD constant
208
Fatal Error
too many nested .include files
209
Fatal Error
expected hex digit
210
Fatal Error
missing ')', ']' or '>'
211
Fatal Error
illegal alignment boundary
212
Fatal Error
local symbol cannot be redeclared common; use .lcomm instead
213
Fatal Error
multiple maxstack values
214
Fatal Error
can't fixup coff symbol scnum
215
Fatal Error
expected end of line or ">" for address
216
Fatal Error
relocation macro illegal here
Green Hills Software
213

Chapter 3. Assembler Error Messages
217
Warning
expected filename
218
Fatal Error
expected ']'
219
Fatal Error
Unable to open include file. Exiting
220
Fatal Error
..maxstack must be used within scope of current function
221
Fatal Error
expected .align X mod Y
222
Fatal Error
The difference of two labels with an offset is not allowed
223
Fatal Error
multiple maxinstances values
224
Fatal Error
.section requires a quoted name
225
Fatal Error
constant must be in [1,3]
226
Fatal Error
.offset directive cannot decrease current offset
227
Fatal Error
type clash
228
Fatal Error
mismatched () in macro parameter list
229
Fatal Error
multiple hi1, lo, sdaoff, etc. per line not allowed
230
Fatal Error
missing single quote
231
Fatal Error
hex digit in decimal literal
214
MULTI: Toolchain Error Messages

Errors 200 to 299
232
Fatal Error
Expecting right parenthesis
233
Fatal Error
expected ", entsize"
234
Fatal Error
missing character constant
235
Fatal Error
newlines in string constant
236
Warning
output file not specified; using default filename
237
Fatal Error
.endx must match .macro/.rept and begin the line
238
Fatal Error
.frameinfo must start with .name
239
Fatal Error
wrong number of hex digits
240
Warning
coff directive specified but assembler is outputing ELF
241
Fatal Error
.bcd constant too large
242
Fatal Error
expected [:|,]
243
Fatal Error
bcd constant is NAN
244
Fatal Error
Too many sections
245
Fatal Error
expected end of line
246
Warning
elf directive specified but assembler is outputing COFF
Green Hills Software
215

Chapter 3. Assembler Error Messages
247
Fatal Error
.float not allowed here
248
Warning
too many digits in mantissa
249
Fatal Error
.radix operand must be B, Q, D or H
250
Fatal Error
unrecognized @type annotation
251
Fatal Error
relocation incompatible with -torn
252
Fatal Error
bad numeric literal
253
Fatal Error
expected positive integer
254
Fatal Error
Expected constant
255
Fatal Error
range error
256
Fatal Error
hi/lo illegal here
257
Fatal Error
void .scall directive used after non-void .scall directive
258
Fatal Error
.fsize must be used within scope of current function
259
Fatal Error
expected comma followed by group name
260
Fatal Error
symbol previously defined
261
Fatal Error
expected group name
216
MULTI: Toolchain Error Messages

Errors 200 to 299
262
Fatal Error
include name too long
263
Fatal Error
relocation type not allowed
264
Warning
ignoring -g as assembly file originates from source file compiled
with -g
265
Fatal Error
multiple fsize values
266
Fatal Error
expected name or 0
267
Fatal Error
Unknown directive
268
Fatal Error
.scall must be used within scope of current function
269
Fatal Error
bad section directive
270
Fatal Error
size out of range
271
Fatal Error
global not found in c_symnum()
273
Fatal Error
value must be in range 0..255
274
Warning
multiple text sections in one file; dwarf 1.1 debug information
eliminated for this file
275
Fatal Error
no coff symbol created
276
Fatal Error
can't set coff symbol scnum
277
Fatal Error
Expected right parenthesis
Green Hills Software
217

Chapter 3. Assembler Error Messages
278
Fatal Error
non zero fill value in .bss-like section
279
Fatal Error
too many COFF relocation table entries
280
Warning
-s0 not allowed with debug info generation; using -s1 instead
281
Fatal Error
expected "bss" or "data"
282
Fatal Error
line too complex
283
Fatal Error
bad size specification for hex constant
284
Warning
illegal octal digit
285
Fatal Error
bad @<val> to .type
286
Fatal Error
expected name
287
Fatal Error
invalid redeclaration of associated linkonce section
288
Fatal Error
division by 0
289
Fatal Error
expected section attributes
290
Fatal Error
recursive macro/rept loop
291
Fatal Error
Expected id
292
Warning
dc doesn't align odd-addressed data & labels. Precede it with
align 2
218
MULTI: Toolchain Error Messages

Errors 300 to 399
293
Fatal Error
undefined fill value
294
Warning
include directory not specified
295
Warning
multiple text sections in one file; debug information eliminated
for this file
296
Warning
immediate encoding requires change of sign
297
Fatal Error
invalid expression
298
Warning
section does not have allocation bit set
299
Fatal Error
.section attribute must be .text, .data, or .bss
Errors 300 to 399
300
Fatal Error
fill not allowed in special sections
301
Fatal Error
relocatable space < 32 bits
302
Fatal Error
fill value out of range
303
Warning
artificial macro has incomplete reference info
304
Fatal Error
.exitm must be invoked inside a macro
305
Fatal Error
Invalid .set syntax
306
Fatal Error
recursive macro/rept loop recurses too deeply
Green Hills Software
219

Chapter 3. Assembler Error Messages
308
Fatal Error
Could not find associated linkonce section
309
Fatal Error
Illegal redefinition of macro
310
Fatal Error
Variable expression not allowed here
311
Fatal Error
relocations of size other than 32 are not supported with COFF
output
312
Fatal Error
bss segment phase error type 1
313
Warning
.fsize directive causing info specified by .frameinfo to be
discarded
314
Fatal Error
bcd constant too small
315
Fatal Error
relocatable or undefined expression size != 32
316
Fatal Error
fail encountered
317
Fatal Error
relocation sizes other than 32 and 64 bits are not supported
318
Fatal Error
can't combine these types for addressing
319
Fatal Error
undefined byte count
320
Fatal Error
statement too complicated
321
Fatal Error
Expected left parenthesis
322
Fatal Error
expected macro name
220
MULTI: Toolchain Error Messages

Errors 300 to 399
323
Fatal Error
Expecting identifier
324
Fatal Error
bcd constant is too large
326
Fatal Error
.radix operand must be 2, 8, 10 or 16
327
Fatal Error
unterminated < in macro argument
328
Fatal Error
Size of section exceeds host memory limit
329
Fatal Error
wrong type
330
Fatal Error
? operators are: ?i ?r ?c
331
Fatal Error
attempt to dump pool in wrong section
332
Fatal Error
Expected string
333
Fatal Error
hex constant too long
334
Fatal Error
c_symnum: null exref in rel entry
335
Fatal Error
unsupported target
336
Fatal Error
unknown section attribute
337
Fatal Error
macro parameter mismatch
338
Fatal Error
expected section flags
Green Hills Software
221

Chapter 3. Assembler Error Messages
339
Fatal Error
unknown linkonce type
340
Fatal Error
.maxinstances must be used within scope of current function
341
Fatal Error
illegal redefinition of section attributes
342
Fatal Error
cannot insert negative-sized space
343
Fatal Error
unexpected parameter
344
Fatal Error
infinite .include loop
345
Warning
syntax is obsolete
346
Fatal Error
illegal >< concatenation operand
347
Fatal Error
special section not closed
348
Fatal Error
expected string
350
Warning
INTEGRITY TimeMachine instrumentation warning: xxxx
351
Fatal Error
Can't create builder information file: xxxx
352
Non-Fatal Error
INTEGRITY TimeMachine instrumentation error: xxxx
353
Fatal Error
Inconsistent operand types: xxxx and xxxx
354
Fatal Error
assignments involving xxxx not allowed
222
MULTI: Toolchain Error Messages

Errors 300 to 399
355
Fatal Error
xxxx undefined
356
Fatal Error
constant must be in [0,####]
357
Fatal Error
range error: immediate value xxxx does not fit in #### bits
358
Fatal Error
constant must be in [xxxx,xxxx]
359
Fatal Error
illegal character (####) 'xxxx'
361
Non-Fatal Error
Section xxxx is larger than xxxx bytes
362
Fatal Error
Expected ',' or 'xxxx'
364
Warning
overflow warning
365
Fatal Error
.error
366
Warning
.warning
367
Fatal Error
Assertion failed
368
Fatal Error
type clash, operator='xxxx'
369
Fatal Error
directive not supported without -asm3g option
370
Fatal Error
unable to write to temp file "xxxx"
371
Fatal Error
could not close dependencies file
Green Hills Software
223

Chapter 3. Assembler Error Messages
372
Fatal Error
directive not supported by the current target configuration
373
Fatal Error
unknown object "xxxx"
374
Fatal Error
object "xxxx" does not have struct/class/union type
375
Fatal Error
struct "xxxx" has no field "xxxx"
376
Fatal Error
field "xxxx" in struct "xxxx" does not have struct/class/union
type
377
Fatal Error
unable to process import file "xxxx"
378
Fatal Error
Could not convert, no equivalent VLE instruction exists
379
Fatal Error
Could not convert, operands are not compatible with any
equivalent VLE instructions
380
Non-Fatal Error
reference to blacklisted symbol
381
Non-Fatal Error
definition of blacklisted symbol
Errors 2000 to 2099
2001
Fatal Error
this register is used in a S4 instruction previously
2002
Fatal Error
expected '}', ',' or '-' while parsing reglist
2003
Fatal Error
immediate constant expected
2004
Fatal Error
not within valid xxxx range
224
MULTI: Toolchain Error Messages

Errors 2000 to 2099
2005
Fatal Error
parameter cannot be r0 on this architecture
2006
Fatal Error
expected '{' at start of reglist
2007
Fatal Error
register cannot be > wr16 in S4 instructions in MPX4Half mode
2008
Fatal Error
this register is used in a S1/S2 instruction previously
2009
Fatal Error
out of range
2011
Fatal Error
expected register while parsing reglist
2012
Fatal Error
illegal register for this reglist
2013
Fatal Error
comma expected
2014
Fatal Error
expected a xxxx
2015
Fatal Error
internal ease error: reghi > reglo+32
2016
Fatal Error
expected a replicated immediate with #### identical ####-bit
values
2018
Fatal Error
expected an immediate with prefix 'xxxx'
2019
Fatal Error
xxxx constant or relocatable expected
2021
Fatal Error
expected least-significant bit to be zero
2022
Fatal Error
Out of range sub-data specification '####'
Green Hills Software
225

Chapter 3. Assembler Error Messages
2023
Fatal Error
not within valid xxxx set
2024
Fatal Error
expected #### least-significant bits to be zero
2025
Fatal Error
unmatched text
2026
Fatal Error
expected substring "xxxx"
2027
Fatal Error
unexpected text before substring "xxxx"
2028
Fatal Error
numeric label not found
2029
Fatal Error
end-of-line expected
2030
Fatal Error
xxxx is an invalid diagnostic number
2031
Non-Fatal Error
unrecoginzed rh850 fpsimd mode: xxxx
2032
Non-Fatal Error
reg3 cannot be r0 or the same as reg2
2033
Non-Fatal Error
Only one rh850_flags directive allowed
2034
Non-Fatal Error
bit instruction found
2035
Non-Fatal Error
Bad rh850_flag, ep(r30) is previously set to fixed
2036
Non-Fatal Error
Bad rh850_flag, double-precision is previously set to 32 bits
2037
Non-Fatal Error
Bad rh850_flag, FPU version is previously set to FPU2.0
226
MULTI: Toolchain Error Messages

Errors 2000 to 2099
2038
Non-Fatal Error
Bad rh850_flag, FPU version is previously set to FPU3.0
2039
Non-Fatal Error
Bad rh850_flag, FPSIMD Full mode is disabled
2040
Non-Fatal Error
Bad rh850_flag, r2 is previously set to reserved
2041
Non-Fatal Error
Bad rh850_flag, FPSIMD Half mode is disabled
2042
Non-Fatal Error
Bad rh850_flag, data alignment is previously set to 4 bytes
2043
Warning
unrecognized cpu type: xxxx
2044
Non-Fatal Error
Unrecognized rh850_flag
2045
Non-Fatal Error
Bad rh850_flag, register mode is previously set to 32
2046
Non-Fatal Error
Bad rh850_flag, data alignment is previously set to 8 bytes
2047
Non-Fatal Error
Bad rh850_flag, gp(r4) is previously set to non-fixed
2048
Non-Fatal Error
Bad rh850_flag, FPSIMD is disabled
2049
Non-Fatal Error
Bad rh850_flag, tp(r5) is previously set to fixed
2050
Non-Fatal Error
Bad rh850_flag, tp(r5) is previously set to non-fixed
2051
Non-Fatal Error
Bad rh850_flag, SIMD is disabled
2052
Non-Fatal Error
Bad rh850_flag, FPU is disabled
Green Hills Software
227

Chapter 3. Assembler Error Messages
2053
Non-Fatal Error
Bad rh850_flag, ep(r30) is previously set to non-fixed
2054
Non-Fatal Error
Bad rh850_flag, gp(r4) is previously set to fixed
2055
Non-Fatal Error
Bad rh850_flag, r2 is previously set to non-reserved
2056
Non-Fatal Error
Bad rh850_flag, register mode is previously set to 22
2057
Non-Fatal Error
Bad rh850_flag, double-precision is disabled
2058
Warning
cpu already set, ignoring option: -cpu=xxxx
2059
Non-Fatal Error
Bad rh850_flag, double-precision is previously set to 64 bits
2060
Fatal Error
no files to assemble. Use -help for help
2061
Non-Fatal Error
Could not read comment file xxxx
2062
Warning
cannot redirect stderr to xxxx
2063
Fatal Error
expected a macro invocation
2064
Warning
Couldn't open DBO file for writing
Unable to open a file containing Green Hills debugging information for writing in
order to patch in additional information from the assembler.
2065
Fatal Error
instruction unsupported in this context
2066
Warning
Couldn't load DBO file for patching
A problem occurred when loading a file containing Green Hills debugging information
in order to patch in additional information from the assembler.
228
MULTI: Toolchain Error Messages

Errors 2000 to 2099
2067
Fatal Error
unknown instruction
2068
Fatal Error
no default value to macro parameter
2069
Warning
Couldn't open DBO file for patching
Unable to open a file containing Green Hills debugging information for reading in
order to patch in additional information from the assembler.
2070
Warning
Couldn't write to DBO file
A problem occurred when writing a file containing Green Hills debugging information
after patching in additional information from the assembler.
2071
Fatal Error
bad parameter
2072
Fatal Error
label multiply defined
2073
Warning
unknown option: xxxx
2074
Warning
Unknown issue processing DBO file
An unknown problem occurred while processing a file containing Green Hills
debugging information in order to patch in additional information from the assembler.
This warning is not currently given.
2075
Fatal Error
can't concatenate here
2076
Non-Fatal Error
Couldn't add labels to symbol table in DBO file
A problem occurred while patching addition information from the assembler into a
file containing Green Hills debugging information.
2077
Fatal Error
diagnostic xxxx cannot be suppressed
2078
Fatal Error
diagnostic xxxx cannot be demoted to a warning
Green Hills Software
229

Chapter 3. Assembler Error Messages
2079
Fatal Error
gen_fopen() error on file "xxxx" in INCBIN directive
2080
Fatal Error
fseek()/ftell() error on file "xxxx" in INCBIN directive
2081
Fatal Error
fread() error on file "xxxx" in INCBIN directive
2082
Non-Fatal Error
assertion failed at line ####
2083
Fatal Error
info: xxxx
2084
Non-Fatal Error
jtentry data does not fit in halfword
2085
Fatal Error
line ####: invalid newline within symbol
2086
Fatal Error
line ####: invalid semicolon within symbol
2087
Fatal Error
-PD must be preceded by -armuk
The -armuk option must be specified on the command line before options that declare
and set ARM UK Assembler Predefines. This error is specific to the ARM target
architecture.
2088
Fatal Error
-PD: unable to find SET[A|S|L] directive in 'xxxx'
2089
Non-Fatal Error
Arm UK macro parameters must start with '$'
2093
Fatal Error
expected ')' in parameter list
2094
Fatal Error
EOF unexpected
2095
Fatal Error
cannot find file xxxx
230
MULTI: Toolchain Error Messages

Errors 2100 to 2199
2096
Fatal Error
Too many ELF sections
2097
Non-Fatal Error
illegal redefinition of non-label symbol xxxx
2098
Fatal Error
write to ELF file failed
2099
Non-Fatal Error
missing dependency information in do_dependency_file()
Errors 2100 to 2199
2100
Non-Fatal Error
multiple fsize values for xxxx
2101
Non-Fatal Error
multiple maxstack values for xxxx
2102
Non-Fatal Error
multiple maxinstances values for xxxx
2103
Fatal Error
xxxx illegal here
2105
Fatal Error
invalid rotated immediate
2106
Fatal Error
Use of reserved trace register
2107
Fatal Error
destination registers are equal
2108
Fatal Error
Writeback not permitted for store multiple of user registers
2109
Fatal Error
Writeback not permitted for load multiple of user registers not
including PC
2110
Fatal Error
expected a register
Green Hills Software
231

Chapter 3. Assembler Error Messages
2111
Warning
INTEGRITY TimeMachine instrumentation warning (line ####): code
outside function; instrumentation suppressed
2112
Warning
unrecognized fpu type: xxxx
2113
Warning
invalid eflags value: xxxx
2114
Warning
AREA both CODE and READWRITE: creating nonstandard .text section
with WRITE flag
2115
Warning
OPT: unsupported option(s) set
2116
Warning
Store multiple of base register with writeback may have
unpredictable results
2117
Warning
Load multiple of base register with writeback may have
unpredictable results
2118
Warning
Thumb2 load/store multiple with fewer than 2 registers in mask
may have unpredictable results
2119
Warning
apcs options used only under -armuk flag
The -armuk option must be specified on the command line before -apcs= options that
set the values of simulated ARM Ltd. internal variables. This error is specific to the
ARM target architecture.
2120
Warning
-apcs parameter 'xxxx' unrecognized at position xxxx
2121
Warning
Arm UK macro parameters: one token only, read as string
Encountered more than one token for the value of an ARM UK macro parameter. This
error is specific to the ARM target architecture.
2122
Warning
frame address <reg>,<offset>: not supported
232
MULTI: Toolchain Error Messages

Errors 2100 to 2199
2123
Warning
frame address <reg>: not supported
2124
Warning
frame pop <integer>: not supported
2125
Warning
frame pop {<registers>}: not supported
2126
Warning
frame push <integer>: not supported
2127
Warning
frame push {<registers>}: not supported
2128
Warning
frame register: not supported
2129
Warning
frame restore: not supported
2130
Warning
frame save: not supported
2131
Warning
frame state remember: not supported
2132
Warning
frame state restore: not supported
2133
Warning
require8: not supported
2134
Warning
preserve8: not supported
2135
Warning
entry: not supported
2136
Warning
section xxxx has been assigned multiple types (old:#### new:####)
2137
Warning
cannot create .inf file
Green Hills Software
233

Chapter 3. Assembler Error Messages
2138
Warning
Instruction length exceeds maximum for source-line debug info
The number of bytes of machine code associated with a particular instruction exceeds
the limit for what can be represented in the source line table of the debugging
information.
2139
Warning
ignoring -g as assembly file originates from source file compiled
with -g and .dbo file already exists
The assembler is not generating debugging information for a source file because it
detected symbols in that file that indicate the compiler has already generated the
information and the associated file containing the information is known to exist.
2140
Warning
ignoring -g as assembly file originates from source file compiled
with -g
The assembler is not generating debugging information for a source file because it
detected symbols in that file that indicate the compiler has already generated the
information.
2141
Warning
.fsize directive causing info specified by .frameinfo to be
discarded
2142
Warning
use of deprecated .hidemacro. This feature will be removed
shortly!!!
2143
Warning
questionable assignment of pointer value to "xxxx" field
2144
Warning
questionable assignment of non-zero integer value to "xxxx" field
2145
Warning
Ignoring unknown section attribute
2146
Warning
Truncating to -1
2147
Non-Fatal Error
.thumb not supported with this configuration
2148
Non-Fatal Error
.thumb2 not supported with this configuration
234
MULTI: Toolchain Error Messages

Errors 2100 to 2199
2149
Non-Fatal Error
.nothumb not supported with this configuration
2150
Non-Fatal Error
invalid aligned-data directive
2151
Non-Fatal Error
AREA cannot be both READONLY and READWRITE
2152
Non-Fatal Error
AREA cannot be both CODE and DATA
2153
Non-Fatal Error
AREA both CODE and NOINIT not supported
2154
Non-Fatal Error
AREA both READONLY and NOINIT not supported
2155
Non-Fatal Error
expected string or constant expression
2156
Non-Fatal Error
bad expression
2157
Non-Fatal Error
expected [WEAK]
2158
Non-Fatal Error
invalid symbol
2159
Non-Fatal Error
Too late to ban floating point instructions
A directive was used to disable the use of floating-point instructions after at least one
such instruction had already been seen.
2160
Non-Fatal Error
invalid parameter (0 <= OPT parameter < 65536)
2161
Non-Fatal Error
unmatched preprocessor directive
2162
Non-Fatal Error
invalid ARM renaming directive
2163
Non-Fatal Error
invalid register
Green Hills Software
235

Chapter 3. Assembler Error Messages
2164
Non-Fatal Error
jtdispatch only supported in V4 and above
2165
Non-Fatal Error
register out of bounds
2166
Non-Fatal Error
no jtentry table after previous/only jtdispatch
2167
Non-Fatal Error
jtdispatch: invalid parameter(s)
2168
Non-Fatal Error
label has been previously defined
2169
Non-Fatal Error
symbol may not be equated to expression using dot operator
2170
Non-Fatal Error
attempt to redefine to a different value
2173
Non-Fatal Error
unsupported directive
2174
Non-Fatal Error
no corresponding jtentry lines with data
2175
Non-Fatal Error
bad/no corresponding jtdispatch
2176
Fatal Error
cannot find file "xxxx" referenced in INCBIN directive
2177
Non-Fatal Error
Overlapping IT instructions
2178
Non-Fatal Error
Invalid condition code
2179
Fatal Error
unexpected token type (xxxx) encountered; expected type (xxxx)
2180
Non-Fatal Error
undeclared substituted variable
236
MULTI: Toolchain Error Messages

Errors 2100 to 2199
2181
Non-Fatal Error
Invalid 0-length variable ($ at end of id/string)
2182
Non-Fatal Error
Invalid substituted variable (or $ in id/string)
2183
Non-Fatal Error
local label outside any routine or area scope
2184
Non-Fatal Error
local label routine-name mismatches current routine
2185
Non-Fatal Error
invalid local label (post-first-pass)
2186
Non-Fatal Error
local label must begin with a number (after '%' and flags)
2187
Non-Fatal Error
local label ref outside routine or area scope
2188
Non-Fatal Error
local label ref routine-name mismatches current routine
2189
Non-Fatal Error
local label not found
2190
Non-Fatal Error
Cannot mix Arm UK and GHS macro syntax in the same file
2191
Non-Fatal Error
.Arm UK-style label parameters to macros must start with $
2192
Non-Fatal Error
function/proc directive must be preceded by a label
2193
Non-Fatal Error
cannot nest function/proc directives
2194
Non-Fatal Error
no corresponding function/proc directive
2195
Non-Fatal Error
frame directive must be within proc/endp directives
Green Hills Software
237

Chapter 3. Assembler Error Messages
2196
Non-Fatal Error
expected number or register list
2197
Non-Fatal Error
expected register list
2198
Non-Fatal Error
invalid frame state operation
2199
Non-Fatal Error
invalid frame operation
Errors 2200 to 2299
2200
Non-Fatal Error
ROUT: may only be preceded by a label
2201
Non-Fatal Error
MAP directive expected absolute or section-relative parameter
2202
Non-Fatal Error
MAP directive expected register as second parameter
2203
Non-Fatal Error
MAP directive: register-base cannot have section-relative offset
2204
Non-Fatal Error
FIELD directive without MAP directive
2205
Fatal Error
cannot find file "xxxx" referenced in .inspect directive
2207
Non-Fatal Error
a variable and an EQU definition cannot share names
2208
Non-Fatal Error
undeclared variable
2209
Non-Fatal Error
type mismatch
2210
Non-Fatal Error
unterminated string constant
238
MULTI: Toolchain Error Messages

Errors 2200 to 2299
2211
Non-Fatal Error
non-void .scall directive used after void .scall directive
Encountered a .scall directive indicating that a function makes a static call after an
earlier directive indicated that the same function makes no calls.
2212
Non-Fatal Error
void .scall directive used after non-void .scall directive
Encountered a .scall directive indicating that a function makes no static calls after
an earlier directive indicated that the same function makes at least one call.
2213
Non-Fatal Error
section stack empty
2214
Non-Fatal Error
illegal macro redefinition
2215
Non-Fatal Error
label parameters to macros not supported
2216
Non-Fatal Error
default values for macro parameters not supported
Default values for macro parameters are not supported when not in -armuk mode.
This error is specific to the ARM target architecture.
2217
Non-Fatal Error
Only one use of .macronextline per macro allowed
2218
Non-Fatal Error
expected .assert constant_expr [, "message"]
2219
Non-Fatal Error
unexpected .else
2220
Non-Fatal Error
unexpected .elseif
2221
Non-Fatal Error
macro doesn't exist
2222
Non-Fatal Error
illegal redefinition
2223
Non-Fatal Error
.radix operand must be B, Q, D, or H
Green Hills Software
239

Chapter 3. Assembler Error Messages
2224
Non-Fatal Error
expected filename in quotes
2225
Non-Fatal Error
expected comma or end-of-line
2226
Non-Fatal Error
expected struct type name followed by variable name
2227
Non-Fatal Error
Expected struct keyword
2228
Non-Fatal Error
Expected struct name in .extern struct
2229
Non-Fatal Error
Expected struct variable name in .extern struct
2230
Non-Fatal Error
bad directive
This error is given in various cases where a supported assembler directive is used
incorrectly. See the documentation for the offending directive for information about
its proper usage and syntax.
2231
Non-Fatal Error
label undefined
2232
Non-Fatal Error
expected 'mod'
2233
Non-Fatal Error
expected 0..31
2234
Non-Fatal Error
unknown type
2235
Non-Fatal Error
do not allow nested .dsect blocks
2236
Non-Fatal Error
unexpected in .dsect block
2237
Non-Fatal Error
Cannot set global symbol to RHS not defined in this file
240
MULTI: Toolchain Error Messages

Errors 2200 to 2299
2238
Non-Fatal Error
RHS must be defined in this file
2239
Non-Fatal Error
Expected 32-bit value
2240
Non-Fatal Error
Failed to find function name for .fsize
Unable to match a .fsize directive to a specific function. Only happens on targets
where the function is not a required argument to the directive.
2241
Non-Fatal Error
Failed to find source function name for .scall
Unable to match a .scall directive to a specific function. Only happens on targets
where the caller is not a required argument to the directive.
2242
Non-Fatal Error
Cannot nest
2243
Non-Fatal Error
Not allowed inside of a macro
2244
Non-Fatal Error
Line number too large
2245
Non-Fatal Error
Scope number too large
2246
Non-Fatal Error
Unmatched directive
2247
Non-Fatal Error
Value too large
2248
Non-Fatal Error
unhandled directive
2249
Non-Fatal Error
syntax error in sizeof() expression
2250
Non-Fatal Error
syntax error in offsetof() expression
2251
Fatal Error
expected expression
Green Hills Software
241

Chapter 3. Assembler Error Messages
2252
Fatal Error
expected absolute expression
2253
Fatal Error
expected constant expression
2254
Fatal Error
expected boolean expression
2255
Fatal Error
expected string expression
2256
Fatal Error
the predicate parser failed
2257
Non-Fatal Error
numeric/temporary labels are obsolete use .macrolocal instead
or pass -temporary_labels for transition mode support
2258
Non-Fatal Error
initializer data overlaps
2259
Non-Fatal Error
A value of type "xxxx" cannot be used to initialize a field of
type "xxxx"
2260
Non-Fatal Error
more initializers than array elements
2261
Non-Fatal Error
expected ',' or '}' in array initializer
2262
Non-Fatal Error
expected at least one initializer in array initializer
2263
Non-Fatal Error
struct/class/union "xxxx" has no field "xxxx"
2264
Non-Fatal Error
field name must be specified after nested field designator is
used
2265
Non-Fatal Error
too many field initializer values
242
MULTI: Toolchain Error Messages

Errors 2200 to 2299
2266
Non-Fatal Error
bitfields cannot be initialized
The assembler does not currently support initializing bitfields in .struct directives.
2267
Non-Fatal Error
expected ',' or '}' in struct initializer
2268
Non-Fatal Error
string literal cannot initialize a field of type "xxxx"
2269
Non-Fatal Error
aggregate initializer expected
2270
Non-Fatal Error
floating point fields cannot be initialized
The assembler does not currently support initializing floating-point fields in .struct
directives.
2271
Non-Fatal Error
cannot initialize field of "xxxx" type with pointer value
2272
Non-Fatal Error
cannot initialize field of "xxxx" type with value of "int" type
2273
Non-Fatal Error
unable to initialize field to that integer type
Encountered an initializer in a .struct directive for an integer type whose size is
not 1, 2, 4, or 8 bytes.
2274
Non-Fatal Error
syntax error in initializer
2275
Non-Fatal Error
expected array initializer
2276
Non-Fatal Error
redefinition of "xxxx" as "struct xxxx", previously "struct xxxx"
2277
Non-Fatal Error
unknown struct "xxxx"
2278
Non-Fatal Error
name "xxxx" refers to type "xxxx", not a struct/class/union type
Green Hills Software
243

Chapter 3. Assembler Error Messages
2279
Non-Fatal Error
syntax error in field selection
2280
Non-Fatal Error
left hand side of field selection operator is a type, not a
variable
2281
Non-Fatal Error
could not create label
2282
Non-Fatal Error
syntax error in array length expression
2283
Non-Fatal Error
expected struct initializer or ';'
2284
Non-Fatal Error
initializer required when unspecified-length array is declared
2285
Non-Fatal Error
relocatable expected
2286
Fatal Error
different numbers of macro parameter names and values
2287
Fatal Error
symbol table too large
The symbol table contains too many entries to be written in the ELF file format.
2288
Fatal Error
Offset of section name in string table must fit in 32 bits
2289
Fatal Error
unknown construct encountered
Encountered a construct that was not recognized as a legal directive, macro, label, or
instruction.
2290
Fatal Error
unable to create dir "xxxx" for source listing
2291
Fatal Error
more tokens expected
2292
Fatal Error
can't parse pool expression
244
MULTI: Toolchain Error Messages

Errors 2300 to 2399
2293
Fatal Error
unexpected tokens after ldr <register>,=<expression>
pseudoinstruction
2294
Fatal Error
can't evaluate pool expression
2295
Non-Fatal Error
directive not supported without -asm3g option
2296
Non-Fatal Error
directive not supported by the current target configuration
2297
Non-Fatal Error
unable to process import file "xxxx"
2298
Non-Fatal Error
unable to write to temp file "xxxx"
A problem occurred while attempting to write to a temporary file as part of handling
a .inspect directive.
2299
Non-Fatal Error
could not close dependencies file
Errors 2300 to 2399
2300
Non-Fatal Error
unknown object "xxxx"
2301
Non-Fatal Error
struct "xxxx" has no field "xxxx"
2302
Non-Fatal Error
object "xxxx" does not have struct/class/union type
2303
Non-Fatal Error
field "xxxx" in struct "xxxx" does not have struct/class/union
type
2304
Fatal Error
failed to open file: xxxx
Green Hills Software
245

Chapter 3. Assembler Error Messages
2305
Non-Fatal Error
xxxx ####: memory address (0x####) exceeded the maximum available
address (0x####)
2306
Warning
unrecognized output format: xxxx
2307
Fatal Error
relocation of address counter to (0x####) overwrites previously
assembled results
2308
Fatal Error
address counter relocation (0x####) not multiples of 4
2309
Warning
include file not specified for .cinclude
2310
Non-Fatal Error
bad width, must be less than or equal to instruction width, which
is 32
2311
Fatal Error
address counter relocation not multpiles of 4
2312
Non-Fatal Error
the expression value cannot be represented by 32 bits
2313
Non-Fatal Error
cannot overwrite a previously defined label or variable
2314
Fatal Error
relocation of address counter overwrites previously assembled
results
2315
Non-Fatal Error
character not allowed in an option
2316
Non-Fatal Error
the .cmdline directive is only allowed as a first statement of
the source file
2317
Non-Fatal Error
cannot overwrite a previously defined label
246
MULTI: Toolchain Error Messages

Errors 2300 to 2399
2318
Non-Fatal Error
the expression value cannot be represented within the specified
width
2319
Non-Fatal Error
cannot overwrite a register symbol
2320
Warning
.warning
2321
Non-Fatal Error
.error
2322
Non-Fatal Error
File error opening blacklist file xxxx; skipping blacklist
2323
Non-Fatal Error
Blacklisted symbol xxxx is referenced
2324
Non-Fatal Error
Blacklisted symbol xxxx is declared
Green Hills Software
247


Document Outline


Last modified October 12, 2025: Initial commit (ddf2e20)