19. Error Messages#
|
last_line_incomplete:last line of file ends without a newline
|
|
last_line_backslash:last line of file ends with a backslash
|
|
include_recursion:#include file “xxxx” includes itself
|
|
out_of_memory:out of memory
|
|
comment_unclosed_at_eof:comment unclosed at end of file
|
|
bad_token:unrecognized token
|
|
unclosed_string:missing closing quote
|
|
nested_comment:nested comment is not allowed
|
|
bad_use_of_sharp:“#” not expected here
|
|
bad_pp_directive_keyword:unrecognized preprocessing directive
|
|
end_of_flush:parsing restarts here after previous syntax error
|
|
exp_file_name:expected a file name
|
|
extra_text_in_pp_directive:extra text after expected end of preprocessing directive
|
|
exp_rbracket:expected a “]”
|
|
exp_rparen:expected a “)”
|
|
extra_chars_on_number:extra text after expected end of number
|
|
undefined_identifier:identifier “xxxx” is undefined
|
|
useless_type_qualifiers:type qualifiers are meaningless in this declaration
|
|
bad_hex_digit:invalid hexadecimal number
|
|
integer_too_large:integer constant is too large
|
|
bad_octal_digit:invalid octal digit
|
|
zero_length_string:quoted string should contain at least one character
|
|
too_many_characters:too many characters in character constant
|
|
bad_character_value:character value is out of range
|
|
expr_not_constant:expression must have a constant value
|
|
exp_primary_expr:expected an expression
|
|
bad_float_value:floating constant is out of range
|
|
expr_not_integral:expression must have integral type
|
|
expr_not_arithmetic:expression must have arithmetic type
|
|
exp_line_number:expected a line number
|
|
bad_line_number:invalid line number
|
|
error_directive:#error directive: xxxx
|
|
missing_pp_if:the #if for this directive is missing
|
|
missing_endif:the #endif for this directive is missing
|
|
pp_else_already_appeared:directive is not allowed – an #else has already appeared
|
|
divide_by_zero:division by zero
|
|
exp_identifier:expected an identifier
|
|
expr_not_scalar:expression must have arithmetic or pointer type
|
|
incompatible_operands:operand types are incompatible (“type” and “type”)
|
|
expr_not_pointer:expression must have pointer type
|
|
cannot_undef_predef_macro:#undef may not be used on this predefined name
|
|
cannot_redef_predef_macro:“entity” is predefined; attempted redefinition ignored
|
|
bad_macro_redef:incompatible redefinition of macro “entity” (declared at line
xxxx)
|
|
duplicate_macro_param_name:duplicate macro parameter name
|
|
paste_cannot_be_first:“##” may not be first in a macro definition
|
|
paste_cannot_be_last:“##” may not be last in a macro definition
|
|
exp_macro_param:expected a macro parameter name
|
|
exp_colon:expected a “:”
|
|
too_few_macro_args:too few arguments in invocation of entity-kind “entity”
|
|
too_many_macro_args:too many arguments in invocation of entity-kind “entity”
|
|
sizeof_function:operand of sizeof may not be a function
|
|
bad_constant_operator:this operator is not allowed in a constant expression
|
|
bad_pp_operator:this operator is not allowed in a preprocessing expression
|
|
bad_constant_function_call:function call is not allowed in a constant expression
|
|
bad_integral_operator:this operator is not allowed in an integral constant expression
|
|
integer_overflow:integer operation result is out of range
|
|
negative_shift_count:shift count is negative
|
|
shift_count_too_large:shift count is too large
|
|
useless_decl:declaration does not declare anything
|
|
exp_semicolon:expected a “;”
|
|
enum_value_out_of_int_range:enumeration value is out of “int” range
|
|
exp_rbrace:expected a “}”
|
|
integer_sign_change:integer conversion resulted in a change of sign
|
|
integer_truncated:integer conversion resulted in truncation
|
|
incomplete_type_not_allowed:incomplete type “type” is not allowed
|
|
sizeof_bit_field:operand of sizeof may not be a bit field
|
|
bad_indirection_operand:operand of “*” must be a pointer but has type “type”
|
|
empty_macro_argument:argument to macro is empty
|
|
missing_decl_specifiers:this declaration has no storage class or type specifier
|
|
initializer_in_param:a parameter declaration may not have an initializer
|
|
exp_type_specifier:expected a type specifier
|
|
storage_class_not_allowed:a storage class may not be specified here
|
|
mult_storage_classes:more than one storage class may not be specified
|
|
storage_class_not_first:storage class is not first
|
|
dupl_type_qualifier:type qualifier specified more than once
|
|
bad_combination_of_type_specifiers:invalid combination of type specifiers
|
|
bad_param_storage_class:invalid storage class for a parameter
|
|
bad_function_storage_class:invalid storage class for a function
|
|
type_specifier_not_allowed:a type specifier may not be used here
|
|
array_of_function:array of functions is not allowed
|
|
array_of_void:array of void is not allowed
|
|
function_returning_function:function returning function is not allowed
|
|
function_returning_array:function returning array is not allowed
|
|
param_id_list_needs_function_def:identifier-list parameters may only be used in a function definition
|
|
function_type_must_come_from_declarator:function type may not come from a typedef
|
|
array_size_must_be_positive:the size of an array must be greater than zero
|
|
array_size_too_large:array is too large
|
|
empty_translation_unit:a translation unit must contain at least one declaration
|
|
bad_function_return_type:a function may not return a value of this type
|
|
bad_array_element_type:an array may not have elements of this type
|
|
decl_should_be_of_param:a declaration here must declare a parameter
|
|
dupl_param_name:duplicate parameter name
|
|
id_already_declared:“xxxx” has already been declared in the current scope
|
|
nonstd_forward_decl_enum:forward declaration of enum type is nonstandard
|
|
class_too_large:class is too large
|
|
struct_too_large:struct or union is too large
|
|
bad_bit_field_size:invalid size for bit field
|
|
bad_bit_field_type:invalid type for a bit field
|
|
zero_length_bit_field_must_be_unnamed:zero-length bit field must be unnamed
|
|
signed_one_bit_field:signed bit field of length 1
|
|
expr_not_ptr_to_function:expression preceding parentheses of apparent call must have
(pointer-to-) function type
|
|
exp_definition_of_tag:expected either a definition or a tag name
|
|
code_is_unreachable:statement is unreachable
|
|
exp_while:expected “while”
|
|
never_defined:entity-kind “entity” was referenced but not defined
|
|
continue_must_be_in_loop:a continue statement may only be used within a loop
|
|
break_must_be_in_loop_or_switch:a break statement may only be used within a loop or switch
|
|
no_value_returned_in_non_void_function:non-void entity-kind “entity” should return a value
|
|
value_returned_in_void_function:a void function may not return a value
|
|
cast_to_bad_type:cast to type “type” is not allowed
|
|
bad_return_value_type:return value type does not match the function type
|
|
case_label_must_be_in_switch:a case label may only be used within a switch
|
|
default_label_must_be_in_switch:a default label may only be used within a switch
|
|
default_label_appears_more_than_once:default label has already appeared in this switch
|
|
exp_lparen:expected a “(”
|
|
expr_not_an_lvalue:expression must be an lvalue
|
|
exp_statement:expected a statement
|
|
loop_not_reachable:loop is not reachable
|
|
block_scope_function_must_be_extern:a block-scope function may only have extern storage class
|
|
exp_lbrace:expected a “{”
|
|
expr_not_ptr_to_class:expression must have pointer-to-class type but it has type “type”
|
|
expr_not_ptr_to_struct_or_union:expression must have pointer-to-struct-or-union type but it has type
“type”
|
|
exp_member_name:expected a member name
|
|
exp_field_name:expected a field name
|
|
not_a_member:entity-kind “entity” has no member “xxxx”
|
|
not_a_field:entity-kind “entity” has no field “xxxx”
|
|
expr_not_a_modifiable_lvalue:expression must be a modifiable lvalue
|
|
address_of_register_variable:taking the address of a register variable is not allowed
|
|
address_of_bit_field:taking the address of a bit field is not allowed
|
|
too_many_arguments:too many arguments in function call
|
|
all_proto_params_must_be_named:unnamed prototyped parameters not allowed when body is present
|
|
expr_not_pointer_to_object:expression must have pointer-to-object type but it has type “type”
|
|
program_too_large:program too large or complicated to compile
|
|
bad_initializer_type:a value of type “type” cannot be used to initialize an entity of
type “type”
|
|
cannot_initialize:entity-kind “entity” may not be initialized
|
|
too_many_initializer_values:too many initializer values
|
|
not_compatible_with_previous_decl:declaration is incompatible with entity-kind “entity” (declared
at line xxxx)
|
|
already_initialized:entity-kind “entity” has already been initialized
|
|
bad_file_scope_storage_class:a global-scope declaration may not have this storage class
|
|
type_cannot_be_param_name:a type name may not be redeclared as a parameter
|
|
typedef_cannot_be_param_name:a typedef name may not be redeclared as a parameter
|
|
non_zero_int_conv_to_pointer:conversion of nonzero integer to pointer
|
|
expr_not_class:expression must have class type but it has type “type”
|
|
expr_not_struct_or_union:expression must have struct or union type but it has type “type”
|
|
old_fashioned_assignment_operator:old-fashioned assignment operator
|
|
old_fashioned_initializer:old-fashioned initializer
|
|
expr_not_integral_constant:expression must be an integral constant expression
|
|
expr_not_an_lvalue_or_function_designator:expression must be an lvalue or a function designator
|
|
decl_incompatible_with_previous_use:declaration is incompatible with previous “entity” (declared at
line xxxx)
|
|
external_name_clash:external name conflicts with external name of entity-kind
“entity” (declared at line xxxx)
|
|
unrecognized_pragma:unrecognized #pragma
|
|
cannot_open_temp_file_reason:could not open temporary file “xxxx”: xxxx
|
|
too_few_arguments:too few arguments in function call
|
|
bad_float_constant:invalid floating constant
|
|
incompatible_param:argument of type “type” is incompatible with parameter of type
“type”
|
|
function_type_not_allowed:a function type is not allowed here
|
|
exp_declaration:expected a declaration
|
|
pointer_outside_base_object:pointer points outside of underlying object
|
|
bad_cast:invalid type conversion
|
|
linkage_conflict:external/internal linkage conflict with previous declaration at line
xxxx
|
|
float_to_integer_conversion:floating-point value does not fit in required integral type
|
|
expr_has_no_effect:expression has no effect
|
|
subscript_out_of_range:subscript out of range
|
|
declared_but_not_referenced:entity-kind “entity” was declared but never referenced
|
|
pcc_address_of_array:“&” applied to an array has no effect
|
|
mod_by_zero:right operand of “%” is zero
|
|
old_style_incompatible_param:argument is incompatible with formal parameter
|
|
printf_arg_mismatch:argument is incompatible with corresponding format string conversion
(expected type “type” but argument has type “type”)
|
|
empty_include_search_path:could not open source file “xxxx” (no directories in search list)
|
|
cast_not_integral:type of cast must be integral
|
|
cast_not_scalar:type of cast must be arithmetic or pointer
|
|
initialization_not_reachable:dynamic initialization in unreachable code
|
|
unsigned_compare_with_zero:pointless comparison of unsigned integer with zero
|
|
assign_where_compare_meant:use of “=” where “==” may have been intended
|
|
mixed_enum_type:enumerated type mixed with another type
|
|
file_write_error:error while writing xxxx file
|
|
bad_il_file:invalid intermediate language file
|
|
cast_to_qualified_type:type qualifier is meaningless on cast type
|
|
unrecognized_char_escape:unrecognized character escape sequence
|
|
undefined_preproc_id:zero used for undefined preprocessing identifier “xxxx”
|
|
exp_asm_string:expected an asm string
|
|
asm_func_must_be_prototyped:an asm function must be prototyped
|
|
bad_asm_func_ellipsis:an asm function may not have an ellipsis
|
|
file_delete_error_reason:error while deleting file “xxxx”: xxxx
|
|
integer_to_float_conversion:integral value does not fit in required floating-point type
|
|
float_to_float_conversion:floating-point value does not fit in required floating-point type
|
|
bad_float_operation_result:floating-point operation result is out of range
|
|
implicit_func_decl:function “xxxx” declared implicitly
|
|
too_few_printf_args:the format string requires additional arguments
|
|
too_many_printf_args:the format string ends before this argument
|
|
bad_printf_format_string:invalid format string conversion
|
|
macro_recursion:macro recursion
|
|
nonstd_extra_comma:trailing comma is nonstandard
|
|
enum_bit_field_too_small:bit field cannot contain all values of the enumerated type
|
|
nonstd_bit_field_type:nonstandard type for a bit field
|
|
decl_in_prototype_scope:declaration is not visible outside of function
|
|
decl_of_void_ignored:old-fashioned typedef of “void” ignored
|
|
old_fashioned_field_selection:left operand is not a struct or union containing this field
|
|
old_fashioned_ptr_field_selection:pointer does not point to struct or union containing this field
|
|
var_retained_incomp_type:variable “xxxx” was declared with a never-completed type
|
|
boolean_controlling_expr_is_constant:controlling expression is constant
|
|
switch_selector_expr_is_constant:selector expression is constant
|
|
bad_param_specifier:invalid specifier on a parameter
|
|
bad_specifier_outside_class_decl:invalid specifier outside a class declaration
|
|
dupl_decl_specifier:duplicate specifier in declaration
|
|
base_class_not_allowed_for_union:a union is not allowed to have a base class
|
|
access_already_specified:multiple access control specifiers are not allowed
|
|
missing_class_definition:class or struct definition is missing
|
|
name_not_member_of_class_or_base_classes:qualified name is not a member of class “type” or its base classes
|
|
member_ref_requires_object:a nonstatic member reference must be relative to a specific object
|
|
nonstatic_member_def_not_allowed:a nonstatic data member may not be defined outside its class
|
|
already_defined:entity-kind “entity” has already been defined
|
|
pointer_to_reference:pointer to reference is not allowed
|
|
reference_to_reference:reference to reference is not allowed
|
|
reference_to_void:reference to void is not allowed
|
|
array_of_reference:array of reference is not allowed
|
|
missing_initializer_on_reference:reference entity-kind “entity” requires an initializer
|
|
exp_comma:expected a “,”
|
|
type_identifier_not_allowed:type name is not allowed
|
|
type_definition_not_allowed:type definition is not allowed
|
|
bad_type_name_redeclaration:invalid redeclaration of type name “entity” (declared at line
xxxx)
|
|
missing_initializer_on_const:const entity-kind “entity” requires an initializer
|
|
this_used_incorrectly:“this” may only be used inside a nonstatic member function
|
|
constant_value_not_known:constant value is not known
|
|
missing_type_specifier:explicit type is missing (“int” assumed)
|
|
missing_access_specifier:access control not specified (“xxxx” by default)
|
|
not_a_class_or_struct_name:not a class or struct name
|
|
dupl_base_class_name:duplicate base class name
|
|
bad_base_class:invalid base class
|
|
no_access_to_name:entity-kind “entity” (declared at line xxxx) is inaccessible
|
|
ambiguous_name:“entity” is ambiguous
|
|
old_style_parameter_list:old-style parameter list (anachronism)
|
|
declaration_after_statements:declaration may not appear after executable statement in block
|
|
inaccessible_base_class:conversion to inaccessible base class “type” is not allowed
|
|
improperly_terminated_macro_call:improperly terminated macro invocation
|
|
id_must_be_class_or_namespace_name:name followed by “::” must be a class or namespace name
|
|
bad_friend_decl:invalid friend declaration
|
|
value_returned_in_constructor:a constructor or destructor may not return a value
|
|
bad_destructor_decl:invalid destructor declaration
|
|
class_and_member_name_conflict:declaration of a member with the same name as its class
|
|
global_qualifier_not_allowed:global-scope qualifier (leading “::”) is not allowed
|
|
name_not_found_in_file_scope:the global scope has no “xxxx”
|
|
qualified_name_not_allowed:qualified name is not allowed
|
|
null_reference:NULL reference is not allowed
|
|
brace_initialization_not_allowed:initialization with “{…}” is not allowed for object of type
“type”
|
|
ambiguous_base_class:base class “type” is ambiguous
|
|
ambiguous_derived_class:derived class “type” contains more than one instance of class
“type”
|
|
derived_class_from_virtual_base:cannot convert pointer to base class “type” to pointer to derived
class “type” – base class is virtual
|
|
no_matching_constructor:no instance of constructor “entity” matches the argument list
|
|
ambiguous_copy_constructor:copy constructor for class “type” is ambiguous
|
|
no_default_constructor:no default constructor exists for class “type”
|
|
not_a_field_or_base_class:“xxxx” is not a nonstatic data member or base class of class
“type”
|
|
indirect_nonvirtual_base_class_not_allowed:indirect nonvirtual base class is not allowed
|
|
bad_union_field:invalid union member – class “type” has a disallowed member
function
|
|
bad_rvalue_array:invalid use of non-lvalue array
|
|
exp_operator:expected an operator
|
|
inherited_member_not_allowed:inherited member is not allowed
|
|
indeterminate_overloaded_function:cannot determine which instance of entity-kind “entity” is
intended
|
|
bound_function_must_be_called:a pointer to a bound function may only be used to call the function
|
|
duplicate_typedef:typedef name has already been declared (with same type)
|
|
no_matching_function:no instance of entity-kind “entity” matches the argument list
|
|
type_def_not_allowed_in_func_type_decl:type definition is not allowed in function return type declaration
|
|
default_arg_not_at_end:default argument not at end of parameter list
|
|
default_arg_already_defined:redefinition of default argument
|
|
ambiguous_overloaded_function:more than one instance of entity-kind “entity” matches the
argument list:
|
|
ambiguous_constructor:more than one instance of constructor “entity” matches the
argument list:
|
|
bad_default_arg_type:default argument of type “type” is incompatible with parameter of
type “type”
|
|
return_type_cannot_distinguish_functions:cannot overload functions distinguished by return type alone
|
|
no_user_defined_conversion:no suitable user-defined conversion from “type” to “type”exists
|
|
virtual_static_not_allowed:only nonstatic member functions may be virtual
|
|
unqual_function_with_qual_object:the object has type qualifiers that are not compatible with the
member function
|
|
too_many_virtual_functions:program too large to compile (too many virtual functions)
|
|
bad_return_type_on_virtual_function_override:return type is not identical to nor covariant with return type
“type” of overridden virtual function “entity”
|
|
ambiguous_virtual_function_override:override of virtual entity-kind “entity” is ambiguous
|
|
pure_specifier_on_nonvirtual_function:pure specifier (”= 0”) allowed only on virtual functions
|
|
bad_pure_specifier:badly-formed pure specifier (only “= 0” is allowed)
|
|
bad_data_member_initialization:data member initializer is not allowed
|
|
abstract_class_object_not_allowed:object of abstract class type “type” is not allowed:
|
|
function_returning_abstract_class:function returning abstract class “type” is not allowed:
|
|
duplicate_friend_decl:duplicate friend declaration
|
|
inline_and_nonfunction:inline specifier allowed on function declarations only
|
|
inline_not_allowed:“inline” is not allowed
|
|
bad_storage_class_with_inline:invalid storage class for an inline function
|
|
bad_member_storage_class:invalid storage class for a class member
|
|
local_class_function_def_missing:local class member entity-kind “entity” requires a definition
|
|
inaccessible_special_function:entity-kind “entity” (declared at line xxxx) is inaccessible
|
|
missing_const_copy_constructor:class “type” has no copy constructor to copy a const object
|
|
definition_of_implicitly_declared_function:defining an implicitly declared member function is not allowed
|
|
no_suitable_copy_constructor:class “type” has no suitable copy constructor
|
|
linkage_specifier_not_allowed:linkage specification is not allowed
|
|
bad_linkage_specifier:unknown external linkage specification
|
|
incompatible_linkage_specifier:linkage specification is incompatible with previous “entity”(declared at line xxxx)
|
|
overloaded_function_linkage:more than one instance of overloaded function “entity” has “C”
linkage
|
|
ambiguous_default_constructor:class “type” has more than one default constructor
|
|
temp_used_for_ref_init:value copied to temporary, reference to temporary used
|
|
nonmember_operator_not_allowed:“operator*xxxx*“ must be a member function
|
|
static_member_operator_not_allowed:operator may not be a static member function
|
|
too_many_args_for_conversion:no arguments allowed on user-defined conversion
|
|
too_many_args_for_operator:too many parameters for this operator function
|
|
too_few_args_for_operator:too few parameters for this operator function
|
|
no_params_with_class_type:nonmember operator requires a parameter with class type
|
|
default_arg_expr_not_allowed:default argument is not allowed
|
|
ambiguous_user_defined_conversion:more than one user-defined conversion from “type” to “type”applies:
|
|
no_matching_operator_function:no operator “xxxx” matches these operands
|
|
ambiguous_operator_function:more than one operator “xxxx” matches these operands:
|
|
bad_arg_type_for_operator_new:first parameter of allocation function must be of type “size_t”
|
|
bad_return_type_for_op_new:allocation function requires “void *” return type
|
|
bad_return_type_for_op_delete:deallocation function requires “void” return type
|
|
bad_first_arg_type_for_operator_delete:first parameter of deallocation function must be of type “void *”
|
|
type_must_be_object_type:type must be an object type
|
|
base_class_already_initialized:base class “type” has already been initialized
|
|
base_class_init_anachronism:base class name required – “type” assumed (anachronism)
|
|
member_already_initialized:entity-kind “entity” has already been initialized
|
|
missing_base_class_or_member_name:name of member or base class is missing
|
|
assignment_to_this:assignment to “this” (anachronism)
|
|
overload_anachronism:“overload” keyword used (anachronism)
|
|
anon_union_member_access:invalid anonymous union – nonpublic member is not allowed
|
|
anon_union_member_function:invalid anonymous union – member function is not allowed
|
|
anon_union_storage_class:anonymous union at global or namespace scope must be declared static
|
|
missing_initializer_on_fields:entity-kind “entity” provides no initializer for:
|
|
cannot_initialize_fields:implicitly generated constructor for class “type” cannot
initialize:
|
|
no_ctor_but_const_or_ref_member:entity-kind “entity” defines no constructor to initialize the
following:
|
|
var_with_uninitialized_member:entity-kind “entity” has an uninitialized const or reference
member
|
|
var_with_uninitialized_field:entity-kind “entity” has an uninitialized const field
|
|
missing_const_assignment_operator:class “type” has no assignment operator to copy a const object
|
|
no_suitable_assignment_operator:class “type” has no suitable assignment operator
|
|
ambiguous_assignment_operator:ambiguous assignment operator for class “type”
|
|
missing_typedef_name:declaration requires a typedef name
|
|
virtual_not_allowed:“virtual” is not allowed
|
|
static_not_allowed:“static” is not allowed
|
|
bound_function_cast_anachronism:cast of bound function to normal function pointer (anachronism)
|
|
expr_not_ptr_to_member:expression must have pointer-to-member type
|
|
extra_semicolon:extra “;” ignored
|
|
nonstd_const_member:in-class initializer for nonstatic member is nonstandard
|
|
no_matching_new_function:no instance of overloaded “entity” matches the argument list
|
|
no_match_for_addr_of_overloaded_function:no instance of entity-kind “entity” matches the required type
|
|
delete_count_anachronism:delete array size expression used (anachronism)
|
|
cast_to_abstract_class:a cast to abstract class “type” is not allowed:
|
|
bad_use_of_main:function “main” may not be called or have its address taken
|
|
initializer_not_allowed_on_array_new:a new-initializer may not be specified for an array
|
|
member_function_redecl_outside_class:member function “entity” may not be redeclared outside its class
|
|
ref_to_nested_function_var:reference to local variable of enclosing function is not allowed
|
|
single_arg_postfix_incr_decr_anachronism:single-argument function used for postfix “xxxx” (anachronism)
|
|
bad_default_assignment:implicitly generated assignment operator cannot copy:
|
|
nonstd_array_cast:cast to array type is nonstandard (treated as cast to “type”)
|
|
class_with_op_new_but_no_op_delete:entity-kind “entity” has an operator new*xxxx*() but no default
operator delete*xxxx*()
|
|
class_with_op_delete_but_no_op_new:entity-kind “entity” has a default operator delete*xxxx*() but
no operator new*xxxx*()
|
|
base_class_with_nonvirtual_dtor:destructor for base class “entity” (declared at line xxxx) is
not virtual
|
|
member_function_redeclaration:invalid redeclaration of member entity-kind “entity” (declared at
line xxxx)
|
|
inline_main:function “main” may not be declared inline
|
|
class_and_member_function_name_conflict:member function with the same name as its class must be a constructor
|
|
nested_class_anachronism:using nested entity-kind “entity” (anachronism)
|
|
too_many_params_for_destructor:a destructor may not have parameters
|
|
bad_constructor_param:copy constructor for class “type” may not have a parameter of
type “type”
|
|
incomplete_function_return_type:entity-kind “entity” returns incomplete type “type”
|
|
protected_access_problem:protected entity-kind “entity” (declared at line xxxx) is not
accessible through a “type” pointer or object
|
|
param_not_allowed:a parameter is not allowed
|
|
asm_decl_not_allowed:an “asm” declaration is not allowed here
|
|
no_conversion_function:no suitable conversion function from “type” to “type” exists
|
|
delete_of_incomplete_class:delete of pointer to incomplete class
|
|
no_constructor_for_conversion:no suitable constructor exists to convert from “type” to
“type”
|
|
ambiguous_constructor_for_conversion:more than one constructor applies to convert from “type” to
“type”:
|
|
ambiguous_conversion_function:more than one conversion function from “type” to “type”applies:
|
|
ambiguous_conversion_to_builtin:more than one conversion function from “type” to a built-in type
applies:
|
|
addr_of_constructor_or_destructor:a constructor or destructor may not have its address taken
|
|
nonconst_ref_init_anachronism:temporary used for initial value of reference to non-const
(anachronism)
|
|
qualifier_in_member_declaration:qualified name is not allowed in member declaration
|
|
mixed_enum_type_anachronism:enumerated type mixed with another type (anachronism)
|
|
new_array_size_must_be_nonnegative:the size of an array in “new” must be non-negative
|
|
return_ref_init_requires_temp:returning reference to local temporary
|
|
enum_not_allowed:“enum” declaration is not allowed
|
|
qualifier_dropped_in_ref_init:qualifiers dropped in binding reference of type “type” to
initializer of type “type”
|
|
bad_nonconst_ref_init:a reference of type “type” (not const-qualified) cannot be
initialized with a value of type “type”
|
|
delete_of_function_pointer:a pointer to function may not be deleted
|
|
bad_conversion_function_decl:conversion function must be a nonstatic member function
|
|
bad_template_declaration_scope:a template declaration is not allowed here
|
|
exp_lt:expected a “<”
|
|
exp_gt:expected a “>”
|
|
missing_template_param:template parameter declaration is missing
|
|
missing_template_arg_list:argument list for entity-kind “entity” is missing
|
|
too_few_template_args:too few arguments for entity-kind “entity”
|
|
too_many_template_args:too many arguments for entity-kind “entity”
|
|
not_used_in_template_function_params:entity-kind “entity” is not used in declaring the parameter types
of entity-kind “entity”
|
|
cfront_multiple_nested_types:two nested types have the same name: “entity” and “entity”(declared at line xxxx) (cfront compatibility)
|
|
cfront_global_defined_after_nested_type:global “entity” was declared after nested “entity” (declared
at line xxxx) (cfront compatibility)
|
|
ambiguous_ptr_to_overloaded_function:more than one instance of entity-kind “entity” matches the
required type
|
|
nonstd_long_long:the type “long long” is nonstandard
|
|
nonstd_friend_decl:omission of “xxxx” is nonstandard
|
|
return_type_on_conversion_function:return type may not be specified on a conversion function
|
|
runaway_recursive_instantiation:excessive recursion at instantiation of entity-kind “entity”
|
|
bad_template_declaration:“xxxx” is not a function or static data member
|
|
bad_nontype_template_arg:argument of type “type” is incompatible with template parameter
of type “type”
|
|
init_needing_temp_not_allowed:initialization requiring a temporary or conversion is not allowed
|
|
decl_hides_function_parameter:declaration of “xxxx” hides function parameter
|
|
nonconst_ref_init_from_rvalue:initial value of reference to non-const must be an lvalue
|
|
template_not_allowed:“template” is not allowed
|
|
not_a_class_template:“type” is not a class template
|
|
function_template_named_main:“main” is not a valid name for a function template
|
|
union_nonunion_mismatch:invalid reference to entity-kind “entity” (union/nonunion
mismatch)
|
|
local_type_in_template_arg:a template argument may not reference a local type
|
|
tag_kind_incompatible_with_declaration:tag kind of xxxx is incompatible with declaration of entity-kind
“entity” (declared at line xxxx)
|
|
name_not_tag_in_file_scope:the global scope has no tag named “xxxx”
|
|
not_a_tag_member:entity-kind “entity” has no tag member named “xxxx”
|
|
ptr_to_member_typedef:member function typedef (allowed for cfront compatibility)
|
|
bad_use_of_member_function_typedef:entity-kind “entity” may be used only in pointer-to-member
declaration
|
|
nonexternal_entity_in_template_arg:a template argument may not reference a non-external entity
|
|
id_must_be_class_or_type_name:name followed by “::~” must be a class name or a type name
|
|
destructor_type_mismatch:type used as destructor name does not match type “type”
|
|
called_function_redeclared_inline:entity-kind “entity” redeclared “inline” after being called
|
|
bad_storage_class_on_template_decl:invalid storage class for a template declaration
|
|
no_access_to_type_cfront_mode:entity-kind “entity” (declared at line xxxx) is an
inaccessible type (allowed for cfront compatibility)
|
|
invalid_instantiation_argument:invalid explicit instantiation declaration
|
|
not_instantiatable_entity:entity-kind “entity” is not an entity that can be instantiated
|
|
compiler_generated_function_cannot_be_instantiated:compiler generated entity-kind “entity” cannot be explicitly
instantiated
|
|
inline_function_cannot_be_instantiated:inline entity-kind “entity” cannot be explicitly instantiated
|
|
instantiation_requested_no_definition_supplied:entity-kind “entity” cannot be instantiated – no template
definition was supplied
|
|
instantiation_requested_and_specialized:entity-kind “entity” cannot be instantiated – it has been
explicitly specialized
|
|
no_match_for_type_of_overloaded_function:no instance of entity-kind “entity” matches the specified type
|
|
nonstd_void_param_list:declaring a void parameter list with a typedef is nonstandard
|
|
cfront_name_lookup_bug:global entity-kind “entity” used instead of entity-kind
“entity” (cfront compatibility)
|
|
redeclaration_of_template_param_name:template parameter “xxxx” may not be redeclared in this scope
|
|
decl_hides_template_parameter:declaration of “xxxx” hides template parameter
|
|
must_be_prototype_instantiation:template argument list must match the parameter list
|
|
bad_extra_arg_for_postfix_operator:extra parameter of postfix “operator*xxxx*“ must be of type “int”
|
|
function_type_required:an operator name must be declared as a function
|
|
operator_name_not_allowed:operator name is not allowed
|
|
bad_scope_for_specialization:entity-kind “entity” cannot be specialized in the current scope
|
|
nonstd_member_function_address:nonstandard form for taking the address of a member function
|
|
too_few_template_params:too few template parameters – does not match previous declaration
(declared at line xxxx)
|
|
too_many_template_params:too many template parameters – does not match previous declaration
(declared at line xxxx)
|
|
template_operator_delete:function template for operator delete(void *) is not allowed
|
|
class_template_same_name_as_templ_param:class template and template parameter may not have the same name
|
|
unnamed_type_in_template_arg:a template argument may not reference an unnamed type
|
|
enum_type_not_allowed:this operation on an enumerated type requires an applicable
user-defined operator function
|
|
qualified_reference_type:type qualifier on a reference type is not allowed
|
|
incompatible_assignment_operands:a value of type “type” cannot be assigned to an entity of type
“type”
|
|
unsigned_compare_with_negative:pointless comparison of unsigned integer with a negative constant
|
|
converting_to_incomplete_class:cannot convert to incomplete class “type”
|
|
missing_initializer_on_unnamed_const:const object requires an initializer
|
|
unnamed_object_with_uninitialized_field:object has an uninitialized const or reference member
|
|
nonstd_pp_directive:nonstandard preprocessing directive
|
|
unexpected_template_arg_list:entity-kind “entity” may not have a template argument list
|
|
missing_initializer_list:initialization with “{…}” expected for aggregate object
|
|
incompatible_ptr_to_member_selection_operands:pointer-to-member selection class types are incompatible (“type”and “type”)
|
|
self_friendship:pointless friend declaration
|
|
period_used_as_qualifier:“.” used in place of “::” to form a qualified name
|
|
const_function_anachronism:non-const function called for const object (anachronism)
|
|
dependent_stmt_is_declaration:a dependent statement may not be a declaration
|
|
void_param_not_allowed:a parameter may not have void type
|
|
bad_templ_arg_expr_operator:this operator is not allowed in a template argument expression
|
|
missing_handler:try block requires at least one handler
|
|
missing_exception_declaration:handler requires an exception declaration
|
|
masked_by_default_handler:handler is masked by default handler
|
|
masked_by_handler:handler is potentially masked by previous handler for type “type”
|
|
local_type_used_in_exception:use of a local type to specify an exception
|
|
redundant_exception_specification_type:redundant type in exception specification
|
|
incompatible_exception_specification:exception specification is incompatible with that of previous
entity-kind “entity” (declared at line xxxx):
|
|
no_exception_support:support for exception handling is disabled
|
|
omitted_exception_specification:allowing all exceptions is incompatible with previous entity-kind
“entity” (declared at line xxxx)
|
|
cannot_create_instantiation_request_file:could not create instantiation request file “xxxx”
|
|
non_arith_operation_in_templ_arg:non-arithmetic operation not allowed in nontype template argument
|
|
local_type_in_nonlocal_var:use of a local type to declare a nonlocal variable
|
|
local_type_in_function:use of a local type to declare a function
|
|
branch_past_initialization:transfer of control bypasses initialization of:
|
|
branch_into_handler:transfer of control into an exception handler
|
|
used_before_set:entity-kind “entity” is used before its value is set
|
|
set_but_not_used:entity-kind “entity” was set but never used
|
|
bad_scope_for_definition:entity-kind “entity” cannot be defined in the current scope
|
|
exception_specification_not_allowed:exception specification is not allowed
|
|
template_and_instance_linkage_conflict:external/internal linkage conflict for entity-kind “entity”(declared at line xxxx)
|
|
conversion_function_not_usable:entity-kind “entity” will not be called for implicit or explicit
conversions
|
|
tag_kind_incompatible_with_template_parameter:tag kind of xxxx is incompatible with template parameter of type
“type”
|
|
template_operator_new:function template for operator new(size_t) is not allowed
|
|
bad_member_type_in_ptr_to_member:pointer to member of type “type” is not allowed
|
|
ellipsis_on_operator_function:ellipsis is not allowed in operator function parameter list
|
|
unimplemented_keyword:“entity” is reserved for future use as a keyword
|
|
cl_invalid_macro_definition:invalid macro definition: xxxx
|
|
cl_invalid_macro_undefinition:invalid macro undefinition: xxxx
|
|
cl_il_file_must_be_specified:IL file name must be specified if input is
|
|
cl_error_in_debug_option_argument:error in debug option argument
|
|
cl_invalid_option:invalid option: xxxx
|
|
cl_back_end_requires_il_file:back end requires name of IL file
|
|
cl_could_not_open_il_file:could not open IL file xxxx
|
|
cl_invalid_number:invalid number: xxxx
|
|
cl_incorrect_host_id:incorrect host CPU id
|
|
cl_invalid_instantiation_mode:invalid instantiation mode: xxxx
|
|
cl_invalid_error_limit:invalid error limit: xxxx
|
|
cl_vtbl_option_only_in_cplusplus:virtual function tables can only be suppressed when compiling C++
|
|
cl_anachronism_option_only_in_cplusplus:anachronism option can be used only when compiling C++
|
|
cl_instantiation_option_only_in_cplusplus:instantiation mode option can be used only when compiling C++
|
|
cl_auto_instantiation_option_only_in_cplusplus:automatic instantiation mode can be used only when compiling C++
|
|
cl_implicit_inclusion_option_only_in_cplusplus:implicit template inclusion mode can be used only when compiling C++
|
|
cl_exceptions_option_only_in_cplusplus:exception handling option can be used only when compiling C++
|
|
cl_strict_mode_incompatible_with_pcc:strict mode is incompatible with K&R mode
|
|
cl_strict_mode_incompatible_with_cfront:strict mode is incompatible with cfront mode
|
|
cl_missing_source_file_name:missing source file name
|
|
cl_output_file_incompatible_with_multiple_inputs:output files may not be specified when compiling several input files
|
|
cl_too_many_arguments:too many arguments on command line
|
|
cl_no_output_file_needed:an output file was specified, but none is needed
|
|
cl_il_display_requires_il_file_name:IL display requires name of IL file
|
|
void_template_parameter:a template parameter may not have void type
|
|
too_many_unused_instantiations:excessive recursive instantiation of entity-kind “entity” due to
instantiate-all mode
|
|
cl_strict_mode_incompatible_with_anachronisms:strict mode is incompatible with allowing anachronisms
|
|
void_throw:a throw expression may not have void type
|
|
cl_tim_local_conflicts_with_auto_instantiation:local instantiation mode is incompatible with automatic instantiation
|
|
abstract_class_param_type:parameter of abstract class type “type” is not allowed:
|
|
array_of_abstract_class:array of abstract class “type” is not allowed:
|
|
float_template_parameter:floating-point template parameter is nonstandard
|
|
pragma_must_precede_declaration:this pragma must immediately precede a declaration
|
|
pragma_must_precede_statement:this pragma must immediately precede a statement
|
|
pragma_must_precede_decl_or_stmt:this pragma must immediately precede a declaration or statement
|
|
pragma_may_not_be_used_here:this kind of pragma may not be used here
|
|
partial_override:overloaded virtual function “entity” is only partially overridden
in entity-kind “entity”
|
|
specialization_of_called_inline_template_function:specific definition of inline template function must precede its
first use
|
|
cl_invalid_error_tag:invalid error tag in diagnostic control option: xxxx
|
|
cl_invalid_error_number:invalid error number in diagnostic control option: xxxx
|
|
ptr_to_member_cast_to_ptr_to_function:pointer-to-member-function cast to pointer to function
|
|
no_named_fields:struct or union declares no named members
|
|
nonstd_unnamed_field:nonstandard unnamed field
|
|
nonstd_unnamed_member:nonstandard unnamed member
|
|
not_a_type_name:“xxxx” is not a type name
|
|
cannot_open_pch_input_file_reason:cannot open precompiled header input file “xxxx”: xxxx
|
|
invalid_pch_file:precompiled header file “xxxx” is either invalid or not generated
by this version of the compiler
|
|
pch_curr_directory_changed:precompiled header file “xxxx” was not generated in this directory
|
|
pch_header_files_have_changed:header files used to generate precompiled header file “xxxx” have
changed
|
|
pch_cmd_line_option_mismatch:the command line options do not match those used when precompiled
header file “xxxx” was created
|
|
pch_file_prefix_mismatch:the initial sequence of preprocessing directives is not compatible
with those of precompiled header file “xxxx”
|
|
unable_to_get_mapped_memory:unable to obtain mapped memory
|
|
using_pch:“xxxx“: using precompiled header file “xxxx“
|
|
creating_pch:“xxxx“: creating precompiled header file “xxxx“
|
|
memory_mismatch:memory usage conflict with precompiled header file “xxxx”
|
|
cl_invalid_pch_size:invalid PCH memory size: xxxx
|
|
cl_pch_must_be_first:PCH options must appear first in the command line
|
|
out_of_memory_during_pch_allocation:insufficient memory for PCH memory allocation
|
|
cl_pch_incompatible_with_multiple_inputs:precompiled header files may not be used when compiling several input
files
|
|
not_enough_preallocated_memory:insufficient preallocated memory for generation of precompiled header
file (xxxx bytes required)
|
|
program_entity_too_large_for_pch:very large entity in program prevents generation of precompiled
header file
|
|
cannot_chdir:“xxxx” is not a valid directory
|
|
cannot_build_temp_file_name:cannot build temporary file name
|
|
restrict_not_allowed:“restrict” is not allowed
|
|
restrict_pointer_to_function:a pointer or reference to function type may not be qualified by
“restrict”
|
|
calling_convention_not_allowed:a calling convention modifier may not be specified here
|
|
conflicting_calling_conventions:conflicting calling convention modifiers
|
|
cl_strict_mode_incompatible_with_microsoft:strict mode is incompatible with Microsoft mode
|
|
cl_cfront_incompatible_with_microsoft:cfront mode is incompatible with Microsoft mode
|
|
calling_convention_ignored:calling convention specified here is ignored
|
|
calling_convention_may_not_precede_nested_declarator:a calling convention may not be followed by a nested declarator
|
|
calling_convention_ignored_for_type:calling convention is ignored for this type
|
|
decl_modifiers_incompatible_with_previous_decl:declaration modifiers are incompatible with previous declaration
|
|
decl_modifiers_invalid_for_this_decl:the modifier “xxxx” is not allowed on this declaration
|
|
branch_into_try_block:transfer of control into a try block
|
|
incompatible_inline_specifier_on_specific_decl:inline specification is incompatible with previous “entity”(declared at line xxxx)
|
|
template_missing_closing_brace:closing brace of template definition not found
|
|
cl_wchar_t_option_only_in_cplusplus:wchar_t keyword option can be used only when compiling C++
|
|
bad_pack_alignment:invalid packing alignment value
|
|
exp_int_constant:expected an integer constant
|
|
call_of_pure_virtual:call of pure virtual function
|
|
bad_ident_string:invalid source file identifier string
|
|
template_friend_definition_not_allowed:a class template cannot be defined in a friend declaration
|
|
asm_not_allowed:“asm” is not allowed
|
|
bad_asm_function_def:“asm” must be used with a function definition
|
|
nonstd_asm_function:“asm” function is nonstandard
|
|
nonstd_ellipsis_only_param:ellipsis with no explicit parameters is nonstandard
|
|
nonstd_address_of_ellipsis:“&…” is nonstandard
|
|
bad_address_of_ellipsis:invalid use of “&…”
|
|
const_volatile_ref_init_anachronism:temporary used for initial value of reference to const volatile
(anachronism)
|
|
bad_const_volatile_ref_init:a reference of type “type” cannot be initialized with a value of
type “type”
|
|
const_volatile_ref_init_from_rvalue:initial value of reference to const volatile must be an lvalue
|
|
cl_SVR4_C_option_only_in_ansi_C:SVR4 C compatibility option can be used only when compiling ANSI C
|
|
using_out_of_scope_declaration:using out-of-scope declaration of entity-kind “entity” (declared
at line xxxx)
|
|
cl_strict_mode_incompatible_with_SVR4:strict mode is incompatible with SVR4 C mode
|
|
cannot_inline_call:call of entity-kind “entity” (declared at line xxxx) cannot
be inlined
|
|
cannot_inline:entity-kind “entity” cannot be inlined
|
|
cl_invalid_pch_directory:invalid PCH directory: xxxx
|
|
exp_except_or_finally:expected __except or __finally
|
|
leave_must_be_in_try:a __leave statement may only be used within a __try
|
|
not_found_on_pack_alignment_stack:“xxxx” not found on pack alignment stack
|
|
empty_pack_alignment_stack:empty pack alignment stack
|
|
cl_rtti_option_only_in_cplusplus:RTTI option can be used only when compiling C++
|
|
inaccessible_elided_cctor:entity-kind “entity” (declared at line xxxx), required for
copy that was eliminated, is inaccessible
|
|
uncallable_elided_cctor:entity-kind “entity”, required for copy that was eliminated, is
not callable because reference parameter cannot be bound to rvalue
|
|
typeid_needs_typeinfo:<typeinfo> must be included before typeid is used
|
|
cannot_cast_away_const:xxxx cannot cast away const or other type qualifiers
|
|
bad_dynamic_cast_type:the type in a dynamic_cast must be a pointer or reference to a
complete class type, or void *
|
|
bad_ptr_dynamic_cast_operand:the operand of a pointer dynamic_cast must be a pointer to a complete
class type
|
|
bad_ref_dynamic_cast_operand:the operand of a reference dynamic_cast must be an lvalue of a
complete class type
|
|
dynamic_cast_operand_must_be_polymorphic:the operand of a runtime dynamic_cast must have a polymorphic class
type
|
|
cl_bool_option_only_in_cplusplus:bool option can be used only when compiling C++
|
|
array_type_not_allowed:an array type is not allowed here
|
|
exp_assign:expected an “=”
|
|
redeclaration_of_condition_decl_name:“xxxx”, declared in condition, may not be redeclared in this scope
|
|
default_template_arg_not_allowed:default template arguments are not allowed for function templates
|
|
exp_comma_or_gt:expected a “,” or “>”
|
|
missing_template_param_list:expected a template parameter list
|
|
incr_of_bool_deprecated:incrementing a bool value is deprecated
|
|
bool_type_not_allowed:bool type is not allowed
|
|
base_class_offset_too_large:offset of base class “entity” within class “entity” is too
large
|
|
expr_not_bool:expression must have bool type (or be convertible to bool)
|
|
cl_array_new_and_delete_option_only_in_cplusplus:array new and delete option can be used only when compiling C++
|
|
based_requires_variable_name:entity-kind “entity” is not a variable name
|
|
based_not_allowed_here:__based modifier is not allowed here
|
|
based_not_followed_by_star:__based does not precede a pointer operator, __based ignored
|
|
based_var_must_be_ptr:variable in __based modifier must have pointer type
|
|
bad_const_cast_type:the type in a const_cast must be a pointer, reference, or pointer to
member to an object type
|
|
bad_const_cast:a const_cast can only adjust type qualifiers; it cannot change the
underlying type
|
|
mutable_not_allowed:mutable is not allowed
|
|
cannot_change_access:redeclaration of entity-kind “entity” is not allowed to alter its
access
|
|
probable_inadvertent_lbracket_digraph:use of alternative token “<:” appears to be unintended
|
|
probable_inadvertent_sharp_digraph:use of alternative token “%:” appears to be unintended
|
|
namespace_def_not_allowed:namespace definition is not allowed
|
|
missing_namespace_name:name must be a namespace name
|
|
namespace_alias_def_not_allowed:namespace alias definition is not allowed
|
|
namespace_qualified_name_required:namespace-qualified name is required
|
|
namespace_name_not_allowed:a namespace name is not allowed
|
|
bad_combination_of_dll_attributes:invalid combination of DLL attributes
|
|
sym_not_a_class_template:entity-kind “entity” is not a class template
|
|
array_of_incomplete_type:array with incomplete element type is nonstandard
|
|
allocation_operator_in_namespace:allocation operator may not be declared in a namespace
|
|
deallocation_operator_in_namespace:deallocation operator may not be declared in a namespace
|
|
conflicts_with_using_decl:entity-kind “entity” conflicts with using-declaration of
entity-kind “entity”
|
|
using_decl_conflicts_with_prev_decl:using-declaration of entity-kind “entity” conflicts with
entity-kind “entity” (declared at line xxxx)
|
|
cl_namespaces_option_only_in_cplusplus:namespaces option can be used only when compiling C++
|
|
useless_using_declaration:using-declaration ignored – it refers to the current namespace
|
|
class_qualified_name_required:a class-qualified name is required
|
|
not_an_actual_member:entity-kind “entity” has no actual member “xxxx”
|
|
mem_attrib_incompatible:incompatible memory attributes specified
|
|
mem_attrib_ignored:memory attribute ignored
|
|
mem_attrib_may_not_precede_nested_declarator:memory attribute may not be followed by a nested declarator
|
|
dupl_mem_attrib:memory attribute specified more than once
|
|
dupl_calling_convention:calling convention specified more than once
|
|
type_qualifier_not_allowed:a type qualifier is not allowed
|
|
template_instance_already_used:entity-kind “entity” (declared at line xxxx) was used before
its template was declared
|
|
static_nonstatic_with_same_param_types:static and nonstatic member functions with same parameter types
cannot be overloaded
|
|
no_prior_declaration:no prior declaration of entity-kind “entity”
|
|
template_id_not_allowed:a template-id is not allowed
|
|
class_qualified_name_not_allowed:a class-qualified name is not allowed
|
|
bad_scope_for_redeclaration:entity-kind “entity” may not be redeclared in the current scope
|
|
qualifier_in_namespace_member_decl:qualified name is not allowed in namespace member declaration
|
|
sym_not_a_type_name:entity-kind “entity” is not a type name
|
|
explicit_instantiation_not_in_namespace_scope:explicit instantiation is not allowed in the current scope
|
|
bad_scope_for_explicit_instantiation:entity-kind “entity” cannot be explicitly instantiated in the
current scope
|
|
multiple_explicit_instantiations:entity-kind “entity” explicitly instantiated more than once
|
|
typename_not_in_template:typename may only be used within a template
|
|
cl_special_subscript_cost_option_only_in_cplusplus:special_subscript_cost option can be used only when compiling C++
|
|
cl_typename_option_only_in_cplusplus:typename option can be used only when compiling C++
|
|
cl_implicit_typename_option_only_in_cplusplus:implicit typename option can be used only when compiling C++
|
|
nonstd_character_at_start_of_macro_def:nonstandard character at start of object-like macro definition
|
|
exception_spec_override_incompat:exception specification for virtual entity-kind “entity” is
incompatible with that of overridden entity-kind “entity”
|
|
pointer_conversion_loses_bits:conversion from pointer to smaller integer
|
|
generated_exception_spec_override_incompat:exception specification for implicitly declared virtual entity-kind
“entity” is incompatible with that of overridden entity-kind
“entity”
|
|
implicit_call_of_ambiguous_name:“entity”, implicitly called from entity-kind “entity”, is
ambiguous
|
|
cl_explicit_option_only_in_cplusplus:option “explicit” can be used only when compiling C++
|
|
explicit_not_allowed:“explicit” is not allowed
|
|
conflicts_with_predeclared_type_info:declaration conflicts with “xxxx” (reserved class name)
|
|
array_member_initialization:only “()” is allowed as initializer for array entity-kind “entity”
|
|
virtual_function_template:“virtual” is not allowed in a function template declaration
|
|
anon_union_class_member_template:invalid anonymous union – class member template is not allowed
|
|
template_depth_mismatch:template nesting depth does not match the previous declaration of
entity-kind “entity”
|
|
multiple_template_decls_not_allowed:this declaration cannot have multiple “template <…>” clauses
|
|
cl_old_for_init_option_only_in_cplusplus:option to control the for-init scope can be used only when compiling
C++
|
|
redeclaration_of_for_init_decl_name:“xxxx”, declared in for-loop initialization, may not be
redeclared in this scope
|
|
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)
|
|
cl_for_init_diff_warning_option_only_in_cplusplus:option to control warnings on for-init differences can be used only
when compiling C++
|
|
unnamed_class_virtual_function_def_missing:definition of virtual entity-kind “entity” is required here
|
|
svr4_token_pasting_comment:empty comment interpreted as token-pasting operator “##”
|
|
storage_class_in_friend_decl:a storage class is not allowed in a friend declaration
|
|
templ_param_list_not_allowed:template parameter list for “entity” is not allowed in this
declaration
|
|
bad_member_template_sym:entity-kind “entity” is not a valid class member template
|
|
bad_member_template_decl:not a valid member class or function template declaration
|
|
specialization_follows_param_list:a template declaration containing a template parameter list may not
be followed by an explicit specialization declaration
|
|
specialization_of_referenced_template:explicit specialization of entity-kind “entity” must precede the
first use of entity-kind “entity”
|
|
explicit_specialization_not_in_namespace_scope:explicit specialization is not allowed in the current scope
|
|
partial_specialization_not_allowed:partial specialization of entity-kind “entity” is not allowed
|
|
entity_cannot_be_specialized:entity-kind “entity” is not an entity that can be explicitly
specialized
|
|
specialization_of_referenced_entity:explicit specialization of entity-kind “entity” must precede its
first use
|
|
template_param_in_elab_type:template parameter “xxxx” may not be used in an elaborated type
specifier
|
|
old_specialization_not_allowed:specializing entity-kind “entity” requires “template<>” syntax
|
|
cl_old_specializations_option_only_in_cplusplus:option “old_specializations” can be used only when compiling C++
|
|
nonstd_old_specialization:specializing entity-kind “entity” without “template<>” syntax is
nonstandard
|
|
bad_linkage_for_decl:this declaration may not have extern “C” linkage
|
|
not_a_template_name:“xxxx” is not a class or function template name in the current
scope
|
|
nonstd_default_arg_on_function_template_redecl:specifying a default argument when redeclaring an unreferenced
function template is nonstandard
|
|
default_arg_on_function_template_not_allowed:specifying a default argument when redeclaring an already referenced
function template is not allowed
|
|
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
|
|
bad_exception_specification_for_specialization:exception specification is incompatible with that of entity-kind
“entity” (declared at line xxxx):
|
|
omitted_exception_specification_on_specialization:allowing all exceptions is incompatible with entity-kind “entity”(declared at line xxxx)
|
|
unexpected_end_of_default_arg:unexpected end of default argument expression
|
|
default_init_of_reference:default-initialization of reference is not allowed
|
|
uninitialized_field_with_const_member:uninitialized entity-kind “entity” has a const member
|
|
uninitialized_base_class_with_const_member:uninitialized base class “type” has a const member
|
|
missing_default_constructor_on_const:const entity-kind “entity” requires an initializer – class
“type” has no user-provided default constructor
|
|
missing_default_constructor_on_unnamed_const:const object requires an initializer – class “type” has no
user-provided default constructor
|
|
cl_impl_extern_c_conv_option_only_in_cplusplus:option “implicit_extern_c_type_conversion” can be used only when
compiling C++
|
|
cl_strict_mode_incompatible_with_long_preserving:strict mode is incompatible with long preserving rules
|
|
useless_type_qualifier_on_return_type:type qualifier on return type is meaningless
|
|
type_qualifier_on_void_return_type:in a function definition a type qualifier on a “void” return type is
not allowed
|
|
static_data_member_not_allowed:static data member declaration is not allowed in this class
|
|
invalid_declaration:template instantiation resulted in an invalid function declaration
|
|
ellipsis_not_allowed:“…” is not allowed
|
|
cl_extern_inline_option_only_in_cplusplus:option “extern_inline” can be used only when compiling C++
|
|
extern_inline_never_defined:extern inline entity-kind “entity” was referenced but not defined
|
|
invalid_destructor_name:invalid destructor name for type “type”
|
|
ambiguous_destructor:destructor reference is ambiguous – both entity-kind “entity”and entity-kind “entity” could be used
|
|
virtual_inline_never_defined:virtual inline entity-kind “entity” was never defined
|
|
unreferenced_function_param:entity-kind “entity” was never referenced
|
|
union_already_initialized:only one member of a union may be specified in a constructor
initializer list
|
|
no_array_new_and_delete_support:support for “new[]” and “delete[]” is disabled
|
|
double_for_long_double:“double” used for “long double” in generated C code
|
|
no_corresponding_delete:entity-kind “entity” has no corresponding operator delete*xxxx*(to be called if an exception is thrown during initialization of an
allocated object)
|
|
useless_placement_delete:support for placement delete is disabled
|
|
no_appropriate_delete:no appropriate operator delete is visible
|
|
ptr_or_ref_to_incomplete_type:pointer or reference to incomplete type “type” is not allowed
|
|
bad_partial_specialization:invalid partial specialization – entity-kind “entity” is already
fully specialized
|
|
incompatible_exception_specs:incompatible exception specifications
|
|
returning_ref_to_local_variable:returning reference to local variable
|
|
nonstd_implicit_int:omission of explicit type is nonstandard (“int” assumed)
|
|
ambiguous_partial_spec:more than one partial specialization matches the template argument
list of entity-kind “entity”
|
|
partial_spec_is_primary_template:a template argument list is not allowed in a declaration of a primary
template
|
|
default_not_allowed_on_partial_spec:partial specializations may not have default template arguments
|
|
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”
|
|
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
|
|
partial_spec_after_instantiation:this partial specialization would have been used to instantiate
entity-kind “entity”
|
|
partial_spec_after_instantiation_ambiguous:this partial specialization would have made the instantiation of
entity-kind “entity” ambiguous
|
|
expr_not_integral_or_enum:expression must have integral or enum type
|
|
expr_not_arithmetic_or_enum:expression must have arithmetic or enum type
|
|
expr_not_arithmetic_or_enum_or_pointer:expression must have arithmetic, enum, or pointer type
|
|
cast_not_integral_or_enum:type of cast must be integral or enum
|
|
cast_not_arithmetic_or_enum_or_pointer:type of cast must be arithmetic, enum, or pointer
|
|
expr_not_object_pointer:expression must be a pointer to a complete object type
|
|
different_return_type_on_virtual_function_override:return type is not identical to return type “type” of overridden
virtual function “entity”
|
|
cl_guiding_decls_option_only_in_cplusplus:option “guiding_decls” can be used only when compiling C++
|
|
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
|
|
pure_virtual_function:entity-kind “entity” is a pure virtual function
|
|
no_overrider_for_pure_virtual_function:pure virtual entity-kind “entity” has no overrider
|
|
decl_modifiers_ignored:__declspec attributes ignored
|
|
invalid_char:invalid character in input line
|
|
incomplete_return_type:function returns incomplete type “type”
|
|
local_pragma_pack:effect of this “#pragma pack” directive is local to entity-kind
“entity”
|
|
not_a_template:xxxx is not a template
|
|
friend_partial_specialization:a friend declaration may not declare a partial specialization
|
|
exception_specification_ignored:exception specification ignored
|
|
unexpected_type_for_size_t:declaration of “size_t” does not match the expected type “type”
|
|
exp_gt_not_shift_right:space required between adjacent “>” delimiters of nested template
argument lists (“>>” is the right shift operator)
|
|
bad_multibyte_char_locale:could not set locale “xxxx” to allow processing of multibyte
characters
|
|
bad_multibyte_char:invalid multibyte character sequence
|
|
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”)
|
|
ambiguous_guiding_decl:ambiguous guiding declaration – more than one function template
“entity” matches type “type”
|
|
non_integral_operation_in_templ_arg:non-integral operation not allowed in nontype template argument
|
|
cl_embedded_cplusplus_option_only_in_cplusplus:option “embedded_c++” can be used only when compiling C++
|
|
templates_in_embedded_cplusplus:Embedded C++ does not support templates
|
|
exceptions_in_embedded_cplusplus:Embedded C++ does not support exception handling
|
|
namespaces_in_embedded_cplusplus:Embedded C++ does not support namespaces
|
|
rtti_in_embedded_cplusplus:Embedded C++ does not support run-time type information
|
|
new_cast_in_embedded_cplusplus:Embedded C++ does not support the new cast syntax
|
|
using_decl_in_embedded_cplusplus:Embedded C++ does not support using-declarations
|
|
mutable_in_embedded_cplusplus:Embedded C++ does not support “mutable”
|
|
multiple_inheritance_in_embedded_cplusplus:Embedded C++ does not support multiple or virtual inheritance
|
|
cl_invalid_microsoft_version:invalid Microsoft version number: xxxx
|
|
inheritance_kind_already_set:pointer-to-member representation “xxxx” has already been set for
entity-kind “entity”
|
|
bad_constructor_type:“type” cannot be used to designate constructor for “type”
|
|
bad_suffix:invalid suffix on integral constant
|
|
uuidof_requires_uuid_class_type:operand of __uuidof must have a class or enum type for which
__declspec(uuid(”…”)) has been specified
|
|
bad_uuid_string:invalid GUID string in __declspec(uuid(”…”))
|
|
cl_vla_option_only_in_C:option “vla” can be used only when compiling C
|
|
vla_with_unspecified_bound_not_allowed:variable length array with unspecified bound is not allowed
|
|
explicit_template_args_not_allowed:an explicit template argument list is not allowed on this declaration
|
|
variably_modified_type_not_allowed:an entity with linkage cannot have a type involving a variable length
array
|
|
vla_is_not_auto:a variable length array cannot have static storage duration
|
|
sym_not_a_template:entity-kind “entity” is not a template
|
|
expected_template_arg:expected a template argument
|
|
no_params_with_class_or_enum_type:nonmember operator requires a parameter with class or enum type
|
|
cl_enum_overloading_option_only_in_cplusplus:option “enum_overloading” can be used only when compiling C++
|
|
destructor_qualifier_type_mismatch:qualifier of destructor name “type” does not match type “type”
|
|
type_qualifier_ignored:type qualifier ignored
|
|
cl_nonstandard_qualifier_deduction_option_only_in_cplusplus:option “nonstd_qualifier_deduction” can be used only when compiling
C++
|
|
cannot_define_dllimport_function:a function declared “dllimport” may not be defined
|
|
bad_declspec_property:incorrect property specification; correct form is
__declspec(property(get=name1,put=name2))
|
|
dupl_get_or_put:property has already been specified
|
|
declspec_property_not_allowed:__declspec(property) is not allowed on this declaration
|
|
no_get_property:member is declared with __declspec(property), but no “get” function
was specified
|
|
get_property_function_missing:the __declspec(property) “get” function “xxxx” is missing
|
|
no_put_property:member is declared with __declspec(property), but no “put” function
was specified
|
|
put_property_function_missing:the __declspec(property) “put” function “xxxx” is missing
|
|
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)
|
|
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
|
|
cl_invalid_instantiation_directory:invalid directory for instantiation files: xxxx
|
|
cl_one_instantiation_per_object_option_only_in_cplusplus:option “one_instantiation_per_object” can be used only when compiling
C++
|
|
cl_ii_file_name_incompatible_with_multiple_inputs:an instantiation information file name may not be specified when
compiling several input files
|
|
cl_one_instantiation_per_object_incompatible_with_multiple_inputs:option “one_instantiation_per_object” may not be used when compiling
several input files
|
|
cl_ambiguous_option:more than one command line option matches the abbreviation
“–xxxx“:
|
|
cv_qualified_function_type:type qualifiers on function types are ignored
|
|
cl_late_tiebreaker_option_only_in_cplusplus:late/early tiebreaker option can be used only when compiling C++
|
|
bad_va_start:incorrect use of va_start
|
|
bad_va_arg:incorrect use of va_arg
|
|
bad_va_end:incorrect use of va_end
|
|
cl_pending_instantiations_option_only_in_cplusplus:pending instantiations option can be used only when compiling C++
|
|
cl_invalid_import_directory:invalid directory for #import files: xxxx
|
|
cl_import_only_in_microsoft:an import directory can be specified only in Microsoft mode
|
|
ref_not_allowed_in_union:a member with reference type is not allowed in a union
|
|
typedef_not_allowed:“typedef” may not be specified here
|
|
redecl_changes_access:redeclaration of entity-kind “entity” alters its access
|
|
qualified_name_required:a class or namespace qualified name is required
|
|
implicit_int_on_main:return type “int” omitted in declaration of function “main”
|
|
invalid_inheritance_kind_for_class:pointer-to-member representation “xxxx” is too restrictive for
entity-kind “entity”
|
|
implicit_return_from_non_void_function:missing return statement at end of non-void entity-kind “entity”
|
|
duplicate_using_decl:duplicate using-declaration of “entity” ignored
|
|
unsigned_enum_bit_field_with_signed_enumerator:enum bit fields are always unsigned, but enum “type” includes
negative enumerator
|
|
cl_class_name_injection_option_only_in_cplusplus:option “class_name_injection” can be used only when compiling C++
|
|
cl_arg_dependent_lookup_option_only_in_cplusplus:option “arg_dep_lookup” can be used only when compiling C++
|
|
cl_friend_injection_option_only_in_cplusplus:option “friend_injection” can be used only when compiling C++
|
|
invalid_name_after_template:name following “template” must be a template
|
|
local_class_friend_requires_prior_decl:nonstandard local-class friend declaration – no prior declaration in
the enclosing scope
|
|
nonstd_default_arg:specifying a default argument on this declaration is nonstandard
|
|
cl_nonstd_using_decl_option_only_in_cplusplus:option “nonstd_using_decl” can be used only when compiling C++
|
|
bad_return_type_on_main:return type of function “main” must be “int”
|
|
template_parameter_has_class_type:a nontype template parameter may not have class type
|
|
default_arg_on_member_decl:a default template argument cannot be specified on the definition of
a member of a class template outside the template
|
|
return_from_ctor_function_try_block_handler:a return statement is not allowed in a handler of a function try
block of a constructor
|
|
no_ordinary_and_extended_designators:ordinary and extended designators cannot be combined in an
initializer designation
|
|
no_negative_designator_range:the second subscript must not be smaller than the first
|
|
cl_extended_designators_option_only_in_C:option “extended_designators” can be used only when compiling C
|
|
extra_bits_ignored:declared size for bit field is larger than the size of the bit field
type; truncated to xxxx bits
|
|
constructor_type_mismatch:type used as constructor name does not match type “type”
|
|
type_with_no_linkage_in_var_with_linkage:use of a type with no linkage to declare a variable with linkage
|
|
type_with_no_linkage_in_function:use of a type with no linkage to declare a function
|
|
return_type_on_constructor:return type may not be specified on a constructor
|
|
return_type_on_destructor:return type may not be specified on a destructor
|
|
malformed_universal_character:incorrectly formed universal character name
|
|
invalid_UCN:universal character name specifies an invalid character
|
|
UCN_names_basic_char:a universal character name cannot designate a character in the basic
character set
|
|
invalid_identifier_UCN:this universal character is not allowed in an identifier
|
|
VA_ARGS_not_allowed:the identifier __VA_ARGS__ can only appear in the replacement lists
of variadic macros
|
|
friend_qualification_ignored:the qualifier on this friend declaration is ignored
|
|
no_range_designator_with_dynamic_init:array range designators cannot be applied to dynamic initializers
|
|
property_name_not_allowed:property name cannot appear here
|
|
inline_qualifier_ignored:“inline” used as a function qualifier is ignored
|
|
cl_compound_literals_option_only_in_C:option “compound_literals” can be used only when compiling C
|
|
vla_not_allowed:a variable-length array type is not allowed
|
|
bad_integral_compound_literal:a compound literal is not allowed in an integral constant expression
|
|
bad_compound_literal_type:a compound literal of type “type” is not allowed
|
|
friend_template_in_local_class:a template friend declaration cannot be declared in a local class
|
|
ambiguous_question_operator:ambiguous “?” operation: second operand of type “type” can be
converted to third operand type “type”, and vice versa
|
|
bad_call_of_class_object:call of an object of a class type without appropriate operator() or
conversion functions to pointer-to-function type
|
|
ambiguous_class_call:there is more than one way an object of type “type” can be called
for the argument list:
|
|
similar_typedef:typedef name has already been declared (with similar type)
|
|
no_internal_linkage_for_new_or_delete:operator new and operator delete cannot be given internal linkage
|
|
no_mutable_allowed_on_anonymous_union:storage class “mutable” is not allowed for anonymous unions
|
|
bad_pch_file:invalid precompiled header file
|
|
abstract_class_catch_type:abstract class type “type” is not allowed as catch type:
|
|
bad_qualified_function_type:a qualified function type cannot be used to declare a nonmember
function or a static member function
|
|
bad_qualified_function_type_parameter:a qualified function type cannot be used to declare a parameter
|
|
ptr_or_ref_to_qualified_function_type:cannot create a pointer or reference to qualified function type
|
|
nonstd_braces:extra braces are nonstandard
|
|
bad_cmd_line_macro:invalid macro definition: xxxx
|
|
nonstandard_ptr_minus_ptr:subtraction of pointer types “type” and “type” is nonstandard
|
|
empty_template_param_list:an empty template parameter list is not allowed in a template
template parameter declaration
|
|
exp_class:expected “class”
|
|
struct_not_allowed:the “struct” keyword may not be used when declaring a template
template parameter
|
|
virtual_function_decl_hidden:entity-kind “entity” is hidden by “entity” – virtual
function override intended?
|
|
no_qualified_friend_definition:a qualified name is not allowed for a friend declaration that is a
function definition
|
|
not_compatible_with_templ_templ_param:entity-kind “entity” is not compatible with entity-kind
“entity”
|
|
storage_class_requires_function_or_variable:a storage class may not be specified here
|
|
member_using_must_be_visible_in_direct_base:class member designated by a using-declaration must be visible in a
direct base class
|
|
cl_sun_incompatible_with_cfront:Sun mode is incompatible with cfront mode
|
|
cl_strict_mode_incompatible_with_sun:strict mode is incompatible with Sun mode
|
|
cl_sun_mode_only_in_cplusplus:Sun mode is only allowed when compiling C++
|
|
template_template_param_same_name_as_templ_param:a template template parameter cannot have the same name as one of its
template parameters
|
|
recursive_def_arg_instantiation:recursive instantiation of default argument
|
|
bad_template_name:entity-kind “entity” is not an entity that can be defined
|
|
destructor_name_must_be_qualified:destructor name must be qualified
|
|
no_typename_in_friend_class_decl:friend class name may not be introduced with “typename”
|
|
no_ctor_or_dtor_using_declaration:a using-declaration may not name a constructor or destructor
|
|
friend_is_nonreal_template:a qualified friend template declaration must refer to a specific
previously declared template
|
|
bad_class_template_decl:invalid specifier in class template declaration
|
|
simple_incompatible_param:argument is incompatible with formal parameter
|
|
cl_dep_name_option_only_in_cplusplus:option “dep_name” can be used only when compiling C++
|
|
op_arrow_loop:loop in sequence of “operator->” functions starting at class
“type”
|
|
not_a_member_class:entity-kind “entity” has no member class “xxxx”
|
|
name_not_class_in_file_scope:the global scope has no class named “xxxx”
|
|
recursive_inst_of_templ_default_arg:recursive instantiation of template default argument
|
|
no_access_or_using_decl_in_union:access declarations and using-declarations cannot appear in unions
|
|
not_class_member:“entity” is not a class member
|
|
nonstd_const_member_decl_not_allowed:nonstandard member constant declaration is not allowed
|
|
cl_ignore_std_option_only_in_cplusplus:option “ignore_std” can be used only when compiling C++
|
|
cl_parse_nonclass_templates_option_only_in_cplusplus:option “parse_templates” can be used only when compiling C++
|
|
cl_dep_name_requires_parse_nonclass_templates:option “dep_name” cannot be used with “no_parse_templates”
|
|
cl_incompatible_language_modes:language modes specified are incompatible
|
|
invalid_nested_class_redecl:invalid redeclaration of nested class
|
|
flexible_array_member_not_allowed:type containing an unknown-size array is not allowed
|
|
static_variable_in_inline_function:a variable with static storage duration cannot be defined within an
inline function
|
|
bad_linkage_of_ref_within_inline_function:an entity with internal linkage cannot be referenced within an inline
function with external linkage
|
|
type_generic_function_mismatch:argument type “type” does not match this type-generic function
macro
|
|
friend_cannot_add_default_arguments:friend declaration cannot add default arguments to previous
declaration
|
|
cannot_be_declared_in_scope:entity-kind “entity” cannot be declared in this scope
|
|
id_can_only_appear_in_function:the reserved identifier “xxxx” may only be used inside a function
|
|
invalid_identifier_start_UCN:this universal character cannot begin an identifier
|
|
exp_string_literal:expected a string literal
|
|
unrecognized_stdc_pragma:unrecognized STDC pragma
|
|
bad_stdc_pragma_arg:expected “ON”, “OFF”, or “DEFAULT”
|
|
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
|
|
bad_va_copy:incorrect use of va_copy
|
|
only_applies_to_float_types:xxxx can only be used with floating-point types
|
|
complex_type_not_allowed:complex type is not allowed
|
|
invalid_designator_kind:invalid designator kind
|
|
inexact_fp_conversion:floating-point value cannot be represented exactly
|
|
bad_complex_operation_result:complex floating-point operation result is out of range
|
|
real_imaginary_conversion:conversion between real and imaginary yields zero
|
|
cannot_initialize_flexible_array_member:an initializer cannot be specified for a flexible array member
|
|
imaginary_times_assign:imaginary *= imaginary sets the left-hand operand to zero
|
|
undeclared_parameter:standard requires that entity-kind “entity” be given a type by a
subsequent declaration (“int” assumed)
|
|
inline_never_defined:a definition is required for inline entity-kind “entity”
|
|
conversion_to_pointer_loses_bits:conversion from integer to smaller pointer
|
|
missing_floating_point_type:a floating-point type must be included in the type specifier for a
_Complex or _Imaginary type
|
|
type_decl_in_anon_union:types cannot be declared in anonymous unions
|
|
returning_ptr_to_local_variable:returning pointer to local variable
|
|
returning_ptr_to_local_temp:returning pointer to local temporary
|
|
cl_export_template_option_only_in_cplusplus:option “export” can be used only when compiling C++
|
|
cl_export_template_requires_dep_name:option “export” cannot be used with “no_dep_name”
|
|
cl_export_template_requires_no_implicit_include:option “export” cannot be used with “implicit_include”
|
|
corresp_decl_incompatible:declaration of entity-kind “entity” is incompatible with a
declaration in another translation unit
|
|
corresp_decl_at:the other declaration is at line xxxx
|
|
field_cannot_involve_vla_type:a field declaration cannot have a type involving a variable length
array
|
|
entity_differs_in_other_trans_unit:declaration of entity-kind “entity” had a different meaning
during compilation of “xxxx”
|
|
exp_template:expected “template”
|
|
export_on_instantiation:“export” cannot be used on an explicit instantiation
|
|
bad_decl_for_export:“export” cannot be used on this declaration
|
|
exported_in_unnamed_namespace:a member of an unnamed namespace cannot be declared “export”
|
|
export_after_definition:a template cannot be declared “export” after it has been defined
|
|
labeled_declaration:a declaration cannot have a label
|
|
no_export_support:support for exported templates is disabled
|
|
entity_defined_in_other_trans_unit:entity-kind “entity” already defined during compilation of
“xxxx”
|
|
entity_defined_twice:entity-kind “entity” already defined in another translation unit
|
|
based_var_cannot_be_local:a nonstatic local variable may not be used in a __based specification
|
|
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
|
|
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
|
|
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
|
|
cl_implicit_include_incompatible_with_multiple_trans_units:“implicit_include” cannot be used when compiling more than one
translation unit
|
|
corrupted_export_template_file:exported template file “xxxx” is corrupted
|
|
exported_instantiation_and_specialized:entity-kind “entity” cannot be instantiated – it has been
explicitly specialized in the translation unit containing the
exported definition
|
|
unqual_named_function_with_qual_object:the object has type qualifiers that are not compatible with the
member entity-kind “entity”
|
|
no_matching_function_due_to_selector:no instance of entity-kind “entity” matches the argument list and
object (the object has type qualifiers that prevent a match)
|
|
mode_incompatible_with_type:an attribute specifies a mode incompatible with “type”
|
|
no_type_of_specified_width:there is no type with the width specified
|
|
bad_attribute_alignment:invalid alignment value specified by attribute
|
|
attribute_does_not_apply_to_type:invalid attribute for “type”
|
|
arguments_provided_for_attribute:attribute “xxxx” does not take arguments
|
|
exp_attribute_name:expected an attribute name
|
|
unrecognized_attribute:unknown attribute “xxxx”
|
|
attribute_not_allowed:attributes may not appear here
|
|
invalid_argument_to_attribute:invalid argument to attribute “xxxx”
|
|
assigned_goto_requires_void_ptr:in “goto *expr”, expr must have type “void *”
|
|
nonstd_assigned_goto:“goto *expr” is nonstandard
|
|
nonstd_address_of_label:taking the address of a label is nonstandard
|
|
cl_duplicate_file_name:file name specified more than once: xxxx
|
|
warning_directive:#warning directive: xxxx
|
|
transparent_type_is_not_union:the “transparent_union” attribute only applies to unions, and
“type” is not a union
|
|
transparent_attribute_ignored:the “transparent_union” attribute is ignored on incomplete types
|
|
union_cannot_be_transparent_sym:“type” cannot be transparent because entity-kind “entity”does not have the same size as the first field
|
|
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
|
|
attribute_does_not_apply_to_local_variable:attribute “xxxx” does not apply to local variables
|
|
attributes_in_rout_defn:attributes are not permitted in a function definition
|
|
invalid_case_range:the second constant in a case range must be larger than the first
|
|
asm_name_in_rout_defn:an asm name is not permitted in a function definition
|
|
asm_name_in_typedef:an asm name is ignored in a typedef
|
|
bad_reg_name:unknown register name “xxxx“
|
|
bad_asm_constraint_modifier:unknown asm constraint modifier ‘xxxx‘
|
|
bad_asm_constraint_letter:unknown asm constraint letter ‘xxxx‘
|
|
missing_constraint_letter:asm operand has no constraint letter
|
|
asm_output_must_have_output_mod:an asm output operand must have one of the ‘=’ or ‘+’ modifiers
|
|
asm_input_must_not_have_output_mod:an asm input operand may not have the ‘=’ or ‘+’ modifiers
|
|
register_used_twice:register “xxxx“ used more than once
|
|
register_used_and_clobbered:register “xxxx“ is both used and clobbered
|
|
register_clobbered_twice:register “xxxx“ clobbered more than once
|
|
fixed_register_used:register “xxxx“ has a fixed purpose and may not be used in an asm
statement
|
|
fixed_register_clobbered:register “xxxx“ has a fixed purpose and may not be clobbered in
an asm statement
|
|
empty_clobbers_list:an empty clobbers list must be omitted entirely
|
|
exp_asm_operand:expected an asm operand
|
|
exp_asm_clobber:expected a register to clobber
|
|
format_rout_not_varargs:“format” attribute requires an ellipsis parameter or parameter pack
|
|
subst_arg_is_not_variable:first substitution argument is not the first variable argument
|
|
fmt_arg_does_not_exist:format argument index is greater than number of parameters
|
|
fmt_arg_is_not_string:format argument does not have string type
|
|
template_not_in_template:the “template” keyword used for syntactic disambiguation may only be
used within a template
|
|
attr_requires_func_type:attribute “xxxx” does not apply to non-function type “type”
|
|
nonobject_pointer_arithmetic:arithmetic on pointer to void or function type
|
|
invalid_storage_class_in_for_init:storage class must be auto or register
|
|
va_arg_would_have_been_promoted:“type” would have been promoted to “type” when passed through
the ellipsis parameter; use the latter type instead
|
|
not_a_base_class_member:“xxxx” is not a base class member
|
|
super_after_scope:__super cannot appear after “::”
|
|
super_not_in_class:__super may only be used in a class scope
|
|
unqualified_super:__super must be followed by “::”
|
|
mangled_name_too_long:mangled name is too long
|
|
aliased_name_undeclared:declaration aliased to undefined entity “xxxx”
|
|
aliased_name_bad_kind:declaration does not match its alias entity-kind “entity”
|
|
alias_cannot_have_definition:entity declared as alias cannot have definition
|
|
vla_size_ignored:variable-length array field type will be treated as zero-length array
field type
|
|
gcc_lvalue_cast_ignored:nonstandard cast on lvalue ignored
|
|
cl_invalid_flag_name:unrecognized flag name: xxxx
|
|
qualified_void_return_type:void return type cannot be qualified
|
|
auto_ignored:the auto specifier is ignored here (invalid in standard C/C++)
|
|
alignment_reduction_ignored:a reduction in alignment without the “packed” attribute is ignored
|
|
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
|
|
excess_initializers_ignored:excess initializers are ignored
|
|
va_start_requires_ellipsis_function:va_start can appear only in a function with an ellipsis parameter
|
|
cl_short_enums_requires_gcc_mode:the “short_enums” option is only valid in GNU C and GNU C++ modes
|
|
bad_export_info_file:invalid export information file “xxxx” at line number xxxx
|
|
statement_expression_in_function_only:statement expressions are only allowed in block scope
|
|
asm_name_on_auto_variable:an asm name is ignored on a non-register automatic variable
|
|
unrecognized_upc_pragma:unrecognized UPC pragma
|
|
mismatched_shared_block_size:shared block size does not match one previously specified
|
|
ambiguous_block_size_spec:bracketed expression is assumed to be a block size specification
rather than an array dimension
|
|
shared_block_size_must_be_positive:the block size of a shared array must be greater than zero
|
|
multiple_block_sizes:multiple block sizes not allowed
|
|
nonshared_strict_relaxed:strict or relaxed requires shared
|
|
threads_constant_not_allowed:THREADS not allowed in this context
|
|
shared_block_size_too_large:block size specified exceeds the maximum value of xxxx
|
|
function_returning_shared:function returning shared is not allowed
|
|
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
|
|
shared_inside_struct:shared type inside a struct or union is not allowed
|
|
shared_parameter:parameters may not have shared types
|
|
threads_dimension_requires_definite_block_size:a dynamic THREADS dimension requires a definite block size
|
|
bad_shared_storage_class:shared variables must be static or extern
|
|
nonshared_blocksizeof:argument of upc_blocksizeof is a pointer to a shared type (not shared
type itself)
|
|
nested_upc_forall:affinity expression ignored in nested upc_forall
|
|
exit_forall:branching into or out of a upc_forall loop is not allowed
|
|
bad_affinity:affinity expression must have a shared type or point to a shared type
|
|
shared_affinity_type:affinity has shared type (not pointer to shared)
|
|
upc_shared_void_comparison:shared void* types can only be compared for equality
|
|
cl_upc_requires_ansi_c_dialect:UPC mode is incompatible with C++ and K&R modes
|
|
null_char_ignored:null (zero) character in input line ignored
|
|
null_char_in_string:null (zero) character in string or character constant
|
|
null_char_in_header_name:null (zero) character in header name
|
|
for_init_hides_declaration:declaration in for-initializer hides a declaration in the surrounding
scope
|
|
for_init_hidden_declaration:the hidden declaration is at line xxxx
|
|
prototype_lost:the prototype declaration of entity-kind “entity” (declared at
line xxxx) is ignored after this unprototyped redeclaration
|
|
bad_linkage_for_redefine_extname:entity-kind “entity” (declared at line xxxx) must have
external C linkage
|
|
declaration_hides_for_init:variable declaration hides declaration in for-initializer
|
|
typedef_in_elab_type:typedef “xxxx” may not be used in an elaborated type specifier
|
|
call_of_zero:call of zero constant ignored
|
|
handler_redeclares_parameter:parameter “xxxx” may not be redeclared in a catch clause of
function try block
|
|
specialization_out_of_namespace:the initial explicit specialization of entity-kind “entity” must
be declared in the namespace containing the template
|
|
cc_clobber_ignored:“cc” clobber ignored
|
|
invalid_token_after_template:“template” must be followed by an identifier
|
|
mythread_constant_not_allowed:MYTHREAD not allowed in this context
|
|
bad_upc_shared_pointer_layout_qualifier:layout qualifier cannot qualify pointer to shared
|
|
bad_upc_shared_array_layout_qualifier:layout qualifier cannot qualify an incomplete array
|
|
decl_hides_catch_parameter:declaration of “xxxx” hides handler parameter
|
|
nonstd_ignored_array_cast:nonstandard cast to array type ignored
|
|
invalid_pragma_operator:this pragma cannot be used in a _Pragma operator (a #pragma directive
must be used)
|
|
field_uses_tail_padding:field uses tail padding of a base class
|
|
gnu_may_use_bit_padding:GNU C++ compilers may use bit field padding
|
|
deprecated_entity:entity-kind “entity” was declared deprecated
|
|
field_with_asm_name_not_allowed:an asm name is not allowed on a nonstatic member declaration
|
|
unrecognized_format_function_type:unrecognized format function type “xxxx” ignored
|
|
base_uses_tail_padding:base class “entity” uses tail padding of base class “entity”
|
|
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
|
|
init_priority_reserved:requested initialization priority is reserved for internal use
|
|
hidden_anonymous_union_field:this anonymous union/struct field is hidden by entity-kind
“entity” (declared at line xxxx)
|
|
invalid_error_number:invalid error number
|
|
invalid_error_tag:invalid error tag
|
|
exp_error_argument:expected an error number or error tag
|
|
size_affected_by_tail_padding:size of class is affected by tail padding
|
|
nonlocal_label_reference:labels can be referenced only in function definitions
|
|
branch_into_statement_expr:transfer of control into a statement expression is not allowed
|
|
bad_statement_in_statement_expr:this statement is not allowed inside of a statement expression
|
|
class_def_in_statement_expr:a class that is not trivially copyable cannot be defined inside a
statement expression
|
|
dyn_local_static_in_statement_expr:a dynamically-initialized local static variable is not allowed inside
of a statement expression
|
|
vla_in_statement_expr:a variable-length array is not allowed inside of a statement
expression
|
|
statement_expr_in_default_arg:a statement expression is not allowed inside of a default argument
|
|
ptr_func_ptr_data_conv:nonstandard conversion between pointer to function and pointer to data
|
|
interface_cannot_have_virtual_base:interface types cannot have virtual base classes
|
|
interface_cannot_have_private_or_protected:interface types cannot specify “private” or “protected”
|
|
interface_must_derive_from_interface:interface types can only derive from other interface types
|
|
type_is_interface:“type” is an interface type
|
|
interface_cannot_have_typedef:interface types cannot have typedef members
|
|
interface_cannot_have_ctor_or_dtor:interface types cannot have user-declared constructors or destructors
|
|
interface_cannot_have_operator:interface types cannot have user-declared member operators
|
|
interface_cannot_be_local:interface types cannot be declared in functions
|
|
interface_cannot_have_data_member:interface types cannot have data members
|
|
interface_cannot_have_friend:interface types cannot contain friend declarations
|
|
interface_cannot_be_nested_class:interface types cannot be nested class types
|
|
interface_cannot_have_member_templates:interface types cannot have member templates
|
|
interface_cannot_have_static_members:interface types cannot have static member functions
|
|
invalid_microsoft_pragma_operator:this pragma cannot be used in a __pragma operator (a #pragma
directive must be used)
|
|
qualifier_must_be_base_class:qualifier must be base class of “type”
|
|
invalid_selective_overrider_declaration:declaration must correspond to a pure virtual member function in the
indicated base class
|
|
integer_overflow_class_internal:integer overflow in internal computation due to size or complexity of
“type”
|
|
integer_overflow_internal:integer overflow in internal computation
|
|
invalid_type_for_w64:__w64 can only be specified on int, long, and pointer types
|
|
ilp64_will_narrow:potentially narrowing conversion when compiled in an environment
where int, long, or pointer types are 64 bits wide
|
|
value_of_pragma_pack_show:current value of pragma pack is xxxx
|
|
pragma_pack_show_args_ignored:arguments for pragma pack(show) are ignored
|
|
multiple_declspec_align:earlier __declspec(align(…)) ignored
|
|
exp_ms_attr_enum_value:expected an argument value for the “xxxx” attribute parameter
|
|
invalid_ms_attr_enum_value:invalid argument value for the “xxxx” attribute parameter
|
|
exp_ms_attr_bool_value:expected a boolean value for the “xxxx” attribute parameter
|
|
positional_after_named:a positional argument cannot follow a named argument in an attribute
|
|
invalid_ms_attr_name:attribute “xxxx” has no parameter named “xxxx”
|
|
exp_ms_attr_arg_list:expected an argument list for the “xxxx” attribute
|
|
exp_comma_or_rbracket:expected a “,” or “]”
|
|
duplicate_ms_attr_arg:attribute argument “xxxx” has already been given a value
|
|
cannot_assign_to_ms_attr:a value cannot be assigned to the “xxxx” attribute
|
|
ptr_incomplete_throw:a throw expression may not have pointer-to-incomplete type
|
|
alignof_incomplete_type:alignment-of operator applied to incomplete type
|
|
invalid_use_of_standalone_ms_attr:“xxxx” may only be used as a standalone attribute
|
|
invalid_use_of_ms_attr:“xxxx” attribute cannot be used here
|
|
ms_attr_not_allowed:attributes are not allowed here
|
|
invalid_ms_attr_uuid_value:invalid argument value for the “xxxx” attribute parameter
|
|
too_many_ms_attr_args:too many attribute arguments
|
|
conv_from_inaccessible_base_class:conversion from inaccessible base class “type” is not allowed
|
|
cl_export_template_requires_distinct_templ_sigs:option “export” requires distinct template signatures
|
|
mixed_string_concatenation:string literals with different character kinds cannot be concatenated
|
|
no_gnu_virtual_base_gap:GNU layout bug not emulated because it places virtual base
“entity” outside “entity” object boundaries
|
|
gnu_virtual_base_gap:virtual base “entity” placed outside “entity” object
boundaries
|
|
nonstd_qualifier_in_namespace_member_decl:nonstandard qualified name in namespace member declaration
|
|
declspec_align_reduction_ignored:reduction in alignment ignored
|
|
const_ignored:const qualifier ignored
|
|
invalid_asm_qualifiers:invalid GNU asm qualifiers
|
|
non_pod_passed_to_ellipsis:a class type that is not trivially copyable passed through ellipsis
|
|
non_pod_va_arg:a class type that cannot be trivially copied cannot be fetched by
va_arg
|
|
nonstd_fixed_point_suffix:the ‘u’ or ‘U’ suffix must appear before the ‘l’ or ‘L’ suffix in a
fixed-point literal
|
|
cl_fixed_point_option_only_in_C:option “fixed_point” can be used only when compiling C
|
|
integer_may_not_fit_in_fixed_point_result:integer operand may cause fixed-point overflow
|
|
bad_fixed_point_value:fixed-point constant is out of range
|
|
inexact_fxp_conversion:fixed-point value cannot be represented exactly
|
|
c99_constant_in_unsigned_long_long_range:constant is too large for long long; given unsigned long long type
(nonstandard)
|
|
bad_upc_shared_void_pointer_layout_qualifier:layout qualifier cannot qualify pointer to shared void
|
|
duplicate_threads_dim:duplicate THREADS in multidimensional array type
|
|
bad_strong_using_scope:a strong using-directive may only appear in a namespace scope
|
|
probable_guiding_friend:entity-kind “entity” declares a non-template function – add <>
to refer to a template instance
|
|
operation_may_not_fit_in_fixed_point_result:operation may cause fixed-point overflow
|
|
expr_not_integral_or_enum_or_fixed_point:expression must have integral, enum, or fixed-point type
|
|
expr_not_integral_or_fixed_point:expression must have integral or fixed-point type
|
|
noreturn_function_does_return:function declared with “noreturn” does return
|
|
asm_name_conflict:asm name ignored because it conflicts with a previous declaration
|
|
duplicate_typedef_in_class:class member typedef may not be redeclared
|
|
taking_address_of_temporary:taking the address of a temporary
|
|
attribute_ignored_on_incomplete_class_decl:attributes are ignored on a class declaration that is not also a
definition
|
|
implicit_fixed_point_to_floating_point_conversion:fixed-point value implicitly converted to floating-point type
|
|
no_classification_for_fixed_point_type:fixed-point types have no classification
|
|
fixed_template_parameter:a template parameter may not have fixed-point type
|
|
hex_fp_constant:hexadecimal floating-point constants are not allowed
|
|
cl_named_address_spaces_option_only_in_C:option “named_address_spaces” can be used only when compiling C
|
|
float_to_fixed_conversion:floating-point value does not fit in required fixed-point type
|
|
inexact_fixed_conversion:value cannot be converted to fixed-point value exactly
|
|
fixed_sign_change:fixed-point conversion resulted in a change of sign
|
|
integer_to_fixed_conversion:integer value does not fit in required fixed-point type
|
|
bad_fixed_operation_result:fixed-point operation result is out of range
|
|
multiple_named_address_spaces:multiple named address spaces
|
|
bad_storage_class_for_named_address_space_variable:variable with automatic storage duration cannot be stored in a named
address space
|
|
type_with_named_address_space_not_allowed:type cannot be qualified with named address space
|
|
named_address_space_on_function_type:function type cannot be qualified with named address space
|
|
field_type_cannot_be_qualified_with_named_address_space:field type cannot be qualified with named address space
|
|
fixed_to_float_conversion:fixed-point value does not fit in required floating-point type
|
|
fixed_to_integer_conversion:fixed-point value does not fit in required integer type
|
|
fixed_to_fixed_conversion:value does not fit in required fixed-point type
|
|
cl_named_registers_option_only_in_C:option “named_registers” can be used only when compiling C
|
|
named_register_not_allowed:a named-register storage class is not allowed here
|
|
register_storage_class_conflict:entity-kind “entity” (declared at line xxxx) redeclared with
incompatible named-register storage class
|
|
aliased_variable_cannot_have_register_storage_class:named-register storage class cannot be specified for aliased variable
|
|
register_in_use:named-register storage specifier is already in use
|
|
embedded_c_option_incompatible_with_individual_feature_options:option “embedded_c” cannot be combined with options to control
individual Embedded C features
|
|
cl_invalid_edg_base_directory:invalid EDG_BASE directory: xxxx
|
|
bad_predef_macro_line:invalid predefined macro entry at line xxxx: xxxx
|
|
bad_macro_mode_name:invalid macro mode name “xxxx”
|
|
bad_predef_macro_redef:incompatible redefinition of predefined macro “xxxx”
|
|
missing_named_register_storage_class:redeclaration of entity-kind “entity” (declared at line xxxx)
is missing a named-register storage class
|
|
register_too_small:named register is too small for the type of the variable
|
|
no_named_register_for_array:arrays cannot be declared with named-register storage class
|
|
enum_const_cast:const_cast to enum type is nonstandard
|
|
cl_embedded_c_option_only_in_C:option “embedded_c” can be used only when compiling C
|
|
named_address_space_not_allowed:a named address space qualifier is not allowed here
|
|
bad_initializer_for_array_with_unspecified_bound:an empty initializer is invalid for an array with unspecified bound
|
|
incomplete_class_return_type:function returns incomplete class type “type”
|
|
out_of_class_initializer_ignored:entity-kind “entity” has already been initialized; the
out-of-class initializer will be ignored
|
|
local_variable_hidden:declaration hides entity-kind “entity” (declared at line xxxx)
|
|
named_address_space_for_parameter:a parameter cannot be allocated in a named address space
|
|
bad_float_or_fixed_suffix:invalid suffix on fixed-point or floating-point constant
|
|
register_in_address_space:a register variable cannot be allocated in a named address space
|
|
bad_stdc_fx_overflow_pragma_arg:expected “SAT” or “DEFAULT”
|
|
no_corresponding_member_delete:entity-kind “entity” has no corresponding member operator
delete*xxxx* (to be called if an exception is thrown during
initialization of an allocated object)
|
|
dll_thread_conflict:a thread-local variable cannot be declared with “dllimport” or
“dllexport”
|
|
function_returning_named_address_space:a function return type cannot be qualified with a named address space
|
|
cannot_initialize_destructible_flexible_array:an initializer cannot be specified for a flexible array member whose
elements have a nontrivial destructor
|
|
cannot_initialize_indirect_flexible_array:an initializer cannot be specified for an indirect flexible array
member
|
|
cl_invalid_gnu_version:invalid GNU version number: xxxx
|
|
attribute_after_parenthesized_initializer:variable attributes appearing after a parenthesized initializer are
ignored
|
|
gcc_use_of_cast_as_lvalue:the result of this cast cannot be used as an lvalue
|
|
unsigned_fixed_point_negation:negation of an unsigned fixed-point value
|
|
register_name_on_nonregister:register names can only be used for register variables
|
|
void_named_register:named-register variables cannot have void type
|
|
parameter_with_link_scope_specifier:parameters cannot have link scope specifiers
|
|
multiple_link_scope_specifiers:multiple link scope specifiers
|
|
link_scope_requires_external_linkage:link scope specifiers can only appear on functions and variables with
external linkage
|
|
link_scope_relaxation:a redeclaration cannot weaken a link scope
|
|
invalid_link_scope:link scope specifier not allowed on this declaration
|
|
nonstd_qualifier_in_global_scope_decl:nonstandard qualified name in global scope declaration
|
|
impl_narrowing_64_bit_int:implicit conversion of a 64-bit integral type to a smaller integral
type (potential portability problem)
|
|
expl_narrowing_64_bit_int:explicit conversion of a 64-bit integral type to a smaller integral
type (potential portability problem)
|
|
pointer_conversion_to_same_size_int:conversion from pointer to same-sized integral type (potential
portability problem)
|
|
friend_specifier_ignored:friend specifier is not allowed in a class definition; friend
specifier is ignored
|
|
cannot_use_thread_local_storage:only static and extern variables can use thread-local storage
|
|
multiple_thread_local_storage_specifiers:multiple thread-local storage specifiers
|
|
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)
|
|
stray_carriage_return:carriage return character in source line outside of comment or
character/string literal
|
|
expr_not_fixed_point:expression must have fixed-point type
|
|
invalid_access_specifier:invalid use of access specifier is ignored
|
|
ptr_conv_to_bool:pointer converted to bool
|
|
ptr_to_member_conv_to_bool:pointer-to-member converted to bool
|
|
storage_specifier_ignored:storage specifier ignored
|
|
dll_interface_ignored_on_class_template:dllexport and dllimport are ignored on class templates
|
|
base_class_has_different_dll_interface:base class dllexport/dllimport specification differs from that of the
derived class
|
|
redeclaration_adds_dll_interface:redeclaration cannot add dllexport/dllimport to “entity”(declared at line xxxx)
|
|
dll_interface_conflict_dllexport_assumed:dllexport/dllimport conflict with “entity” (declared at line
xxxx); dllexport assumed
|
|
dllimport_defined:cannot define dllimport entity
|
|
dll_interface_requires_external_linkage:dllexport/dllimport requires external linkage
|
|
class_and_member_have_dll_interface:a member of a class declared with dllexport/dllimport cannot itself
be declared with such a specifier
|
|
field_without_dll_interface:field of class type without a DLL interface used in a class with a
DLL interface
|
|
microsoft_parenthesized_member:parenthesized member declaration is nonstandard
|
|
white_space_inside_splice:white space between backslash and newline in line splice ignored
|
|
dll_interface_conflict_none_assumed:dllexport/dllimport conflict with “entity” (declared at line
xxxx); dllimport/dllexport dropped
|
|
bad_nonstd_anonymous_union_field:invalid member for anonymous member class – class “type” has a
disallowed member function
|
|
nonstd_reinterpret_cast:nonstandard reinterpret_cast
|
|
positional_format_specifier_zero:positional format specifier cannot be zero
|
|
nonlocal_vla_not_allowed:a local class cannot reference a variable-length array type from an
enclosing function
|
|
class_and_inherited_member_instance_have_dll_interface:member entity-kind “entity” (declared at line xxxx) already
has an explicit dllexport/dllimport specifier
|
|
vla_in_return_type:a variable-length array is not allowed in a function return type
|
|
ptr_to_member_of_vla_type:variable-length array type is not allowed in pointer to member of
type “type”
|
|
statement_expr_with_vla_type:the result of a statement expression cannot have a type involving a
variable-length array
|
|
trigraph_ignored:support for trigraphs is disabled
|
|
attribute_requires_external_linkage:the “xxxx” attribute can only appear on functions and variables
with external linkage
|
|
cl_strict_mode_incompatible_with_ignore_std:strict mode is incompatible with treating namespace std as an alias
for the global namespace
|
|
invalid_symbolic_asm_operand_name:invalid symbolic operand name “xxxx”
|
|
match_limit_for_symbolic_asm_operand:a symbolic match constraint must refer to one of the first ten
operands
|
|
if_exists_not_allowed:use of __if_exists is not supported in this context
|
|
if_exists_not_closed:__if_exists block not closed in the same scope in which it was opened
|
|
bad_init_for_thread_local:thread-local variable cannot be dynamically initialized
|
|
unaligned_qualifier_dropped:conversion drops “__unaligned” qualifier
|
|
insufficient_enum_range:some enumerator values cannot be represented by the integral type
underlying the enum type
|
|
friend_class_template_default_arg_not_allowed:default argument is not allowed on a friend class template declaration
|
|
multi_char_literal:multicharacter character literal (potential portability problem)
|
|
exp_class_type:expected a class, struct, or union type
|
|
offsetof_nonfield:second operand of offsetof must be a field
|
|
offsetof_bit_field:second operand of offsetof may not be a bit field
|
|
offsetof_virtual_base_member:cannot apply offsetof to a member of a virtual base
|
|
offset_in_non_POD_nonstandard:offsetof applied to a type other than a standard-layout class
|
|
default_arg_on_member_friend:default arguments are not allowed on a friend declaration of a member
function
|
|
default_arg_requires_friend_to_be_definition:default arguments are not allowed on friend declarations that are not
definitions
|
|
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
|
|
bad_qualifier_for_nested_class_decl:invalid qualifier for “type” (a derived class is not allowed here)
|
|
bad_qualifier_for_delayed_class_definition:invalid qualifier for definition of class “type”
|
|
no_prior_push_macro:no prior push_macro for “xxxx”
|
|
wide_string_not_allowed:wide string literal not allowed
|
|
feature_requires_c:“xxxx” is only allowed in C
|
|
microsoft_ptr_width_must_follow_star:__ptr32 and __ptr64 must follow a “*”
|
|
microsoft_ptr_width_conflict:__ptr32 and __ptr64 cannot both apply
|
|
name_must_be_prototype_instantiation:template argument list of “xxxx” must match the parameter list
|
|
incomplete_class_type:an incomplete class type is not allowed
|
|
complex_integral_type:complex integral types are not supported
|
|
real_and_imag_require_complex_argument:__real and __imag can only be applied to complex values
|
|
real_and_imag_applied_to_real_value:__real/__imag applied to real value
|
|
deprecated_entity_with_custom_message:entity-kind “entity” was declared deprecated (“xxxx”)
|
|
dll_interface_in_unnamed_namespace:dllimport/dllexport applied to a member of an unnamed namespace
|
|
thiscall_requires_nonstatic_member:__thiscall can only appear on nonstatic member function declarations
|
|
vararg_thiscall:__thiscall not allowed on function with ellipsis parameter
|
|
specialization_of_referenced_entity_pos:explicit specialization of entity-kind “entity” must precede its
first use (at line xxxx)
|
|
sealed_base_class:a sealed class type cannot be used as a base class
|
|
duplicate_class_modifier:duplicate class modifier
|
|
function_modifiers_abstract_and_sealed:a member function cannot have both the “abstract” and “sealed”
modifiers
|
|
pure_specifier_on_sealed_member:a sealed member cannot be pure virtual
|
|
function_modifier_requires_virtual_function:nonvirtual function cannot be declared with “abstract” or “sealed”
modifier
|
|
override_member_does_not_override:member function declared with “override” does not override a base
class member
|
|
override_of_sealed_function:cannot override sealed entity-kind “entity” (declared at line
xxxx)
|
|
type_is_declared_abstract:entity-kind “entity” (declared at line xxxx) was declared
with the class modifier “abstract”
|
|
duplicate_function_modifier:duplicate function modifier
|
|
no_char16_t_representation:invalid character for char16_t literal
|
|
cl_unrecognized_calling_convention:unrecognized calling convention xxxx, must be one of:
|
|
enum_base_type_must_be_integral:underlying type of enum type must be an integral type
|
|
enum_base_type_too_limited:some enumerator constants cannot be represented by “type”
|
|
feature_not_allowed_in_current_mode:“xxxx” not allowed in current mode
|
|
cl_type_traits_helpers_option_only_in_cplusplus:type traits helpers option can be used only when compiling C++
|
|
gnu_sentinel_attribute_requires_ellipsis:attribute “sentinel” requires an ellipsis parameter
|
|
invalid_gnu_sentinel_argument:argument must be a constant null pointer value
|
|
no_gnu_sentinel_argument:insufficient number of arguments for sentinel value
|
|
gnu_sentinel_must_be_ellipsis_argument:sentinel argument must correspond to an ellipsis parameter
|
|
implementation_key_outside_mapping_region:__declspec(implementation_key(…) can appear only between #pragma
start_map_region and #pragma stop_map_region
|
|
start_map_region_ignored:#pragma start_map_region already active: pragma ignored
|
|
stop_map_region_ignored:no #pragma start_map_region is currently active: pragma ignored
|
|
var_used_as_destructor:entity-kind “entity” cannot be used to name a destructor (a type
name is required)
|
|
empty_wide_character:nonstandard empty wide character literal treated as L’0’
|
|
invalid_typename_specifier:“typename” may not be specified here
|
|
no_default_delete_in_virtual_dtor:a non-placement operator delete must be visible in a class with a
virtual destructor
|
|
name_linkage_mismatch_for_variable:name linkage conflicts with previous declaration of entity-kind
“entity” (declared at line xxxx)
|
|
alias_loop:alias creates cycle of aliased entities
|
|
register_mapped_variable_cannot_have_initializer:a variable with static storage duration allocated in a specific
register cannot be declared with an initializer
|
|
register_mapped_variable_must_be_POD:a variable allocated in a specific register must be trivially copyable
|
|
predef_macro_redefined:predefined meaning of “entity” discarded
|
|
designator_for_non_POD:class type not suitable for use with designators
|
|
nonstandard_anonymous_union_qualifier:anonymous union qualifier is nonstandard
|
|
anonymous_union_qualifier_ignored:anonymous union qualifier is ignored
|
|
struct_declspec_ignored_in_C_mode:__declspec(xxxx) ignored (it has no meaning for a C struct)
|
|
nonstandard_secondary_decl_specifiers:specifiers after comma between declarations are nonstandard
|
|
secondary_specifier_ignored:nonstandard specifier ignored
|
|
enum_attribute_ignored:attributes are ignored on an enum declaration that is not also a
definition
|
|
reference_declared_mutable:declaring a reference with “mutable” is nonstandard
|
|
array_condition_always_true:a condition declaration for an array is always true
|
|
static_assert:static assertion failed with “xxxx”
|
|
gnu_visibility_conflict:visibility attribute ignored because it conflicts with a previous
declaration
|
|
pcc_field_ambiguity:field name resolves to more than one offset – see “entity”(declared at line xxxx) and “entity” (declared at line
xxxx)
|
|
not_a_field_name:“xxxx” is not a field name
|
|
case_label_conflict:case label value has already appeared in this switch at line xxxx
|
|
member_cannot_have_internal_linkage:a member function cannot have internal linkage
|
|
builtin_function_hidden:declaration hides built-in entity-kind “entity”
|
|
builtin_function_overloaded:declaration overloads built-in entity-kind “entity”
|
|
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
|
|
lparen_after_function:unexpected parenthesis after declaration of entity-kind “entity”(malformed parameter list or invalid initializer?)
|
|
nonstandard_parenthesized_string_initializer:parentheses around a string initializer are nonstandard
|
|
auto_variable_in_own_initializer:a variable declared with an auto type specifier cannot appear in its
own initializer
|
|
cannot_deduce_auto_type:cannot deduce “auto” type
|
|
auto_brace_initialization_not_allowed:initialization with “{…}” is not allowed for “auto” type
|
|
auto_type_in_array_type:“auto” type cannot appear in top-level array type
|
|
auto_type_in_function_type:“auto” type cannot appear in top-level function type
|
|
invalid_member_constant_type:a member of type “type” cannot have an in-class initializer
|
|
member_constant_not_const:a member with an in-class initializer must be const
|
|
auto_type_requires_initializer:cannot deduce “auto” type (initializer required)
|
|
inconsistent_deduction_of_auto:“auto” type is “type” for this entity, but was previously implied
to be “type”
|
|
bad_constructor_decl:invalid constructor declaration
|
|
bad_type_qualifier:invalid use of a type qualifier
|
|
abstract_or_sealed_on_union:a union cannot be abstract or sealed
|
|
auto_not_allowed_here:“auto” is not allowed here
|
|
unfinished_base_class:definition of base class type not completed yet
|
|
static_extern_template:“extern template” cannot refer to a specialization of static
entity-kind “entity” (declared at line xxxx)
|
|
extern_template_follows_instantiation:“extern template” cannot follow explicit instantiation of
entity-kind “entity”
|
|
bad_declspec_restrict_return:__declspec(restrict) requires a function returning a pointer type
|
|
cl_report_gnu_extensions_requires_gnu_mode:the “report_gnu_extensions” option is only valid in GNU C and GNU C++
modes
|
|
vla_is_nonstandard:variable-length array types are nonstandard
|
|
designator_is_nonstandard:designators are nonstandard
|
|
extended_designator_is_gnu_extension:this designator syntax is a GNU extension
|
|
compound_literal_is_nonstandard:compound literals are nonstandard
|
|
statement_expression_is_gnu_extension:statement expressions are a GNU extension
|
|
asm_name_after_definition:asm name ignored for previously defined entity
|
|
attribute_is_gnu_extension:attributes are a GNU extension
|
|
asm_operand_spec_is_gnu_extension:extended asm syntax is a GNU feature
|
|
volatile_asm_is_gnu_extension:volatile asm declarations are a GNU extension
|
|
asm_name_is_gnu_extension:asm name specifiers are a GNU extension
|
|
gnu_restrict_is_nonstandard:the “__restrict” qualifier is nonstandard
|
|
typeof_is_gnu_extension:“typeof” is a GNU extension
|
|
typedef_modification_is_nonstandard:modifying the size or signedness of a typedef is nonstandard
|
|
zero_length_array_is_gnu_extension:zero-length arrays are a GNU extension
|
|
flexible_array_is_nonstandard:flexible array members are nonstandard
|
|
nonnull_on_nonpointer:attribute “nonnull” references nonpointer parameter
|
|
nonnull_parameter_number_too_large:argument for attribute “nonnull” is larger than number of parameters
|
|
no_pointer_parameters:no parameter has pointer type
|
|
null_argument_for_nonnull_parameter:null argument provided for parameter marked with attribute “nonnull”
|
|
access_prevents_dtor_generation:the destructor for “type” has been suppressed because the
destructor for “type” is inaccessible
|
|
suppressed_dtor_needed:the suppressed destructor for “type” is needed
|
|
inline_gnu_noinline_conflict:routine is both “inline” and “noinline”
|
|
invalid_cleanup_routine:invalid cleanup routine
|
|
attribute_cleanup_requires_automatic_storage:attribute “cleanup” requires automatic storage duration
|
|
attribute_cleanup_for_parameter:attribute “cleanup” does not apply to parameters
|
|
bad_type_for_cleanup_routine:cleanup routine has invalid type
|
|
nonstandard_conversion_for_cleanup:call of cleanup routine requires suspect conversion
|
|
microsoft_ptr_signedness_must_follow_star:__sptr and __uptr must follow a “*”
|
|
microsoft_ptr_signedness_conflict:__sptr and __uptr cannot both be specified
|
|
microsoft_ptr_sign_extension:widening pointer conversion from “type” to “type” extends
sign bit
|
|
microsoft_ptr_signedness_on_ptr_to_member:__sptr and __uptr don’t apply to pointer-to-member types
|
|
const_mbr_suppresses_copy_asgn_decl:the declaration of the copy assignment operator for “type” has
been suppressed because entity-kind “entity” is const
|
|
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
|
|
subobj_copy_asgn_decl_suppressed:the declaration of the copy assignment operator for “type” has
been suppressed because that of “type” was suppressed
|
|
ambig_suppresses_copy_asgn_decl:the declaration of the copy assignment operator for “type” has
been suppressed because that of “type” is ambiguous
|
|
access_suppresses_copy_asgn_decl:the declaration of the copy assignment operator for “type” has
been suppressed because that of “type” is inaccessible
|
|
subobj_copy_ctor_decl_suppressed:the declaration of the copy constructor for “type” has been
suppressed because that of “type” was suppressed
|
|
ambig_suppresses_copy_ctor_decl:the declaration of the copy constructor for “type” has been
suppressed because that of “type” is ambiguous
|
|
access_suppresses_copy_ctor_decl:the declaration of the copy constructor for “type” has been
suppressed because that of “type” is inaccessible
|
|
inaccessible_dtor_not_invoked:the destructor for “type” will not be called because it is
inaccessible and the destructor for “type” was suppressed
|
|
file_ends_with_unterminated_type_definition:definition at end of file not followed by a semicolon or a declarator
|
|
bad_type_for_gnu_sync_function:first argument must be a pointer to integer or enum type
|
|
invalid_gnu_sync_size:synchronized operations are valid only on objects of size 1, 2, 4, or
8
|
|
extra_arguments_ignored:extra arguments ignored
|
|
equals_assumed_in_cmd_line_macro_def:‘=’ assumed following macro name “xxxx” in command-line definition
|
|
white_space_required_after_macro_name:white space is required between the macro name “xxxx” and its
replacement text
|
|
call_result_should_be_used:result of call is not used
|
|
warn_unused_result_with_void_return:attribute “warn_unused_result” is ignored for void return type
|
|
dll_interface_ignored_on_qualified_declaration:dllimport/dllexport is ignored on redeclaration using a qualified name
|
|
leading_character_ignored_in_char_literal:too many characters in character literal – extra leading characters
ignored
|
|
first_inline_after_definition:entity-kind “entity” cannot be declared inline after its
definition at line xxxx
|
|
type_with_no_linkage_in_template_arg:a template argument may not reference a type with no name linkage
|
|
virtual_ignored:“virtual” is ignored here
|
|
vla_type_in_template_arg:a template argument may not reference a variable-length array type
|
|
UCN_names_surrogate_code_point:a universal character name cannot designate a surrogate code point
|
|
include_next_in_primary_source_file:#include_next cannot be used in the primary source file
|
|
bad_template_member_definition:“entity” cannot be specified in a template member definition –
“entity” assumed instead
|
|
local_function_attribute_ignored:attribute “xxxx” is ignored on local function declaration
|
|
concat_yields_invalid_token:concatenation with “xxxx” in entity-kind “entity” does not
create a valid token
|
|
ambiguous_injected_template_name:“entity” is ambiguous (entity-kind “entity” assumed)
|
|
function_qualifier_on_static_member:a type qualifier is not allowed on a static member function
|
|
function_qualifier_on_ctor_or_dtor:a type qualifier is not allowed on a constructor or destructor
|
|
function_qualifier_on_new_or_delete:a type qualifier is not allowed on operator new or operator delete
|
|
function_qualifier_on_nonmember:a type qualifier is not allowed on a nonmember function
|
|
assume_expression_discarded:argument to xxxx has side-effects but is unevaluated
|
|
cl_unrecognized_unicode_source_kind:unrecognized Unicode source kind (must be one of UTF-8, UTF-16,
UTF-16LE, UTF-16BE): xxxx
|
|
bad_unicode_char_in_pp_output:Unicode character with hex value xxxx not representable in
preprocessing output
|
|
ctor_dtor_priority_reserved:requested constructor/destructor priority is reserved for internal use
|
|
unrecognized_gcc_pragma:unrecognized GCC pragma
|
|
unrecognized_gcc_visibility_pragma:unrecognized GCC visibility pragma directive
|
|
unrecognized_visibility:unrecognized visibility kind
|
|
ELF_visibility_pop_mismatch:visibility pragma was still active
|
|
ELF_visibility_stack_empty:no matching visibility push
|
|
typeid_of_incomplete_type:typeid of incomplete type
|
|
array_size_one_assumed:array entity-kind “entity” assumed to have one element
|
|
vector_size_attribute_requires_integral_floating_or_enum_type:vector_size attribute requires an arithmetic or enum type
|
|
vector_size_too_large:vector size is too large
|
|
vector_size_must_be_power_of_two:the number of elements in a vector must be a power of two
|
|
vector_size_must_be_multiple_of_element_size:vector size must be a multiple of the element size
|
|
mixed_vector_scalar_operation:mixed vector-scalar operation not allowed
|
|
vectors_must_have_same_size:operation requires two vectors of the same size
|
|
dependent_vector_size:template-dependent vector size is not allowed
|
|
vector_size_attribute_on_complex_type:vector_size attribute is not allowed with a complex element type
|
|
vector_element_type_mismatch:vector operation requires identical element types
|
|
vector_operation_requires_integer_vector:vector operation does not apply to vector with non-integral type
|
|
cannot_open_file:cannot open xxxx file “xxxx”
|
|
cannot_open_file_reason:cannot open xxxx file “xxxx”: xxxx
|
|
file_write_error_errno:error while writing xxxx file: xxxx
|
|
il_output:IL output
|
|
restrict_qualifier_dropped:conversion drops “__restrict” qualifier
|
|
unable_to_get_mapped_memory_reason:unable to obtain mapped memory for “xxxx”: xxxx
|
|
restrict_qualifier_ignored:restrict qualifier is ignored
|
|
nonstandard_array_with_flexible_array_element:array of elements containing a flexible array member is nonstandard
|
|
vector_template_parameter:a template parameter may not have a vector type
|
|
out_of_order_ctor_init:the initialization of entity-kind “entity” will be done before
that of entity-kind “entity”
|
|
inheritance_kind_ignored_on_enum:inheritance kind is ignored on an enum specifier
|
|
extended_modifier_ignored_on_enum:modifier is ignored on an enum specifier
|
|
non_unicode_char_in_ident:identifier character cannot be represented in Unicode
|
|
non_unicode_char_in_header:header name contains characters that cannot be represented in Unicode
|
|
invalid_locale:“xxxx” is not a valid locale name
|
|
nonstd_template_void_param_list:declaring a void parameter list with a template parameter is
nonstandard
|
|
cl_lambdas_option_only_in_cplusplus:lambdas option can be used only when compiling C++
|
|
capture_mode_matches_default:explicit capture matches default
|
|
not_a_variable:entity-kind “entity” is not a variable
|
|
capture_of_static_duration_variable:a variable with static storage duration cannot be captured in a lambda
|
|
cannot_capture_this_by_reference:“this” cannot be captured by reference
|
|
this_in_lambda:“this” cannot be used inside the body of this lambda
|
|
anon_union_ref_in_lambda:a member of an outer-scope anonymous union cannot be referenced
inside the body of a lambda
|
|
not_captured_local_var_in_lambda:an enclosing-function local variable cannot be referenced in a lambda
body unless it is in the capture list
|
|
bad_local_var_in_lambda:invalid reference to an outer-scope local variable in a lambda body
|
|
captured_local_var_not_in_innermost_function:a local variable outside the current function scope cannot be captured
|
|
not_captured_this_in_lambda:the enclosing-function “this” cannot be referenced in a lambda body
unless it is in the capture list
|
|
captured_var_type_not_copyable:lambda captured variable of type “type” cannot be copied to
closure class field of type “type”
|
|
cl_invalid_template_directory:invalid template directory: xxxx
|
|
enum_value_out_of_underlying_range:enumeration value is outside the range of its underlying type
(“type”)
|
|
not_a_line_splice:“" followed by white space is not a line splice
|
|
dynamic_cast_without_rtti:this dynamic_cast cannot be done without runtime type information,
which is disabled
|
|
ambiguous_cast_selects_direct_base:conversion to “type” is ambiguous; direct base selected
|
|
requested_size_too_large:an internal buffer would be too large
|
|
exception_handler_used:C++ exception handler used, but exception handling semantics have not
been specified
|
|
type_qualifier_ignored_on_constructor:type qualifier ignored on constructor
|
|
lambda_capture_involves_variable_length_array:a variable captured by a lambda cannot have a type involving a
variable-length array
|
|
incompatible_vectors_conversion:conversion between incompatible vector types
|
|
missing_lambda_body:expected a “{” introducing a lambda body
|
|
cl_rvalue_references_option_only_in_cplusplus:rvalue references option can be used only when compiling C++
|
|
type_qualifier_on_lambda:a type qualifier is not allowed on a lambda
|
|
more_than_one_capture:a name cannot appear more than once in a capture-list
|
|
explicit_template_args_ignored:explicit template arguments ignored
|
|
bad_constant_lambda:a lambda is not allowed in a constant expression
|
|
class_type_required:“type” is not a class type
|
|
delete_of_array_type:“delete” applied to a pointer-to-array type treated as delete[]
|
|
delete_of_array_type_nonstandard:“delete” applied to a pointer-to-array type is nonstandard; treated
as delete[]
|
|
function_does_not_match_arguments:entity-kind “entity” cannot be called with the given argument list
|
|
rvalue_reference_bound_to_lvalue:an rvalue reference cannot be bound to an lvalue
|
|
rvalue_ref_template_parameter:a nontype template parameter cannot have rvalue reference type
|
|
type_qualifiers_ignored_on_reference:type qualifiers are ignored (underlying type is a reference)
|
|
decl_with_local_type_but_not_defined:entity-kind “entity”, declared using a local type, must be
defined in this translation unit
|
|
decl_with_no_linkage_type_but_not_defined:entity-kind “entity”, declared using a type with no linkage, must
be defined in this translation unit
|
|
bad_rvalue_ref_dynamic_cast_operand:the operand of an rvalue reference dynamic_cast must have a complete
class type
|
|
invalid_function_to_be_defaulted:“= default” can only appear on default constructors, copy/move
constructors, copy/move assignment operators, and destructors
|
|
deleted_function_definition_must_be_first_declaration:“= delete” can only appear on the first declaration of a function
|
|
deleted_function:entity-kind “entity” (declared at line xxxx) cannot be
referenced – it is a deleted function
|
|
bad_unevaluated_lambda:a lambda is not allowed in an unevaluated expression
|
|
bad_function_for_gnu_va_arg_pack:__builtin_va_arg_pack/__builtin_va_arg_pack_len can appear only in
an inline function with an ellipsis parameter
|
|
function_defaulted_in_friend_decl:“= default” cannot be specified on a friend declaration
|
|
exp_cpp_keyword:expected a C++ keyword
|
|
nonconstant_offsetof:offset is not constant
|
|
unrecognized_microsoft_comment_pragma_type:unrecognized #pragma comment type “xxxx”
|
|
cl_auto_type_option_only_in_cplusplus:option to control whether “auto” is a type specifier can be used only
when compiling C++
|
|
cl_auto_storage_option_only_in_cplusplus:option to control whether “auto” is a storage class can be used only
when compiling C++
|
|
cl_auto_cannot_be_disabled:the type specifier and storage class specifier meanings of “auto”
cannot both be disabled
|
|
bad_pragma_comment_string:invalid string in #pragma comment
|
|
deleted_function_overrides_nondeleted_function:deleted function overrides nondeleted entity-kind “entity”
|
|
nondeleted_function_overrides_deleted_function:nondeleted function overrides deleted entity-kind “entity”
|
|
deleted_default_constructor:the default constructor of “type” cannot be referenced – it is a
deleted function
|
|
rvalue_reference_catch_type:an rvalue reference is not allowed as a catch type
|
|
default_args_incompatible:default arguments of entity-kind “entity” is incompatible with a
declaration in another translation unit
|
|
default_arg_differs_in_other_trans_unit:default arguments of entity-kind “entity” were different during
compilation of “xxxx”
|
|
initializers_incompatible:initializer for entity-kind “entity” is different in another
translation unit
|
|
initializer_differs_in_other_trans_unit:initializer for entity-kind “entity” was different during
compilation of “xxxx”
|
|
designator_for_template_dependent_type:a designator into a template-dependent type is not allowed
|
|
invalid_pragma_conform_kind:unrecognized conformance kind
|
|
exp_on_or_off:expected “on” or “off”
|
|
forScope_stack_empty:#pragma conform(forScope) stack is empty
|
|
no_matching_forScope_stack_entry:no previous #pragma conform(forScope) entry matches “xxxx”
|
|
show_pragma_conform_forScope_is_nonstandard:forScope behavior is nonstandard
|
|
show_pragma_conform_forScope_is_standard:forScope behavior is standard
|
|
deleted_main:function “main” cannot be deleted
|
|
useless_type_qualifiers_in_type_name:type qualifiers are meaningless here
|
|
invalid_assignment_operator_to_be_defaulted:invalid type for defaulted assignment operator
|
|
function_template_cannot_be_defaulted:function templates cannot be defaulted
|
|
invalid_constructor_to_be_defaulted:invalid type for defaulted constructor
|
|
call_requires_one_argument:function call requires one argument
|
|
call_requires_floating_point_argument:function call requires a real floating-point argument
|
|
copy_ctor_with_default_arg_cannot_be_defaulted:a copy constructor with a default argument cannot be defaulted
|
|
predeclared_function_cannot_be_deleted:a predeclared function cannot be deleted
|
|
empty_then_statement:empty dependent statement in if-statement
|
|
empty_else_statement:empty dependent statement in “else” clause of if-statement
|
|
deleted_elided_cctor:entity-kind “entity” (declared at line xxxx), required for
copy that was eliminated, cannot be referenced – it is a deleted
function
|
|
main_first_param_not_int:nonstandard first parameter “type” of “main”, expected “int”
|
|
main_wrong_num_params:nonstandard number of parameters for “main”, expected zero or two
parameters
|
|
main_second_param_wrong_type:nonstandard second parameter “type” of “main”, expected “char
*[]” or “char **”
|
|
incl_dir_both_sys_and_nonsys:“xxxx” was specified as both a system and non-system include
directory – the non-system entry will be ignored
|
|
cl_rvalue_ctor_is_copy_ctor_option_only_in_cplusplus:option to control move constructors and move assignment operators can
be used only when compiling C++
|
|
trailing_return_type_requires_auto:a trailing return type requires the “auto” type specifier
|
|
trailing_return_type_in_nested_declarator:a trailing return type cannot appear in a nested declarator
|
|
trailing_return_type_function_without_simple_auto:a function declarator with a trailing return type must be preceded by
a simple “auto” type specifier
|
|
missing_trailing_return_type:“auto” function requires a trailing return type
|
|
pure_virtual_member_template:a member template cannot have a pure specifier
|
|
excess_characters_in_literal_ignored:string literal too long – excess characters ignored
|
|
nullptr_conv_to_bool:std::nullptr_t converted to bool
|
|
invalid_empty_attribute_arg_list:attribute “xxxx” does not allow an empty argument list
|
|
attr_twice_in_group:attribute appears more than once
|
|
wrong_entity_for_attribute:attribute “xxxx” does not apply here
|
|
attr_disallows_bit_field:attribute “xxxx” does not apply to bit fields
|
|
attr_requires_bit_field:attribute “xxxx” requires a bit field
|
|
attr_disallows_member_function:attribute “xxxx” does not apply to member functions
|
|
attr_requires_member_function:attribute “xxxx” requires a member function
|
|
attr_disallows_virtual_function:attribute “xxxx” does not apply to virtual functions
|
|
attr_requires_virtual_function:attribute “xxxx” requires a virtual function
|
|
attr_disallows_pure_virtual_function:attribute “xxxx” does not apply to pure virtual functions
|
|
attr_requires_pure_virtual_function:attribute “xxxx” requires a pure virtual function
|
|
attr_disallows_register_storage:attribute “xxxx” does not apply to register variables
|
|
attr_requires_register_storage:attribute “xxxx” requires a register variable
|
|
attr_must_also_appear_in_first_declaration:attribute “xxxx” did not appear on original declaration
|
|
invalid_attribute_location:attributes are not allowed here
|
|
attr_must_appear_in_class_definition:attribute “xxxx” must appear in a class definition
|
|
pure_final_virtual:“final” applied to a pure virtual function
|
|
override_of_final_function:cannot override “final” entity-kind “entity” (declared at line
xxxx)
|
|
undefined_static_function_treated_as_extern:static entity-kind “entity” treated as extern because it was
referenced but not defined
|
|
cl_gnu_c89_inlining_option_only_in_C:option to enable GNU-C89-style inlining can be used only when
compiling C
|
|
first_decl_not_gnu_inline:function was previously declared without the “gnu_inline” attribute
|
|
gnu_inline_requires_inline:the “gnu_inline” attribute is ignored on non-inline functions
|
|
carries_dependency_not_on_first_decl:entity-kind “entity” previously declared without the
carries_dependency attribute
|
|
bad_array_member_initialization:invalid initializer for array entity-kind “entity”
|
|
cl_must_specify_cpp11_mode:must specify C++11 or C++14 mode when building runtime library
|
|
attr_disallows_function_type:attribute “xxxx” does not apply to function types
|
|
attr_requires_function_type:attribute “xxxx” requires a function type
|
|
attribute_ignored_on_nonstatic_member_function:attribute “xxxx” does not apply to nonstatic member functions
|
|
attr_disallows_automatic_storage:attribute “xxxx” does not apply to automatic variables
|
|
attr_requires_automatic_storage:attribute “xxxx” requires an automatic variable
|
|
attr_disallows_external_linkage:attribute “xxxx” does not apply to a variable or function with
external linkage
|
|
attr_requires_local_variable:attribute “xxxx” requires a local variable
|
|
attributes_ignored:attributes ignored here
|
|
unattached_attribute:attribute does not apply to any entity
|
|
bad_attribute_template_substitution:bad attribute argument substitution
|
|
bad_tls_model_attr_arg:the argument of the “tls_model” attribute must be “global-dynamic”,
“local-dynamic”, “initial-exec”, or “local-exec”
|
|
inconsistent_tls_model_attr_arg:the declaration at line xxxx specified a different “tls_model”
argument
|
|
attr_disallows_inline:attribute “xxxx” does not apply to inline functions
|
|
attr_requires_inline:attribute “xxxx” requires a inline function
|
|
include_kind_mismatch:both file names in an include_alias pragma must use the same
delimiter characters
|
|
signed_unsigned_comparison:comparison between signed and unsigned operands
|
|
attribute_ignored_on_unnamed_type:attribute “xxxx” ignored on unnamed type
|
|
attribute_ignored_on_nondefinition:attribute “xxxx” ignored because no definition follows
|
|
incompatible_thread_locality:thread locality is incompatible with a previous declaration of
entity-kind “entity” (declared at line xxxx)
|
|
no_implicit_capture_on_enclosing_lambda:this enclosing-function local variable cannot be referenced in this
lambda body because an enclosing lambda does not allow implicit
captures
|
|
unbalanced_attribute_argument:this attribute argument contains unmatched parentheses, brackets, or
braces
|
|
invalid_builtin_fpclassify_args:a call to __builtin_fpclassify requires five integral arguments
followed by one floating-point argument
|
|
bad_final_builtin_fpclassify_arg:the last argument in a call to __builtin_fpclassify must have a real
floating-point type
|
|
invalid_alignment_reducing_attr:alignment cannot be set to less than the default alignment
|
|
attribute_on_explicit_instantiation:attributes are not allowed on explicit instantiations
|
|
attr_disallows_definition:attribute “xxxx” does not apply to a definition
|
|
attr_requires_definition:attribute “xxxx” requires a definition
|
|
friend_attribute_requires_definition:standard attributes cannot appear on friend declarations that are not
definitions
|
|
inconsistent_alignment:specified alignment (xxxx) is different from alignment (xxxx)
specified on a previous declaration
|
|
variable_align_attr_not_on_definition:alignment attribute must also appear on definition at line xxxx
|
|
alias_used_in_type:entity-kind “entity” may not be used in the type-id of the
alias-declaration
|
|
transparent_union_cannot_have_floating_first_field:“type” cannot be transparent because its first field has a
floating-point type
|
|
transparent_union_cannot_have_bit_field_first:“type” cannot be transparent because its first field is a bit
field
|
|
missing_override_attr_in_base_check_class:virtual function of a “base_check” class overrides a base class
member but lacks the “override” attribute
|
|
hiding_attr_on_nonhiding_member:“hiding” attribute specified on a declaration that does not hide a
base class declaration
|
|
hiding_attr_on_unhidden_member:“hiding” attribute specified on a declaration referred to by the
using-declaration at line xxxx
|
|
hiding_attr_required:attribute “hiding” is required on a declaration (in a “base_check”
class) that hides entity-kind “entity” (declared at line xxxx)
|
|
undefined_decl_using_local_type:entity-kind “entity” is not defined in this translation unit but
depends on a local type
|
|
undefined_decl_using_no_linkage_type:entity-kind “entity” is not defined in this translation unit but
depends on a type with no linkage
|
|
missing_attribute_in_other_translation_unit:attribute “xxxx” is missing in another translation unit
|
|
conflicting_attribute_in_other_translation_unit:attribute “xxxx” conflicts with another translation unit
|
|
cl_nonstd_gnu_keywords_requires_gnu_mode:the “nonstd_gnu_keywords” option is only valid in GNU C and GNU C++
modes
|
|
const_var_in_C_const_expr:use of a const variable in a constant expression is nonstandard in C
|
|
cannot_init_auto_flexible_array_member:an initializer cannot be specified for a flexible array member with
automatic storage duration
|
|
final_base_class:a “final” class type cannot be used as a base class
|
|
export_removed:exported templates are no longer in the standard C++ language
|
|
template_dependent_designator:a template-dependent designator is not allowed
|
|
offsetof_ref_field:second operand of offsetof may not be a field with reference type
|
|
cl_long_lifetime_temps_incompat_with_newer_features:long lifetime temporaries are incompatible with other requested newer
language features
|
|
wide_deprecation_string:wide character string literal will not be quoted in diagnostics
|
|
missing_attribute_arguments:missing arguments for attribute “xxxx”
|
|
sfinae_requires_newer_abi_version:options “c++11” and “c++11_sfinae” require a different compiler
configuration
|
|
template_param_pack_not_at_end:template parameter pack not at end of parameter list
|
|
parameter_pack_decl_not_allowed:a parameter pack declaration is not allowed here
|
|
param_pack_cannot_have_default:a parameter pack cannot have a default
|
|
cl_cppcli_only_in_microsoft_cplusplus:C++/CLI can be enabled only in Microsoft C++ mode
|
|
reserved_enumerator_name:“value__” cannot be used as the name of an enumerator constant (it
is a reserved name in this context)
|
|
cppcli_enumerator_requires_explicit_value:an explicit enumerator value is required in an enum type with boolean
underlying type
|
|
pack_not_expanded:parameter pack “xxxx” was referenced but not expanded
|
|
expansion_contains_no_packs:pack expansion does not make use of any argument packs
|
|
pack_length_mismatch:pack “xxxx” does not have the same number of elements as
“xxxx”
|
|
vector_size_attribute_on_enum_type:vector_size attribute is not allowed with an enum type
|
|
virtual_static_property:a property cannot be both static and virtual
|
|
trivial_indexed_property:an indexed property cannot be trivial
|
|
invalid_property_accessor_decl:this declaration cannot appear in a property definition
|
|
qualified_cli_accessor:a qualified function type cannot be used to declare an accessor
function
|
|
ellipsis_cli_accessor:an accessor function cannot have an ellipsis parameter
|
|
property_get_already_declared:a “get” accessor was already declared for this property at line
xxxx
|
|
property_set_already_declared:a “set” accessor was already declared for this property at line
xxxx
|
|
property_get_cannot_have_parameter:a “get” accessor cannot have a parameter
|
|
bad_property_get_return:return type of “get” accessor does not match property type
|
|
bad_property_set_return:return type of “set” accessor must be void
|
|
empty_property_indices:a property cannot declare an empty list of indices
|
|
void_property_index_type:a property index cannot have type void
|
|
property_set_index_type_mismatch:index type does not match the corresponding parameter in the “set”
accessor
|
|
property_get_index_type_mismatch:index type does not match the corresponding parameter in the “get”
accessor
|
|
property_set_index_type_missing:index type is missing in the “set” accessor
|
|
property_get_index_type_missing:index type is missing in the “get” accessor
|
|
property_set_missing_value_parameter:“set” accessor is missing its value parameter
|
|
extra_property_accessor_parameters:accessor function has too many parameters
|
|
property_set_value_parameter_mismatch:the last parameter of the “set” accessor does not match the property
type
|
|
cppcli_not_enabled:“xxxx” requires C++/CLI mode
|
|
win32_api_error:error in Win32 API “xxxx“: xxxx
|
|
using_not_at_file_scope:#using may only be used at global scope
|
|
member_name_reserved_by_property:member name “xxxx” is reserved by entity-kind “entity”(declared at line xxxx)
|
|
exp_lbracket:expected a “[”
|
|
cl_microsoft_version_insufficient_for_cppcli:C++/CLI mode requires microsoft_version >= 1600
|
|
static_default_indexed_property:a default-indexed property cannot be static
|
|
virtual_static_property_accessor:a property accessor cannot be both static and virtual
|
|
visibility_specifier_on_nested_type:a top-level visibility specifier cannot appear on a nested type
declaration
|
|
visibility_specifier_requires_definition:a top-level visibility specifier requires a type definition
|
|
trivial_reference_property:a trivial property cannot have a reference type
|
|
trivial_const_or_volatile_property:a trivial property cannot have a const or volatile type
|
|
incompatible_enum_kinds:entity-kind “entity” (declared at line xxxx) was previously
declared as a different kind of enum type
|
|
lambda_captures_managed_class_type:a variable captured by a lambda cannot have a managed class type
|
|
covariant_override_in_managed_class:virtual function overriding with a covariant return type is not
allowed in a managed class
|
|
array_of_handle:array of handles is not allowed
|
|
handle_to_array:handle to array is not allowed
|
|
handle_to_function:handle to function is not allowed
|
|
handle_to_void:handle to void is not allowed
|
|
handle_to_address_type:handle to handle, pointer, or reference is not allowed
|
|
tracking_reference_to_function:tracking reference to function is not allowed
|
|
field_cannot_be_tracking_reference:a field cannot be a tracking reference
|
|
invalid_ref_tracking_ref_combination:a tracking reference cannot be combined with an ordinary reference in
this way
|
|
static_storage_variable_with_ref_class_type:a variable with static storage duration cannot have a ref class type
|
|
unnamed_cli_managed_class_type:a managed class cannot be unnamed
|
|
local_cli_managed_class_type:a managed class cannot be local
|
|
conflicting_cli_class_type_kinds:entity-kind “entity” (declared at line xxxx) was previously
declared as a different kind of class
|
|
conflicting_cli_class_template_kinds:entity-kind “entity” (declared at line xxxx) was previously
declared as a different kind of class template
|
|
literal_requires_managed_class:literal data members can only be members of managed classes
|
|
literal_without_initializer:a literal data member must be initialized
|
|
invalid_literal_type:a literal data member of type “type” is not allowed
|
|
literal_const_has_no_effect:const has no effect on a literal data member
|
|
initonly_requires_managed_class:initonly data members can only be members of managed classes
|
|
initonly_const_has_no_effect:const has no effect on an initonly data member
|
|
cli_get_accessor_missing:entity-kind “entity” (declared at line xxxx) has no “get”
accessor
|
|
cli_set_accessor_missing:entity-kind “entity” (declared at line xxxx) has no “set”
accessor
|
|
static_constructor_with_params:a static constructor cannot have parameters
|
|
static_constructor_member_template:a static constructor cannot be a member template
|
|
compound_lvalue_as_asm_operand:a compound lvalue is not allowed as an asm output operand
|
|
property_requires_managed_class:properties can only be members of managed classes
|
|
qualifier_not_allowed_on_managed_member_function:a type qualifier is not allowed on a member function of a managed
class
|
|
pointer_to_ref_or_interface_class:an ordinary pointer to a C++/CLI ref class or interface class is not
allowed
|
|
reference_to_ref_or_interface_class:an ordinary reference to a C++/CLI ref class or interface class is
not allowed
|
|
override_name_must_be_a_base_class_member_function:override specifier does not name a base class member function
|
|
override_name_nonvirtual:override specifier designates a nonvirtual member entity-kind
“entity” (declared at line xxxx)
|
|
multiple_overrides:member function overrides entity-kind “entity” (declared at line
xxxx) which is already overridden by entity-kind “entity”(declared at line xxxx)
|
|
multiple_visibility_specifiers:at most one visibility specifier is allowed
|
|
invalid_delegate_type:type “type” used for delegate definition is not a function type
|
|
delegate_requires_managed_class:delegate member types can only be members of managed classes
|
|
tracking_reference_to_delegate:a tracking reference to a delegate type is not allowed
|
|
bad_use_of_delegate_type:a delegate type is not allowed here
|
|
empty_pack_expansion:this pack expansion produced an empty list of expressions, and an
expression is needed here
|
|
virtual_static_event:an event cannot be both static and virtual
|
|
event_requires_managed_class:events can only be members of managed classes
|
|
invalid_event_accessor_decl:this declaration cannot appear in an event definition
|
|
invalid_event_type:event type must be a handle-to-delegate type
|
|
event_add_already_declared:an “add” accessor was already declared for this event at line xxxx
|
|
event_remove_already_declared:a “remove” accessor was already declared for this event at line
xxxx
|
|
event_raise_already_declared:a “raise” accessor was already declared for this event at line
xxxx
|
|
virtual_static_event_accessor:an event accessor cannot be both static and virtual
|
|
bad_event_add_or_remove_return:return type of “add” and “remove” accessors must be void
|
|
event_accessor_missing_value_parameter:event accessor is missing its value parameter
|
|
extra_event_accessor_parameters:accessor function has too many parameters
|
|
event_accessor_value_parameter_mismatch:the type “type” of the parameter of the event accessor does not
match the event type (“type”)
|
|
event_raise_type_mismatch:the type of the “raise” accessor does not match the event’s delegate
invocation type
|
|
missing_add_or_remove_accessor:an event definition must include both “add” and “remove” accessors
|
|
static_conversion_function_must_have_one_parameter:a static conversion function must accept exactly one argument
|
|
bad_parameter_type_for_static_member_operator:static operator must have a parameter type T, T&, T%, or T^ with T =
“type”
|
|
sizeof_operand_not_parameter_pack:the operand of sizeof… must be a parameter pack name
|
|
sizeof_pack_in_non_variadic_context:the sizeof… operator can be used only in a variadic template
|
|
event_name_not_allowed:event name cannot appear here
|
|
handle_to_standard_class_type:a handle to a non-managed class is not allowed
|
|
handle_to_unscoped_enum_type:a handle to an unscoped enum type is not allowed
|
|
property_attribute_in_managed_class:“property” attribute not allowed in managed class
|
|
pure_virtual_definition:a pure specifier (”= 0”) followed by a definition is nonstandard
|
|
managed_nullptr_not_allowed:the managed nullptr type cannot be used here
|
|
addr_of_ref_class:the “&” operator cannot be used to take the address of an object with
a ref class type
|
|
array_of_managed_class:array of managed class is not allowed
|
|
static_storage_variable_with_handle_or_tracking_ref_type:a variable with static storage duration cannot have a handle or
tracking reference type
|
|
lambda_captures_handle_or_tracking_ref:a variable captured by a lambda cannot be a handle or tracking
reference
|
|
invalid_param_array_type:a C++/CLI parameter array requires a handle to a one-dimensional
cli::array type
|
|
cannot_import_metadata:could not import metadata from file “xxxx”
|
|
namespace_cli_cannot_be_extended:the cli namespace cannot be extended
|
|
cli_array_invalid_element_type:the element type of a cli::array must be a handle or value type
|
|
cli_array_invalid_number_of_dimensions:invalid number of dimensions for cli::array type
|
|
invalid_type_pointed_to_for_interior_ptr_or_pin_ptr:a cli::interior_ptr/cli::pin_ptr must point to a standard class, a
value class, an integer, a handle, or a standard pointer
|
|
type_cannot_be_class_member:“type” cannot be a class member
|
|
pin_ptr_param_not_allowed:a parameter of type cli::pin_ptr is not allowed
|
|
bad_finalizer_decl:invalid finalizer declaration
|
|
too_many_params_for_finalizer:a finalizer may not have parameters
|
|
function_qualifier_on_finalizer:a type qualifier is not allowed on a finalizer
|
|
return_type_on_finalizer:a return type may not be specified on a finalizer
|
|
no_finalizer_using_declaration:a using-declaration may not name a finalizer
|
|
finalizer_name_must_be_qualified:a finalizer name must be qualified
|
|
finalizer_qualifier_type_mismatch:qualifier of finalizer name “type” does not match type “type”
|
|
var_used_as_finalizer:entity-kind “entity” cannot be used to name a finalizer (a type
name is required)
|
|
invalid_finalizer_name:invalid finalizer name for type “type”
|
|
ambiguous_finalizer:finalizer reference is ambiguous – both entity-kind “entity” and
entity-kind “entity” could be used
|
|
finalizer_requires_reference_type:a finalizer can only be a member of a ref class
|
|
finalizer_type_mismatch:type used as finalizer name does not match type “type”
|
|
finalizer_does_not_exist:a finalizer does not exist for this type
|
|
handle_of_non_managed:the “%” operator can be used only on an object with a managed class
type
|
|
ptr_handle_or_ref_to_interior_ptr:a pointer, handle, or reference to a cli::interior_ptr is not allowed
|
|
ptr_handle_or_ref_to_pin_ptr:a pointer, handle, or reference to a cli::pin_ptr is not allowed
|
|
ptr_or_ref_to_cli_array:a pointer or reference to a C++/CLI array is not allowed
|
|
bad_use_of_cli_array_type:a C++/CLI array type is not allowed here
|
|
invalid_ref_class_base:a C++/CLI ref class can only derive from another ref class or from
interface classes
|
|
invalid_value_class_base:a C++/CLI value class can only derive from interface classes
|
|
invalid_interface_class_base:a C++/CLI interface class can only derive from interface classes
|
|
ref_class_has_multiple_ref_bases:a ref class can have at most one direct ref base class (“type” is
already such a base)
|
|
managed_base_for_standard_class:a standard class cannot derive from a managed class
|
|
virtual_base_for_managed_class:a managed class cannot have a virtual base
|
|
managed_class_type_cannot_have_private_or_protected_base:a managed class cannot have a “private” or “protected” base
|
|
override_requires_virtual:the “override” modifier requires a virtual function declaration with
an explicit “virtual” keyword
|
|
abstract_requires_virtual:the “abstract” modifier requires a virtual function declaration with
an explicit “virtual” keyword
|
|
sealed_requires_virtual:the “sealed” modifier requires a virtual function declaration with an
explicit “virtual” keyword
|
|
named_override_requires_virtual:a named override specifier requires a virtual function declaration
with an explicit “virtual” keyword
|
|
pin_ptr_return_type_not_allowed:a cli::pin_ptr return type is not allowed
|
|
cppcli_attribute_only:attribute “xxxx” applies in C++/CLI mode only
|
|
normal_ref_bound_to_gc_lvalue:a simple (non-tracking) reference cannot be bound to an entity on the
managed heap
|
|
cli_entity_not_loaded:“xxxx“ not loaded from default assemblies
|
|
list_initializer_nonstandard_in_current_mode:list initialization syntax is a C++11 feature
|
|
sizeof_ref_or_interface_class:operand of sizeof may not be a ref class type or interface class type
|
|
cli_array_invalid_number_of_subscripts:invalid number of subscripts for this cli::array type
|
|
ptr_to_member_of_managed_class:a pointer-to-member is not valid for a managed class
|
|
private_virtual_member_function_not_sealed:private virtual member function of managed class is not “sealed”
|
|
modifier_not_allowed_on_destructor:modifier is not allowed on a destructor
|
|
modifier_not_allowed_on_finalizer:modifier is not allowed on a finalizer
|
|
virtual_has_no_effect:“virtual” has no effect on a destructor of a managed class
|
|
new_or_override_required:“new” or “override” is required because this declaration matches
entity-kind “entity” (declared at line xxxx)
|
|
new_or_virtual_required:“new” or “virtual” is required because this declaration matches
entity-kind “entity” (declared at line xxxx)
|
|
override_for_interface_member:“new” or “override” are not valid here because the matching
entity-kind “entity” (declared at line xxxx) is a member of
an interface
|
|
new_requires_matching_base_member:“new” modifier without a matching base ref class member
|
|
overriding_reduces_accessibility_in_managed_type:entity-kind “entity” (declared at line xxxx) overridden with
reduced access
|
|
bad_tracking_ref_init:a reference of type “type” cannot be initialized with a value of
type “type”
|
|
copy_constructor_in_value_class_type:a copy constructor cannot be declared in a value class
|
|
default_constructor_in_value_class_type:a default constructor cannot be declared in a value class
|
|
destructor_in_value_class_type:a destructor cannot be declared in a value class
|
|
assignment_in_value_class_type:an assignment operator cannot be declared in a value class
|
|
nonvalue_class_type_cannot_be_value_class_member:non-value class “type” cannot be the type of a member of a value
class
|
|
cppcli_requires_newer_abi_version:option “cppcli” requires a different compiler configuration
|
|
managed_member_exception_spec:exception specifications are not allowed on member functions of
managed classes
|
|
managed_class_cannot_have_friend:a managed class cannot declare a friend
|
|
local_class_in_managed_member_function:a local class definition is not allowed in a member function of a
managed class
|
|
local_lambda_in_managed_member_function:a local lambda is not allowed in a member function of a managed class
|
|
cli_interface_member_function_definition:a member function of a C++/CLI interface class type cannot have a
definition
|
|
missing_get_and_set_accessors:a property definition must include at least one accessor (“get” or
“set”)
|
|
subscript_mechanism_conflict:default-indexed property conflicts with entity-kind “entity”(declared at line xxxx)
|
|
unusable_pack:entity-kind “entity” cannot be used because it follows a
parameter pack and cannot be deduced from the parameters of
entity-kind “entity”
|
|
excess_pack_expansion:this pack expansion produced more than one expression, and a single
expression is needed here
|
|
cli_enum_base_has_no_system_counterpart:type must correspond to System::Boolean, System::Byte, System::SByte,
System::Int16, System::UInt16, System::Int32, System::UInt32,
System::Int64, or System::UInt64
|
|
bad_call_of_handle:call of an object of a handle type without appropriate operator() or
conversion functions to pointer-to-function type
|
|
abstract_declarator_pack_is_nested:an unnamed parameter pack declaration cannot be parenthesized
|
|
cl_variadic_templates_only_in_cplusplus:variadic templates can be enabled only when compiling C++
|
|
conflicting_properties:property definition conflicts with entity-kind “entity” (declared
at line xxxx)
|
|
generic_param_cannot_have_default:a generic parameter cannot have a default
|
|
bad_param_kind_for_generic:a generic can only have type parameters
|
|
for_each_missing_function:to be used with “for each” statements, type “type” must provide
nonstatic member function “xxxx”
|
|
for_each_static_function:“for each” cannot use member entity-kind “entity” because it is
static
|
|
for_each_no_matching_overload:in this “for each” statement, no instance of “entity” is callable
with an empty argument list
|
|
for_each_invalid_return_type_for_move_next:“for each” cannot use member function “MoveNext” because the return
type is invalid
|
|
for_each_incompatible_type:a “for each” statement cannot operate on an expression of type
“type”
|
|
for_each_missing_field:to be used with “for each” statements, type “type” must provide a
non-indexed property “xxxx”
|
|
for_each_getenumerator_return_type_invalid:in this “for each” statement, “type” is not a valid enumerator
(returned by “GetEnumerator” of “type”)
|
|
exp_in:expected “in”
|
|
no_suitable_synthesis_assignment_operator:class “type” has no suitable assignment operator (after operator
synthesis)
|
|
not_a_generic_param:“xxxx” is not a generic parameter
|
|
not_generic_param_of_curr_decl:“xxxx” is not a generic parameter of the innermost generic
parameter list
|
|
invalid_constraint:invalid generic constraint
|
|
invalid_event_use:invalid use of event member (only subscription, unsubscription, and
invocation are allowed)
|
|
event_without_raise_invoked:invoking an event with no “raise” accessor is invalid
|
|
bad_event_compound_assignment:only “+=” and “-=” are valid for events
|
|
typeid_of_managed_type:typeid of a managed type is not allowed
|
|
cli_typeid_of_managed_pointer:typeid of a managed pointer type is not allowed
|
|
name_before_typeid_not_type:name followed by “::typeid” must be a type name
|
|
reserved_dispose:a member “xxxx” of this type is reserved within a managed class
– destructor intended?
|
|
reserved_finalize:a member “xxxx” of this type is reserved within a managed class
– finalizer intended?
|
|
invalid_idisposable_dispose:System::IDisposable::Dispose is missing or invalid
|
|
invalid_object_finalize:System::Object::Finalize is missing or invalid
|
|
finalize_does_not_override_object_finalize:entity-kind “entity” does not override System::Object::Finalize
|
|
bad_handle_dynamic_cast_operand:the operand of a handle dynamic_cast must be a handle to a complete
class type
|
|
bad_tracking_ref_dynamic_cast_operand:the operand of a tracking-reference dynamic_cast must be an lvalue of
a complete class type
|
|
bad_cli_dynamic_cast_type:the type in a dynamic_cast to a handle or tracking reference type
must refer to a complete class
|
|
cast_interior_ptr_to_ptr:an interior pointer cannot be cast to a native pointer
|
|
cppcli_explicit_conversion_only_in_ref_and_value_classes:explicit conversion operators can only be declared in ref and value
class types
|
|
cppcli_explicit_conversion_is_virtual:explicit conversion operator cannot be virtual
|
|
expr_not_arithmetic_or_unscoped_enum:expression must have arithmetic or unscoped enum type
|
|
expr_not_arithmetic_or_unscoped_enum_or_pointer:expression must have arithmetic, unscoped enum, or pointer type
|
|
expr_not_integral_or_unscoped_enum:expression must have integral or unscoped enum type
|
|
expr_not_integral_or_unscoped_enum_or_fixed_point:expression must have integral, unscoped enum, or fixed-point type
|
|
scoped_enum_operation_type_mismatch:a built-in binary operator applied to a scoped enumeration requires
two operands of the same type
|
|
invalid_gcnew_type:gcnew cannot allocate an entity of type “type”
|
|
gcnew_used_with_placement_syntax:placement syntax cannot be used with gcnew
|
|
new_used_on_unsuitable_value_type:new can only be used with simple value types
|
|
new_used_on_managed_class_type:new cannot be used on a managed class (gcnew should be used instead)
|
|
new_used_on_handle_or_tracking_reference_type:new cannot be used on a handle type
|
|
cli_array_must_have_new_or_array_init:gcnew for a C++/CLI array must have a new initializer or an array
initializer
|
|
gcnew_bad_type_used_with_array_init:an array initializer can only be used to initialize a C++/CLI array
type
|
|
gcnew_used_with_auto_syntax:gcnew does not allow auto
|
|
too_many_array_bounds:too many array bounds
|
|
too_few_array_bounds:too few array bounds
|
|
too_few_generic_args:too few arguments for entity-kind “entity”
|
|
too_many_generic_args:too many arguments for entity-kind “entity”
|
|
no_matching_arity:no declaration of entity-kind “entity” accepts the number of
generic arguments supplied
|
|
bad_function_for_delegate:invalid delegate initializer – must be a function
|
|
ambiguous_function_for_delegate:invalid delegate initializer – more than one function matches the
delegate type
|
|
mismatched_function_for_delegate:invalid delegate initializer – function does not match the delegate
type
|
|
missing_delegate_object:invalid delegate initializer – an object is needed in addition to a
function
|
|
nonmanaged_function_for_delegate:invalid delegate initializer – function is not a member of a managed
class
|
|
superfluous_delegate_object:invalid delegate initializer – object is not needed for the
specified function
|
|
incompatible_delegate_object:invalid delegate initializer – object has type “type” but type
“type” is expected
|
|
address_of_managed_member_function:taking the address of a member function of a managed class is not
allowed
|
|
bad_delegate_init_list:invalid delegate initializer – expected either
“(<function-address>)” or “(<object-handle>, <member-address>)”
|
|
interface_not_implemented:class fails to implement interface member entity-kind “entity”(declared at line xxxx)
|
|
gcnew_of_native_array:gcnew cannot be used to allocate a native array
|
|
cli_interface_cannot_have_assignment:a C++/CLI interface class cannot declare an assignment operator
|
|
sealed_cli_interface:a C++/CLI interface class cannot be sealed
|
|
destructor_or_finalizer_with_named_override:a destructor or finalizer declaration cannot include a named override
specifier
|
|
override_name_is_destructor_or_finalizer:an override specifier cannot designate a destructor or finalizer
|
|
named_override_requires_managed_type:a named override specifier is allowed only in a managed class
|
|
named_override_type_mismatch:no member designated by the named override specifier matches the type
of this member
|
|
static_constructor_with_named_override:a static constructor declaration cannot include a named override
specifier
|
|
unnamed_scoped_enum:a scoped enum type must have a name
|
|
branch_into_finally:transfer of control into a finally block is not allowed
|
|
return_from_finally:return statement inside a finally block is not allowed
|
|
missing_finally:try block requires at least one handler or finally clause
|
|
managed_object_not_thrown_by_handle:a managed object must be thrown by handle
|
|
managed_object_not_caught_by_handle:a managed object must be caught by handle
|
|
break_cannot_be_in_finally_block:a break statement cannot be used in a finally block
|
|
continue_cannot_be_in_finally_block:a continue statement cannot be used in a finally block
|
|
no_overloaded_subscript_with_offsetof:builtin offsetof cannot be used when subscripting is overloaded
|
|
duplicate_constraint:duplicate constraint
|
|
multiple_class_constraints:more than one class constraint: “type” and “type”
|
|
multiple_constraint_clauses:more than one constraint clause for entity-kind “entity”
|
|
initonly_static_data_member_not_initialized:initonly static data members must have an initializer or be
initialized in a static constructor
|
|
gnu_attr_on_template_redecl:GNU attributes on a template redeclaration have no effect
|
|
gnu_attr_on_template_redecl_but_original_kept:GNU attributes on a template redeclaration have no effect (the
attributes of the original declaration at line xxxx apply instead)
|
|
cli_param_array_must_be_last_parameter:a C++/CLI parameter array must be the last parameter
|
|
default_arg_used_in_param_array_function:a function with a C++/CLI parameter array cannot have default
arguments
|
|
ellipsis_after_param_array:a C++/CLI parameter array cannot be followed by an ellipsis parameter
|
|
parameter_array_on_operator_function:a C++/CLI parameter array is not allowed in an operator function
parameter list
|
|
microsoft_inline_not_allowed_here:__inline and __forceinline are not allowed here
|
|
data_member_with_interface_type:a data member cannot have a C++/CLI interface class type
|
|
variable_with_interface_type:a variable cannot have a C++/CLI interface class type
|
|
parameter_with_interface_type:a parameter cannot have a C++/CLI interface class type
|
|
return_type_is_interface:a function return type cannot be a C++/CLI interface class type
|
|
array_of_generic_param:an array of generic parameter type is not allowed
|
|
ptr_handle_or_ref_to_generic_param:a pointer, handle, or reference to a generic parameter type is not
allowed
|
|
ref_class_initonly_field:an initonly field cannot have a ref class type
|
|
ref_bound_to_initonly_field:a reference cannot be bound to an initonly field
|
|
address_of_initonly_field:taking the address of an initonly field is not allowed
|
|
modification_of_initonly_field:an initonly field can only be modified by the instance constructor of
its containing class
|
|
modification_of_static_initonly_field:a static initonly field can only be modified by the static
constructor of its containing class
|
|
member_function_call_on_initonly_field:member function will be invoked on a copy of the initonly field
|
|
expr_not_pointer_nor_handle:expression must have pointer or handle type but it has type “type”
|
|
move_ctor_or_assign_copy_of_lvalue:a move constructor or move assignment operator is used to copy an
lvalue here, which may destroy the source object
|
|
generic_selection_with_points_to:member selection on a C++/CLI generic entity must use the “->”
syntax, not “.”
|
|
invalid_specific_ref_class_base:a ref class type cannot derive from “type”
|
|
generic_class_must_be_managed:a generic class must be managed (i.e., a ref class, a value class, or
an interface class)
|
|
sealed_constraint:a sealed class cannot be used as a constraint
|
|
dynamic_cast_to_value_generic:the type in a dynamic_cast cannot be a generic type that might be a
value type
|
|
UCN_names_invalid_code_point:a universal character name must designate a valid code point
|
|
override_with_constraint_mismatch:generic constraints do not match those of entity-kind “entity”(declared at line xxxx)
|
|
bad_argument_for_underlying_type:__underlying_type only applies to enum types
|
|
too_many_cast_operands:expected only one operand expression for this cast
|
|
bad_unicode_char_in_string:Unicode character with hex value xxxx not representable in the
system default code page
|
|
conv_of_pm_to_func_ptr:nonstandard conversion of bound pointer-to-member to a function
pointer
|
|
deprecated_access_specifier:access specifier xxxx is deprecated – use xxxx instead
|
|
static_accessor_in_nonstatic_property_or_event:a static accessor function is not permitted in a nonstatic property
or event definition
|
|
both_ref_and_value_constraints:“type” has both a value class and ref class constraint
|
|
circular_constraints:“type” and “type” involve circular naked type constraints
|
|
invalid_type_constraint:“type” is not a valid type constraint
|
|
pch_file_incomplete:precompiled header file “xxxx” not used (because it is incomplete)
|
|
invalid_generic_arg:“type” is not a valid generic argument
|
|
bad_assembly_info_attribute:assembly_info attribute applied to an invalid type
|
|
ref_class_not_satisfied:“type” does not satisfy the ref class constraint of generic
parameter “type”
|
|
value_class_not_satisfied:“type” does not satisfy the value class constraint of generic
parameter “type”
|
|
gcnew_and_abstract:“type” does not satisfy the gcnew constraint of generic parameter
“type” because it is abstract
|
|
gcnew_and_no_ctor:“type” does not satisfy the gcnew constraint of generic parameter
“type” because it does not have a public default constructor
|
|
gcnew_and_no_gcnew:generic parameter “type” does not satisfy the gcnew constraint of
generic parameter “type” because it does not have the gcnew
constraint
|
|
type_not_satisfied:“type” does not satisfy the “type” type constraint of generic
parameter “type”
|
|
constraint_mismatch:constraint on generic parameter “type” differs from previous
declaration (at line xxxx)
|
|
standard_array_member_in_managed_class:a member of a managed class cannot be a standard array
|
|
handle_member_in_standard_class:a member of a non-managed class cannot be a handle
|
|
tracking_reference_member_in_standard_class:a member of a non-managed class cannot be a tracking reference
|
|
reinterpret_cast_of_handle:unsafe reinterpret_cast of handle
|
|
generic_type_in_template_arg:a template argument may not reference a generic type parameter
|
|
comma_operator_in_cli_subscript:an expression list is not allowed in this subscript operation (use
parentheses around a top-level comma operator)
|
|
expr_not_pointer_or_array_handle:expression must have pointer-to-object or handle-to-C++/CLI-array
type but it has type “type”
|
|
unrecognized_ms_attr:unrecognized attribute
|
|
standard_class_member_in_managed_class:a member of a managed class cannot be of a non-managed class type
|
|
ref_or_interface_class_member_in_standard_class:a member of a non-managed class cannot have a ref class type or
interface class type
|
|
template_delegate:a delegate may not be declared as a template
|
|
invalid_generic_specialization:a generic cannot be explicitly specialized
|
|
generic_in_template:a generic cannot be declared in a class template
|
|
template_in_generic:a template cannot be declared in a generic class
|
|
static_literal_field:a literal field cannot be declared “static”
|
|
nonstandard_long_float:“long float” is a nonstandard extension – use “double” instead
|
|
standard_class_nested_in_managed_class:a standard class cannot be nested in a managed class
|
|
clrcall_requires_cppcli:__clrcall is valid only in C++/CLI mode
|
|
vararg_clrcall:__clrcall not allowed on function with ellipsis parameter
|
|
bad_use_of_function_modifier:“xxxx” is not allowed here
|
|
override_with_trivial_property_or_event:a trivial property or event cannot be used to override entity-kind
“entity” (declared at line xxxx)
|
|
exp_id_in_for_each_decl:expected an iterator variable name
|
|
missing_notequal_on_for_each_type:the iterator type in this “for each” statement is “type”, which
is not a pointer type or an iterator-like class type
|
|
missing_incr_on_for_each_type:the iterator type in this “for each” statement is “type”, which
is not a pointer type or an iterator-like class type
|
|
missing_indirect_on_for_each_type:the iterator type in this “for each” statement is “type”, which
is not a pointer type or an iterator-like class type
|
|
no_packing_of_non_POD_field:packing attribute on the parent type is ignored for this field of
class type “type” that is not standard-layout
|
|
nonpublic_implicit_interface_match:entity-kind “entity” (declared at line xxxx) not implemented
because this declaration is not public and has no named override
specifier
|
|
missing_gnu_inline_attr_on_redeclaration:this declaration is missing the gnu_inline attribute specified in the
previous declaration at line xxxx
|
|
managed_member_function_cannot_have_ellipsis_parameter:a member function of a managed class cannot have an ellipsis parameter
|
|
invalid_prev_decl_iterator:previously-declared entity-kind “entity” invalid as iterator of
“for each” statement
|
|
generic_parameter_requires_clrcall:calling convention ignored because the function type involves a
generic parameter; __clrcall used instead
|
|
generic_parameter_does_not_permit_varargs:a function type involving a generic parameter cannot have an ellipsis
parameter
|
|
virtual_required_for_base_override:“virtual” is required to override the matching entity-kind
“entity” (declared at line xxxx)
|
|
virtual_required_for_interface_implementation:“virtual” is required to implement the matching entity-kind
“entity” (declared at line xxxx)
|
|
initonly_volatile_not_allowed:an initonly data member cannot be volatile
|
|
member_name_reserved_by_cli_operator:a member “xxxx” of this type is reserved within a managed class
– C++/CLI operators must be declared using the keyword “operator”
|
|
tracking_ref_to_constant:a tracking reference to non-const cannot be bound to a constant
|
|
attributes_with_no_decl:attributes ignored here because they do not apply to a declared entity
|
|
tracking_reference_to_system_string:a tracking reference to System::String is not allowed
|
|
use_of_generic_class_with_pending_constraint:invalid use of a generic class “type” with pending constraints
(probably caused by an invalid metadata file)
|
|
invalid_entity_for_pending_constraint:a pending constraint clause is only allowed for generic class
declarations (but not generic class definitions)
|
|
invalid_empty_initializer_list:empty initializer list not allowed here
|
|
template_in_managed_class:a template cannot be declared in a managed class
|
|
bad_generic_declaration_scope:a generic declaration is not allowed here
|
|
interface_cannot_have_member_generics:interface types cannot have member generics
|
|
character_not_latin_1:Unicode character not Latin-1, truncated to low-order byte
|
|
range_based_for_missing_function:to be used with range-based “for” statements, type “type” must
provide function “xxxx”
|
|
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
|
|
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
|
|
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
|
|
range_based_for_incomplete_array_type:a range-based “for” statement cannot operate on an array of unknown
size or incomplete type “type”
|
|
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”)
|
|
inaccessible_elided_dtor:entity-kind “entity” (declared at line xxxx), required to
destroy temporary that was eliminated, is inaccessible
|
|
range_based_for_no_matching_overload:in this range-based “for” statement, no instance of “entity”matches the argument list
|
|
range_based_for_undefined_identifier:this range-based “for” statement requires a suitable “xxxx”function and none was found
|
|
for_each_undefined_identifier:this “for each” statement requires a suitable “xxxx” function and
none was found
|
|
class_metadata_not_representable:“type” has a metadata representation not representable using
C++/CLI
|
|
exp_ellipsis:expected “…”
|
|
implements_requires_interface:“type” in __implements list is not an interface
|
|
implements_must_precede_virtual_functions:an __implements list must precede virtual function declarations
|
|
missing_implements_list:“type” specified “__implements …” in its list of bases, but is
missing a matching __implements list
|
|
unused_dereference_of_ref_class:the result of dereferencing a handle to a ref or interface class type
must be used
|
|
exp_rparen_and_pragma_ignored:expected a “)”; pragma ignored
|
|
using_or_access_declaration_in_managed_class:a using-declaration or access declaration cannot appear in a managed
class
|
|
skipped_inaccessible_function:Note: entity-kind “entity” (declared at line xxxx) could have
been called but was not considered because it is inaccessible
|
|
cli_abstract_member_function_definition:an abstract member function of a C++/CLI managed class cannot have a
definition
|
|
nonstatic_addressof_operator_in_managed_class:declaring this unary “operator*” can change the meaning of
dereferencing a handle (use static member operators to explicitly
indicate applicable types)
|
|
interface_nonstatic_data_member:an interface class cannot contain a nonstatic data member
|
|
pragma_gcc_system_header_in_primary_file:#pragma GCC system_header cannot be used in the primary source file
|
|
too_large_to_inline:entity-kind “entity” is too large to be inlined
|
|
cl_gen_move_operations_option_only_in_cplusplus:option to control move operations can be used only when compiling C++
|
|
cl_gen_move_operations_and_rvalue_ctor_is_copy_ctor:move operations cannot be generated when rvalue constructors are copy
constructors
|
|
cl_move_operations_require_rvalue_references:option to control move operations cannot be used when rvalue
references are disabled
|
|
final_managed_class:“final” cannot be used for managed classes (use “sealed” instead)
|
|
cast_to_cli_interface_class:a cast to CLI interface class “type” is not allowed – cast to
handle intended?
|
|
new_of_cli_interface_class:cannot create an object of a CLI interface class
|
|
enum_type_replacement:this declaration hides the nonstandard declaration of entity-kind
“entity” (declared at line xxxx) because the underlying types
are incompatible
|
|
known_comparison_with_null:pointer comparison result is constant, because operand can never be
null
|
|
value_init_of_incomplete:an object of the incomplete type “type” cannot be
value-initialized
|
|
value_init_of_reference:a reference cannot be value-initialized
|
|
exp_lparen_or_brace:expected a “(” or a “{”
|
|
explicit_ctor_in_copy_list_init:copy-list-initialization cannot use a constructor marked “explicit”
|
|
ptr_to_member_of_type_void:pointer to member of type void is not allowed
|
|
ptr_to_member_of_reference_type:pointer to member of reference type is not allowed
|
|
ptr_to_member_of_handle_type:pointer to member of handle type is not allowed
|
|
braced_init_list_not_allowed:a brace-enclosed list is not allowed here
|
|
arrow_star_operator_in_managed_class:an operator->* member is not allowed in a managed class
|
|
bad_assembly_index:assembly metadata refers to non-existent assembly
|
|
attribute_conflict:attribute “xxxx” conflicts with earlier attribute “xxxx”
|
|
incompatible_enum_base_types:entity-kind “entity” (declared at line xxxx) was previously
declared with a different base type
|
|
invalid_scoped_enum_elaboration:“enum class” and “enum struct” cannot be used here (use plain “enum”
instead)
|
|
extra_braces_on_simple_init:only one level of braces is allowed on an initializer for an object
of type “type”
|
|
not_an_enum_type_name:entity-kind “entity” (declared at line xxxx) cannot be used
as an enum type name
|
|
auto_new_with_braced_init:a braced-initializer cannot be used with “new auto”
|
|
missing_initializer_list_ctor:the definition of std::initializer_list does not contain the expected
constructor
|
|
variable_hides_entity:declaration hides entity-kind “entity” (declared at line xxxx)
|
|
invalid_std_initializer_list_parameter_list:invalid template parameter list for std::initializer_list (it should
be one ordinary type parameter with no default)
|
|
braced_list_passed_to_ellipsis:a brace-enclosed list cannot be passed for an ellipsis parameter
|
|
initializer_list_not_included:an #include <initializer_list> is needed prior to a use of
std::initializer_list, including an implicit use
|
|
inline_on_alias:the “inline” keyword cannot be used on a namespace alias declaration
|
|
prev_ns_not_inline:the previous declaration of entity-kind “entity” was not declared
inline
|
|
prev_ns_inline:entity-kind “entity” was previously declared inline
|
|
first_arg_must_be_integer_constant:the first argument must be an integer constant
|
|
designator_requires_aggregate_type:a designator cannot be used with a non-aggregate type “type”
|
|
indirect_anon_union_designator:a designator for an anonymous union member can only appear within
braces corresponding to that anonymous union
|
|
cl_func_prototype_tags_option_only_in_C:function prototype tags can only be enabled when compiling C
|
|
cannot_elide_braces:braces cannot be omitted for this subobject initializer
|
|
narrowing_conversion:invalid narrowing conversion from “type” to “type”
|
|
constant_narrowing_conversion:invalid narrowing conversion from “type” to “type”: constant
value does not fit in destination type
|
|
cast_to_incomplete_array_type:cast to incomplete array type “type” is not allowed
|
|
constant_narrowing_conversion_to_float:invalid narrowing conversion from “type” to “type”: constant
value cannot be represented exactly in destination type
|
|
braced_init_in_paren_init:a parenthesized initializer for a non-class entity must be an
expression, not a brace-enclosed list
|
|
braced_list_for_implicit_lambda_type:a brace-enclosed list does not provide a return type for this lambda
|
|
invalid_explicit_exception_specification:the declared exception specification is incompatible with the
generated one
|
|
scoped_enum_nonstandard_in_current_mode:scoped enum types are a C++11 feature
|
|
value_init_of_function:a function type cannot be value-initialized
|
|
list_init_of_incomplete:list-initialization of an object type “type” is not allowed
because the type is incomplete
|
|
std_initializer_list_has_dtor:std::initializer_list has a destructor, and is not supposed to –
library is misconfigured
|
|
explicit_enum_base_nonstandard_in_current_mode:explicit enum base types are a C++11 feature
|
|
unconvertible_con_expr:this constant expression has type “type” instead of the required
“type” type
|
|
new_of_initializer_list:a “new” of an std::initializer_list object is unlikely to work as
expected because the underlying array will be destroyed at the end of
the full expression
|
|
defined_always_false:“defined” is always false in a macro expansion in Microsoft mode
|
|
init_list_element_type_not_complete_object:“type” cannot be the element type of an initializer list because
it is not a complete object type
|
|
invalid_default_arg:mismatched delimiters in default argument expression
|
|
conv_of_unbound_pm_to_func_ptr:nonstandard conversion of pointer-to-member to a function pointer
|
|
dynamic_exception_specifications_deprecated:dynamic exception specifications are deprecated
|
|
bad_scope_for_partial_spec:entity-kind “entity” cannot be partially specialized in the
current scope
|
|
previous_constexpr_decl_conflict:entity-kind “entity” (declared at line xxxx) was previously
declared constexpr
|
|
previous_nonconstexpr_decl_conflict:entity-kind “entity” (declared at line xxxx) was previously
not declared constexpr
|
|
constexpr_variable_decl_must_be_definition:missing initializer for constexpr variable
|
|
invalid_constexpr:“constexpr” is not valid here
|
|
invalid_constexpr_body:a constexpr function must contain exactly one return statement
|
|
invalid_statement_in_constexpr_function:statement may not appear in a constexpr function
|
|
invalid_statement_in_constexpr_constructor:statement may not appear in a constexpr constructor
|
|
constexpr_virtual_combination:a function cannot be both constexpr and virtual in this mode
|
|
nonliteral_return_type_in_constexpr_function:a constexpr function cannot have a nonliteral return type “type”
|
|
nonliteral_param_type_in_constexpr_function:a constexpr function cannot have a parameter of nonliteral type
“type”
|
|
unsequenced_use_of_variable:unsequenced uses of entity-kind “entity” in expression may
produce undefined results
|
|
3rd_arg_of_assume_aligned_must_be_integral:the optional third argument of a call to __builtin_assumed_aligned
must have integral type
|
|
constexpr_destructor:a destructor cannot be constexpr
|
|
invalid_mmap_address:address supplied for mmap must be aligned on a page boundary: xxxx
|
|
constexpr_constructor_with_function_try_block:the body of a constexpr constructor cannot be a function try block
|
|
missing_initializer_on_fields_with_constexpr_ctor:constexpr entity-kind “entity” provides no initializer for:
|
|
default_ctor_call_not_constant:calling the default constructor for “type” does not produce a
constant value
|
|
default_ctor_not_constexpr:the default constructor for “type” is not constexpr
|
|
constexpr_variable_must_have_literal_type:a constexpr variable must have a literal type or a reference type
|
|
constexpr_ctor_with_virtual_base:a constructor for a class with virtual bases cannot be constexpr
|
|
bad_cpp11_constant_function_call:function call must have a constant value in a constant expression
|
|
constexpr_main:function “main” may not be declared constexpr
|
|
tag_defined_in_constexpr_body:a class or enum type definition cannot appear in a constexpr function
or constructor body
|
|
only_gnu_attributes_here:only GNU-style attributes are permitted here
|
|
auto_used_two_ways:nonstandard use of “auto” to both deduce the type from an initializer
and to announce a trailing return type
|
|
nonstd_qualified_void_param_list:declaring a void parameter list with a qualified void type is
nonstandard
|
|
qualifier_ignored_on_local_declaration:the qualifier on this local declaration is ignored
|
|
bad_conv_constant_expr_type:this constant expression has type “type” instead of the required
xxxx type
|
|
bad_argument_for_bases:an instantiation of __bases or __direct_bases requires a class type
|
|
bad_prototype_argument_for_bases:the argument of __bases and __direct_bases must be a type template
parameter
|
|
bases_not_in_template:xxxx can only be used in template contexts
|
|
constexpr_return_not_constant:constexpr function return is non-constant
|
|
nonconstexpr_call_in_mem_initializer:constexpr constructor calls non-constexpr entity-kind “entity”
|
|
nonconstant_field_initializer_in_mem_initializer:constructor cannot be constexpr because the initializer of
entity-kind “entity” is not a constant expression
|
|
nonconstant_mem_init_for_constexpr_ctor:non-constant initializer for constexpr constructor
|
|
generated_default_constructor_used_in_field_initializer:the generated default constructor for “type” cannot be used in an
initializer for its own data member
|
|
recursive_initializer_instantiation:instantiation of initializer of entity-kind “entity” depends on
its own value
|
|
defaulted_default_ctor_cannot_be_constexpr:defaulted default constructor cannot be constexpr because the
corresponding implicitly declared default constructor would not be
constexpr
|
|
bad_binary_digit:invalid binary number
|
|
multiple_union_field_initializers:a union can have at most one field initializer – entity-kind
“entity” (declared at line xxxx) also has an initializer
|
|
union_constexpr_constructor_initializes_no_field:constexpr constructor of a union must initialize one of its fields
|
|
constexpr_constructor_initializes_no_variant_field:constexpr constructor fails to initialize an anonymous union (defined
at line xxxx)
|
|
constexpr_static_data_member_without_initializer:a constexpr static data member declaration requires an in-class
initializer
|
|
cl_max_constexpr_option_only_in_cplusplus:maximum constexpr depth/count options can be used only when compiling
C++
|
|
excessive_constexpr_complexity:expression not folded to a constant due to excessive constexpr
function call complexity
|
|
cl_unrestricted_unions_option_only_in_cplusplus:unrestricted union options can be used only when compiling C++
|
|
constexpr_ctor_does_not_initialize_base:constexpr constructor must initialize direct base class “type”
|
|
field_initializer_list:creation of an std::initializer_list object in a field initializer is
unlikely to work as expected because the underlying array will be
destroyed at the end of the full expression
|
|
this_not_constant:“this” cannot be used in a constant expression
|
|
constexpr_explicit_instantiation:“constexpr” is not allowed on an explicit instantiation directive
|
|
generated_default_ctor_exception_spec_circularity:cannot determine the exception specification of the default
constructor due to a circular dependency
|
|
anon_union_at_decl_position:anonymous union defined at line xxxx
|
|
unbounded_constexpr_ctor_init_recursion:this constructor uses the initializer of entity-kind “entity”(declared at line xxxx), which would result in unbounded recursion
|
|
block_extern_initializer_not_allowed:an initializer is not allowed on a local declaration of an extern
variable
|
|
local_named_register_initializer_not_allowed:an initializer is not allowed on a local declaration of a named
register variable
|
|
cl_unrestricted_unions_in_microsoft_mode:unrestricted unions cannot be enabled in Microsoft mode
|
|
delegation_loop:constructor delegates directly or indirectly to itself
|
|
delegation_init_and_mem_init:a delegating constructor cannot have other mem-initializers
|
|
ref_qualifier_not_allowed:a ref-qualifier is not allowed here
|
|
same_param_types_with_and_without_ref_qualifiers:overloading two member functions with the same parameter types
requires that they both have ref-qualifiers or both lack
ref-qualifiers
|
|
bad_raw_string_delim_char:invalid character in raw string delimiter
|
|
missing_raw_string_delim_lparen:parenthesis terminating raw string delimiter not found within 16
characters – raw string indicator ignored
|
|
missing_raw_string_delimiter:ending delimiter for raw string not found
|
|
pack_not_last_arg:a parameter pack must be the final template argument in a partial
specialization
|
|
pm_call_obj_not_lvalue:a pointer-to-member function with type “type” can only be used
with an lvalue object
|
|
pm_call_obj_not_rvalue:a pointer-to-member function with type “type” can only be used
with an rvalue object
|
|
defaulted_copy_ctor_cannot_have_const_parameter:the parameter of this defaulted copy-constructor cannot be const
because a base or member copy constructor parameter is non-const
|
|
defaulted_assignment_cannot_have_const_parameter:the parameter of this defaulted assignment operator cannot be const
because a base or member copy assignment parameter is non-const
|
|
empty_anonymous_union:an anonymous union must contain at least one nonstatic data member
|
|
delegating_constructor_requires_newer_abi_version:option “delegating_constructors” requires a different compiler
configuration
|
|
alignment_reduction_unconditionally_ignored:a reduction in alignment is ignored
|
|
bad_rvalue_ref_const_cast_operand:the operand of a const_cast to an rvalue reference type cannot be a
non-class prvalue
|
|
expr_not_a_glvalue:expression must be an lvalue or xvalue
|
|
lossy_conversion:conversion may change the value
|
|
deprecated_string_conv:conversion from a string literal to “char *” is deprecated
|
|
deprecated_string_conv_gen:conversion from a string literal to pointer-to-character (non-const)
is deprecated
|
|
override_and_final_is_cpp11:“override” and “final” are C++11 features
|
|
rvalue_reference_in_exception_specification:rvalue references are not allowed as exception specification types
|
|
attr_disallows_handler_param:attribute “xxxx” does not apply to handler parameters
|
|
attr_requires_handler_param:attribute “xxxx” requires a handler parameter
|
|
wrong_entity_for_alignas:alignas does not apply here
|
|
std_alignof_with_expr_arg:the standard “alignof” operator does not accept an expression
argument (use a type instead)
|
|
bad_qualifier_for_member_enum_decl:invalid qualifier for “type” (a derived class is not allowed here)
|
|
always_inline_requires_inline:the “always_inline” attribute is ignored on non-inline functions
|
|
inheriting_ctor_not_from_direct_base:inheriting constructors must be inherited from a direct base class
|
|
exp_asm_label:expected a label
|
|
missing_label_operand_number:expected an operand number after “%”
|
|
label_operand_number_out_of_range:operand number for “%” does not refer to a valid label argument
|
|
wide_string_invalid_in_asm:a wide string is invalid in an “asm” statement
|
|
attribute_is_nonstandard:attribute is nonstandard
|
|
decltype_is_not_base_class:not a base class of class “type”
|
|
bad_user_defined_suffix:non-identifier character in user-defined literal suffix
|
|
multichar_ud_lit:a multicharacter literal cannot be part of a user-defined literal
|
|
ud_string_suffix_mismatch:user-defined literal suffix does not match the earlier “xxxx”
|
|
invalid_literal_operator_id:invalid literal operator name
|
|
literal_operator_not_found:user-defined literal operator not found
|
|
ambig_literal_operator:ambiguous literal operators and/or literal operator template:
|
|
udl_cannot_be_class_member:a literal operator cannot be a member of a class
|
|
extern_c_literal_operator:a literal operator cannot have extern “C” name linkage
|
|
no_parameter_for_literal_operator:at least one parameter expected for a literal operator
|
|
too_many_parameters_for_literal_operator:too many parameters for this literal operator
|
|
invalid_parameter_type_for_literal_operator:invalid parameter type “type” for literal operator
|
|
invalid_integer_parameter_for_literal_operator:invalid integer parameter type (“type”) for literal operator;
expected a character type or unsigned long long
|
|
invalid_float_parameter_for_literal_operator:invalid floating-point parameter type (“type”) for literal
operator; expected long double
|
|
pointer_to_nonconst_for_literal_operator:invalid first parameter type (“type”) for literal operator;
pointer to non-const type is not allowed
|
|
invalid_second_parameter_type_for_literal_operator:invalid second parameter type (“type”) for literal operator; must
be size_t
|
|
invalid_pointer_parameter_for_literal_operator:invalid pointer parameter type (“type”) for literal operator;
expected a pointer to a character type
|
|
ellipsis_parameter_for_literal_operator:a literal operator cannot have an ellipsis parameter
|
|
invalid_parameter_for_literal_operator_template:a literal operator template cannot have any parameters
|
|
invalid_template_parameter_for_literal_operator_template:a literal operator template must have a template parameter list
equivalent to “<char …>”
|
|
thread_local_not_allowed:thread-local storage class is not valid here
|
|
thread_local_follows_non_thread_local:thread-local declaration follows non-thread-local declaration
(declared at line xxxx)
|
|
non_thread_local_follows_thread_local:non-thread-local declaration follows thread-local declaration
(declared at line xxxx)
|
|
default_arg_for_literal_operator:a literal operator cannot have default arguments
|
|
attribute_ignored_for_thread_local:attribute is ignored for thread-local variables
|
|
lit_suffix_no_underscore:a user-provided literal suffix must begin with “_”
|
|
rvalue_references_is_cpp11:rvalue references are a C++11 feature
|
|
lambdas_is_cpp11:lambda expressions are a C++11 feature
|
|
std_attributes_is_cpp11:standard attribute syntax is a C++11 feature
|
|
delegating_constructor_is_cpp11:delegating constructors are a C++11 feature
|
|
inheriting_constructor_is_cpp11:inheriting constructors are a C++11 feature
|
|
field_initializers_is_cpp11:field initializers are a C++11 feature
|
|
deleted_functions_is_cpp11:deleted functions are a C++11 feature
|
|
defaulted_functions_is_cpp11:defaulted functions are a C++11 feature
|
|
storage_class_not_allowed_in_specialization:a storage class is not allowed in an explicit specialization
|
|
specialization_of_unscoped_enum:an unscoped enumeration must be opaque in order to be specialized
|
|
nonmember_enum_template:an enumeration template declaration must refer to a previously
declared member of a class template
|
|
operand_must_be_vector:expected a vector operand
|
|
incompatible_shuffle_source_operands:shuffle source operands have incompatible types “type” and
“type”
|
|
nonintegral_shuffle_mask:shuffle mask (type “type”) is not a vector of integers
|
|
incompatible_shuffle_mask:shuffle mask (type “type”) has a length different from the source
operand (type “type”)
|
|
bad_size_for_static_address_init:static initialization with an address value requires a destination of
the same size as the address
|
|
feature_test_macro_req_id:the argument to a feature-test macro must be a simple identifier
|
|
has_include_next_in_primary_source_file:__has_include_next cannot be used in the primary source file
|
|
absolute_file_name_in_has_include_next:absolute file name used in __has_include_next
|
|
attr_not_applied_to_function_type:attribute “xxxx” must be applied to a function type
|
|
bad_c11_noreturn:_Noreturn is not allowed here
|
|
operand_must_be_real_floating_value:expected an operand of real floating-point type (not “type”)
|
|
incompatible_builtin_complex_types:__builtin_complex requires operands of compatible types (unlike
“type” and “type”)
|
|
default_association_appears_more_than_once:a default association already appeared in this _Generic selection
|
|
variably_modified_type_not_allowed_here:a type involving a variable length array is not allowed here
|
|
duplicate_type_in_c11_generic:duplicate association type (“type”) in _Generic selection
|
|
no_match_in_c11_generic:no association matches the selector type “type”
|
|
incompatible_ifunc_resolver_type:the type of entity-kind “entity” (“type”) is incompatible
with an ifunc resolver type
|
|
ifunc_cant_be_alias:a function cannot have both ifunc and alias attributes
|
|
ifunc_cant_be_weak:a function cannot have both ifunc and weak attributes
|
|
call_requires_string_literal:call requires a string literal operand
|
|
duplicate_inheriting_constructor:duplicate inheriting constructor declaration (previous at line
xxxx)
|
|
modified_decltype_auto_type:“decltype(auto)” must be a placeholder for the complete type of the
variable (not for a component of that type)
|
|
decltype_auto_not_allowed_here:decltype(auto) is not allowed here
|
|
decltype_auto_type_requires_initializer:cannot deduce “decltype(auto)” (initializer required)
|
|
cannot_deduce_decltype_auto_type:cannot deduce “decltype(auto)” type
|
|
thread_local_must_include_static_or_extern:a block-scope thread-local declaration must include static or extern
|
|
deduced_return_type_conflict:deduced return type “type” conflicts with previously deduced type
“type”
|
|
use_of_undefined_function_with_deduced_return_type:cannot deduce the return type of entity-kind “entity” (declared
at line xxxx); it has not been defined
|
|
virtual_function_cannot_have_deduced_return_type:a virtual function cannot have a deduced return type
|
|
keyword_dropped:entity-kind “entity” will be treated as a context-sensitive
keyword from this point
|
|
global_ns_has_no_actual_member:the global namespace has no actual member “xxxx”
|
|
different_enum_comparison:comparison between two different enum types (“type” and
“type”)
|
|
unrecognized_target_attribute:target attribute not recognized
|
|
gnu_mv_default_missing:missing “default” target function
|
|
gnu_mv_only_one_arch:only one arch= target may be specified
|
|
generic_class_cannot_be_custom_attribute:a generic class cannot be a custom attribute
|
|
invalid_ms_attribute_target:invalid attribute target “xxxx”
|
|
ambiguous_ms_attribute:ambiguous attribute – both “type” and “type” could be used
|
|
cli_attribute_inaccessible_field:a named attribute argument can only reference a public nonstatic
read/write field or scalar property
|
|
cli_attribute_invalid_field:a named attribute argument can only reference a nonstatic field or
scalar property of an attribute parameter type
|
|
cli_attribute_invalid_argument:invalid attribute argument – expression must be a constant of an
attribute parameter type
|
|
cli_typeid_of_generic_param_in_attribute:an attribute argument cannot use generic type parameters
|
|
invalid_use_of_standalone_custom_ms_attr:“type” may only be used as a standalone attribute
|
|
field_target_on_nontrivial_property_or_event:the ‘field’ attribute target cannot be used on a non-trivial
property/event
|
|
invalid_attribute_target_for_standalone_ms_attr:invalid attribute target for a standalone attribute
|
|
invalid_attribute_target_for_ms_attr:invalid attribute target for this context
|
|
invalid_use_of_custom_ms_attr:“type” attribute cannot be used here
|
|
cli_param_array_attribute_deprecated:“type” is deprecated; use ‘…’ to specify a parameter array
|
|
namespace_default_cannot_be_extended:the default namespace cannot be extended
|
|
cppcx_box_invalid_type:the boxed type must be a value class or enum
|
|
tracking_reference_to_value_class:tracking reference to value class is not allowed
|
|
handle_to_value_class:handle to value class is not allowed
|
|
tracking_reference_to_enum:tracking reference to enum is not allowed
|
|
handle_to_enum:handle to enum is not allowed
|
|
cppcx_public_native_type:a public native type is not allowed
|
|
public_nested_type_in_cppcx_type:a public nested type is not allowed
|
|
cppcx_generic_type_not_allowed:generic types are not permitted in C++/CX
|
|
cppcx_generic_method_not_allowed:generic methods are not permitted in C++/CX
|
|
cppcx_generic_constraints_not_allowed:generic constraints are not allowed
|
|
nonpublic_data_member_in_public_cppcx_value_type:non-public data members are not allowed in public C++/CX value types
|
|
public_nondata_member_in_public_cppcx_value_type:public non-data members are not allowed in public C++/CX value types
|
|
cppcx_public_value_class_constructor:constructors are not allowed in public C++/CX value types
|
|
bad_cppcx_event_add_return:the return type of the “add” accessor must be
Windows::Foundation::EventRegistrationToken
|
|
bad_cppcx_event_remove_return:the return type of the “remove” accessor must be void
|
|
bad_cppcx_event_remove_parameter:the parameter type of the “remove” accessor must be
Windows::Foundation::EventRegistrationToken
|
|
cppcx_handle_or_ref_to_generic_param:a handle or reference to a generic parameter type is not allowed
|
|
public_data_member_in_public_non_value_type:public data members are not allowed in non-value types
|
|
cl_cppcx_only_in_microsoft_cplusplus:C++/CX can be enabled only in Microsoft C++ mode
|
|
cl_cppcx_and_cppcli:C++/CLI and C++/CX modes cannot be combined
|
|
cppcx_not_enabled:“xxxx” requires C++/CX mode
|
|
cl_microsoft_version_insufficient_for_cppcx:C++/CX mode requires microsoft_version >= 1600
|
|
literal_fields_disallowed_in_cppcx_mode:Literal fields are not allowed in C++/CX
|
|
normal_ref_bound_to_cppcx_lvalue:a standard reference cannot be bound to a C++/CX type
|
|
cppcx_enum_base_has_no_platform_counterpart:type must correspond to Platform::Boolean, default::uint8,
default::int8, default::int16, default::uint16, default::int32,
default::uint32, default::int64, or default::uint64
|
|
event_in_cppcx_value_type:a C++/CX value type cannot have events
|
|
bad_cppcx_dynamic_cast_type:a dynamic_cast to a handle type must refer to a complete class type
|
|
cppcx_array_only_one_dimension_allowed:Platform::Array can only be one-dimensional
|
|
cppcx_tracking_reference_on_standard_class_type:tracking reference to standard class type is not allowed
|
|
cppcx_value_type_deriving_from_interface:a C++/CX value type cannot inherit from an interface
|
|
cppcx_value_type_contains_virtual_function:a C++/CX value type cannot contain virtual functions
|
|
partial_class_incorrect_type_or_location:“partial” can only be applied to “ref class” or “ref struct” at
global scope or namespace scope
|
|
cppcx_invalid_array_property_set_value_parameter:the parameter of the “set” accessor must be of type “const
Platform::Array<T>^”
|
|
cppcx_public_global_type:the definition of a public C++/CX type is not allowed at global scope
|
|
cppcx_public_indexed_property:an indexed property with a public “get” or “set” accessor is not
allowed
|
|
cppcx_public_nested_delegate:a public nested delegate type is not allowed
|
|
cppcx_bad_delegate_init_list:invalid delegate initializer – expected either “(<function-address
or functor-object> [, Platform::CallbackContext])” or “(<object
handle>, <member-address> [, Platform::CallbackContext [, bool]])”
|
|
cppcx_invalid_delegate_object:invalid delegate initializer – object must be a handle to a managed
class
|
|
cppcx_non_const_array_parameter:C++/CX does not support ‘in/out’ arrays – use “const
Platform::Array<T>^” for ‘in’ and “Platform::WriteOnlyArray<T>^” or
“Platform::Array<T>^*” for ‘out’ on public APIs
|
|
missing_target_attribute:missing “target” attribute for entity-kind “entity” (declared at
line xxxx)
|
|
no_matching_target_attribute:no declared member function matches “target” attributes for
entity-kind “entity”
|
|
invalid_base_for_ms_attributes:Microsoft attributes in this location are only permitted for
interface types
|
|
resolver_routine_required:GNU function multiversion resolver routine required
|
|
enum_in_managed_class_missing_definition:an enum type declared in a managed class must include a definition
|
|
decltype_qualified_declared_name:a decltype-qualified name is nonstandard in this declaration context
|
|
final_modifier_requires_virtual_function:nonvirtual function cannot be declared with “final” modifier
|
|
target_on_special_function:“target” attribute on special function is not supported
|
|
target_string_must_be_narrow:must be a narrow string literal
|
|
target_unmatched_parens:unmatched parentheses
|
|
gcc_pragma_nothing_to_pop:no corresponding “push_options”
|
|
pragma_inside_function:this pragma is not allowed inside a function
|
|
inline_new_or_delete_operator:declaring a new or delete operator “inline” is nonstandard
|
|
pack_expansion_for_field_mem_init:a mem-initializer for a data member cannot be a pack expansion
|
|
generic_lambda_cannot_capture:generic lambda expressions cannot have capture defaults in this mode
|
|
friend_with_def_arg_must_be_definition:a default template argument in a friend declaration may only be
specified in a definition
|
|
friend_with_def_arg_must_be_only_decl:a friend template declaration with a default template argument must
be the only declaration (first declared at line xxxx)
|
|
non_autonomous_opaque_enum_decl:an opaque enum declaration cannot be part of another declaration
|
|
nonstd_opaque_enum_decl_in_type_id:an opaque enum declaration is nonstandard in this context
|
|
extended_friends_is_cpp11:extended friend syntax is a C++11 feature
|
|
digit_separators_not_enabled:digit separators not enabled, apostrophe begins a character literal
|
|
bad_digit_separator_pos:digit separator cannot appear here
|
|
constexpr_ignored_on_microsoft_nonstatic_member:“constexpr” is ignored here in Microsoft mode
|
|
bad_gnu_stmt_return:invalid expression for statement expression result
|
|
macro_not_udl_suffix:identifier is a macro and not a literal suffix
|
|
cannot_call_named_member_on_lvalue:entity-kind “entity” (declared at line xxxx) cannot be called
on an lvalue
|
|
cannot_call_named_member_on_rvalue:entity-kind “entity” (declared at line xxxx) cannot be called
on an rvalue
|
|
cannot_call_member_on_lvalue:member function cannot be called on an lvalue
|
|
cannot_call_member_on_rvalue:member function cannot be called on an rvalue
|
|
templ_param_list_too_long:the template parameter list is too long
|
|
bad_alias_templ_redecl:alias template type “type” is incompatible with the previous type
of “type” in the redeclaration of entity-kind “entity”(declared at line xxxx)
|
|
field_initializer_is_not_constant:the field initializer for entity-kind “entity” (declared at line
xxxx) is not a constant expression
|
|
constraint_number_mismatch:the number of operand constraints must be the same in each constraint
string
|
|
too_many_constraints:the constraint string contains too many alternative constraints; not
all constraints were checked
|
|
decltype_auto_cannot_be_qualified:decltype(auto) cannot have added type qualifiers
|
|
bad_init_capture_capture:init-capture “entity” (declared at line xxxx) cannot be
captured here
|
|
invalid_nontype_template_argument:invalid nontype template argument of type “type”
|
|
abi_tag_ignored_in_C_mode:the abi_tag attribute is ignored (it has no meaning in C mode)
|
|
abi_tag_redefinition:redeclaration adds abi_tag attribute “xxxx“
|
|
abi_tag_ignored:abi_tag attribute is ignored (superseded by later abi_tag attribute)
|
|
no_abi_tag_on_declaration:previous declaration of entity-kind “entity” (declared at line
xxxx) had no abi_tag attribute
|
|
abi_tag_ignored_on_specialization:abi_tag attribute is ignored on specialization
|
|
decltype_auto_return_must_be_standalone:decltype(auto) cannot appear under a pointer, reference, or
pointer-to-member construct
|
|
exp_class_or_typename:expected “class” or “typename”
|
|
placement_new_refers_to_non_placement_delete:placement “new” expression refers to non-placement entity-kind
“entity” (declared at line xxxx)
|
|
cl_must_specify_cpp14_mode:must specify C++14 mode when building runtime library
|
|
constexpr_not_const:constexpr non-static member function will not be implicitly ‘const’
in C++14
|
|
nonliteral_var_in_constexpr_function:variable type “type” in constexpr function is not a literal type
|
|
nonautomatic_var_in_constexpr_function:variable in constexpr function does not have automatic storage
duration
|
|
uninitialized_var_in_constexpr_function:variable in constexpr function is uninitialized
|
|
auto_direct_list_init_requires_singleton:braced initialization of a variable declared with a placeholder type
but without “=” requires exactly one element inside the braces
|
|
cl_invalid_target:no “xxxx“ –target configuration exists
|
|
attribute_not_supported_in_x86_64:attribute is supported only in 32-bit x86 configurations
|
|
cl_missing_argument:“xxxx“ requires an argument
|
|
special_member_coroutine:a constructor or destructor cannot be a coroutine
|
|
main_coroutine:entity-kind “entity” cannot be a coroutine
|
|
yield_in_catch:co_yield expressions are not permitted in a catch clause
|
|
special_class_template_not_found:class template “xxxx” not found
|
|
typename_needed:use the “typename” keyword to treat entity-kind “entity” as a
type in a dependent context
|
|
shufflevector_index_out_of_range:argument value must be less than the sum of the vector elements
|
|
not_a_type_member:“type” has no member “xxxx”
|
|
braced_list_for_implicit_return_type:a brace-enclosed list does not provide a return type
|
|
await_not_allowed_outside_function_scope:a co_await expression must appear in a function scope
|
|
await_not_allowed_in_catch_clause:a co_await expression is not allowed inside a catch clause
|
|
coroutine_with_ellipsis_parameter:a coroutine cannot have an ellipsis parameter
|
|
cl_relaxed_constexpr_requires_bool:enabling C++14-style constexpr requires support for “bool”
|
|
constexpr_function_undefined:constexpr entity-kind “entity” (declared at line xxxx) is not
defined
|
|
constexpr_call_not_interpretable:this call cannot be evaluated because the target function
entity-kind “entity” (declared at line xxxx) is not constexpr
or not completely defined yet
|
|
anon_union_alias_member_template:invalid anonymous union – alias member template is not allowed
|
|
utf8_char_lit_too_long:a UTF-8 character literal value cannot occupy more than one code unit
|
|
variable_not_constant_valued:the value of entity-kind “entity” (declared at line xxxx)
cannot be used as a constant
|
|
variable_not_constant_addressed:a pointer or reference to entity-kind “entity” (declared at line
xxxx) cannot be used as a constant
|
|
constexpr_non_array_subscript:nonzero subscript for non-array object
|
|
constexpr_out_of_bounds_array_access:cannot access position n in array of n elements
|
|
constexpr_called_from:called from:
|
|
constexpr_union_field_inactive:invalid access to inactive entity-kind “entity” of union
(entity-kind “entity” is active)
|
|
constexpr_goto:‘goto’ cannot be executed in constexpr contexts
|
|
constexpr_missing_return_value:missing return value
|
|
constexpr_null_callee:callee is null
|
|
constexpr_null_dereference:attempt to dereference a null pointer
|
|
constexpr_access_one_past_array_end:attempt to access storage one position past the end of an array of
n elements
|
|
constexpr_access_to_expired_storage:attempt to access expired storage
|
|
constexpr_access_to_runtime_storage:attempt to access run-time storage
|
|
constexpr_call_to_nonconstexpr_function:cannot call non-constexpr entity-kind “entity” (declared at line
xxxx)
|
|
constexpr_vla:cannot use variable-length array during constexpr evaluation
|
|
constexpr_negative_shift:cannot perform a negative shift
|
|
constexpr_shift_excess:shift amount (n) too large
|
|
constexpr_integer_overflow:value exceeds range of “type”
|
|
constexpr_fp_error:floating-point error
|
|
constexpr_null_ptr_to_member_data:attempt to dereference a null pointer-to-member (data member)
|
|
comparison_of_pointers_to_void_and_function:comparing a pointer to void and a pointer to a function is nonstandard
|
|
ms_metadata_init_failed:metadata initialization failed
|
|
constexpr_bad_derived_class_cast:invalid base-to-derived cast (actual derived class type is “type”)
|
|
constexpr_invalid_pm_access:invalid access to entity-kind “entity” in object of complete type
“type”
|
|
bad_gnu_auto_type:“xxxx” not allowed here
|
|
gnu_auto_type_with_secondary_declarator:“xxxx” does not permit multiple declarators
|
|
auto_type_brace_initialization_not_allowed:initialization with “{…}” is not allowed for “xxxx”
|
|
modified_auto_type:“xxxx” must be a placeholder for the complete type of the
variable (not for a component of that type)
|
|
gnu_auto_type_without_initializer:a variable declared with “xxxx” requires an initializer
|
|
constant_must_be_positive:integer constant must be greater than or equal to zero
|
|
type_must_be_integral:type must be an integral type
|
|
constexpr_expression_cannot_be_interpreted:expression cannot be interpreted
|
|
constexpr_statement_cannot_be_interpreted:statement cannot be interpreted
|
|
constexpr_interpreter_address:invalid use of address of interpreter storage
|
|
constexpr_invalid_constant_kind:invalid constant kind for constant-expression
|
|
constexpr_type_too_large:type “type” too large for constant-expression evaluation
|
|
constexpr_type_invalid:invalid type “type” for constant-expression evaluation
|
|
constexpr_invalid_type_conversion:conversion from “type” to “type” is invalid in
constant-expression evaluation
|
|
constexpr_fp_conversion_failed:floating-point conversion failed
|
|
deduced_return_types_is_cpp14:deduced return types are a C++14 feature
|
|
constexpr_ctor_with_dtor:cannot evaluate a constructor with an associated destructor
|
|
constexpr_missing_initializer_for_field:entity-kind “entity” not initialized during constexpr evaluation
|
|
constexpr_invalid_pdiff:invalid pointer difference in constexpr evaluation
|
|
constexpr_non_array_pointer_arithmetic:invalid arithmetic on non-array pointer
|
|
constexpr_pointer_ahead_of_array:cannot set pointer before the first array element
|
|
coroutine_with_deduced_return_type:a coroutine with a deduced return type is invalid
|
|
await_in_unevaluated_operand:expression not allowed in unevaluated context
|
|
return_in_coroutine:“return” is not permitted in a coroutine (use “co_return” instead)
|
|
invalid_co_return:“co_return” is only allowed in coroutines
|
|
constexpr_fp_values_not_comparable:floating-point values cannot be compared
|
|
constexpr_pointers_not_comparable:pointer values cannot be compared because they do not point into the
same complete object or they point to subobjects with different
accessibility
|
|
ignoring_attribute_on_non_inline_namespace:ignoring abi_tag attribute on non-inline namespace
|
|
ignoring_attribute_on_anonymous_namespace:ignoring abi_tag attribute on anonymous namespace
|
|
complex_template_parameter:complex or imaginary template parameter type is nonstandard
|
|
yield_outside_of_function:co_yield expression is not permitted outside a function scope
|
|
thread_local_ignored:ignoring thread-local indication on anonymous union
|
|
object_not_initialized:access to uninitialized object
|
|
constexpr_volatile_fetch:attempt to read from volatile storage
|
|
constexpr_no_active_union_field:invalid access to inactive entity-kind “entity” of union (no
field is active)
|
|
label_in_constexpr_function:label definitions cannot appear in constexpr functions
|
|
constexpr_equality_past_the_end_address:cannot compare a pointer past the end of an array with a pointer to
another complete object
|
|
variable_templ_function_type:function type “type” is an invalid type for a variable template
instantiation
|
|
incomplete_var_type:variable cannot have incomplete type “type”
|
|
field_subobject_not_initialized:access to uninitialized subobject (entity-kind “entity”)
|
|
base_subobject_not_initialized:access to uninitialized subobject (base class “type”)
|
|
constexpr_vacuous_dtor_call:a pseudo-destructor call is not permitted in a constant-expression
|
|
constexpr_modifying_const_storage:attempt to modify const storage
|
|
constexpr_access_past_object:attempt to access storage one position past an object treated as an
array of one element
|
|
constexpr_reinterpret_cast:cannot use reinterpret_cast in constant-expression evaluation
|
|
constexpr_invalid_null_ptr_operation:operation not allowed on null pointer
|
|
star_this_not_constant_valued:the value of *this cannot be used as a constant
|
|
inline_on_nested_namespace:the “inline” keyword cannot be used on a nested namespace declaration
|
|
carries_dependency_ignored:the “carries_dependency” attribute is ignored
|
|
event_interface_cannot_have_definition:an “__event __interface” cannot have a definition here
|
|
invalid_event_handler_type:an event handler must have a void or integral return type
|
|
event_interface_must_be_previously_defined:an “__event __interface” must have been previously defined
|
|
too_many_template_arguments:too many template arguments for entity-kind “entity”
|
|
enumerator_already_declared:enumerator already declared (see entity-kind “entity” (declared
at line xxxx))
|
|
microsoft_version_doesnt_support_cpp14_mode:the version of Microsoft being emulated must be at least 1903 to use
“–ms_c++14”
|
|
microsoft_version_doesnt_support_cpplatest_mode:the version of Microsoft being emulated must be at least 1903 to use
“–ms_c++latest”
|
|
c11_atomic_array_or_function_type:type “type” cannot be _Atomic because it is an array or function
type
|
|
c11_atomic_specifier_with_qualified_type:the _Atomic(…) specifier cannot be applied to qualified type
“type”
|
|
access_to_member_of_c11_atomic_object:access to member of _Atomic object
|
|
c11_atomic_bit_field:a bit field cannot have an _Atomic type
|
|
nonconstexpr_mem_init_ctor_for_constexpr_ctor:constexpr constructor calls non-constexpr constructor for subobject
initialization
|
|
terse_static_assert_not_enabled:expected a comma (the one-argument version of static_assert is not
enabled in this mode)
|
|
terse_static_assert:static assertion failed
|
|
conflicting_nullability:at most one of the qualifiers _Nullable, _Nonnull, and
_Null_unspecified can modify a type
|
|
invalid_type_for_nullability:nullability qualifiers are only permitted on pointer and
pointer-to-member types
|
|
vector_length_too_large:vector length is too large
|
|
invalid_vector_element_type:vector element type must be integral, enum, or real floating-point
type
|
|
builtin_needs_128_bit_integers:builtin function is not available because 128-bit integers are not
supported
|
|
builtin_needs_vector_types:builtin function is not available because vector types are not
supported
|
|
must_introduce_attribute:two consecutive left square brackets always introduce an attribute
list but an attribute list cannot appear here
|
|
invalid_target_attribute:unrecognized “target” attribute disqualifies this routine from being
used by resolver routine
|
|
vector_type_required:“type” is not a vector type
|
|
vector_types_differ_in_length:vector types “type” and “type” must have the same length
|
|
member_special_after_class_definition:added default arguments cannot result in declaring a default or copy
constructor
|
|
template_arg_cannot_point_to_subobject:a nontype template argument of reference type must bind to a function
or to a complete object
|
|
type_not_allowed_here:“type” not allowed here
|
|
register_keyword_disallowed:use of the “register” storage class specifier is not allowed
|
|
register_keyword_deprecated:use of the “register” storage class specifier is deprecated
|
|
incr_of_bool_not_allowed:incrementing a bool value is not allowed
|
|
redeclaration_of_range_iterator:“xxxx”, declared as iterator of range-based “for” statement, may
not be redeclared in this scope
|
|
namespace_not_allowed:an attribute namespace may not be used here (because a “using” prefix
was specified)
|
|
attribute_namespace_unrecognized:attribute namespace “xxxx” is unrecognized
|
|
default_member_init_for_value_class:a default member initializer is not permitted in a value class
|
|
cl_implicit_noexcept_requires_noexcept_support:“–implicit_noexcept” requires a mode that enables noexcept
|
|
constexpr_virtual_base:cannot fold operation involving virtual base class (“type”)
|
|
initializer_not_constant:initialization is not constant
|
|
constexpr_incomplete_type:cannot evaluate value of incomplete “type”
|
|
nodiscard_routine:ignoring return value from routine declared with “nodiscard” attribute
|
|
nodiscard_return_type:ignoring return value type with “nodiscard” attribute
|
|
nodiscard_doesnt_apply:the “nodiscard” attribute does not apply to destructors or routines
with void return type
|
|
fallthrough_applies_to_null_statement:the “fallthrough” attribute only applies to null statements
|
|
fallthrough_not_in_switch:the “fallthrough” attribute may only appear in an enclosing switch
statement
|
|
fallthrough_must_precede_switch_case:fallthrough statement must precede switch case label or default
|
|
constexpr_expiring_temporary:reference or pointer to temporary with limited lifetime
|
|
address_of_nontrue_enable_if_function:cannot take the address of a function with an “enable_if” attribute
whose condition is not unconditionally true
|
|
nonconstant_enable_if_attr:“enable_if” attributes with conditions that are not constant values
are not currently supported
|
|
attribute_declared_here:attribute was declared here
|
|
has_include_not_in_if:__has_include cannot appear outside #if
|
|
coclass_base_requirements_not_met:could not add CComCoClass base class
|
|
constexpr_string_not_null_terminated:not a null-terminated string
|
|
non_scalar_vacuous_dtor_call:non-scalar type “type” cannot be used in a pseudo-destructor call
|
|
constexpr_weak_address:address of “weak” entity-kind “entity” is not constant
|
|
excessive_rescan_depth:too many recursive substitutions of function template signatures
|
|
invalid_struct_binding_specifier:invalid specifier for structured binding declaration
|
|
invalid_struct_binding_syntax:invalid structured binding syntax
|
|
missing_initializer:missing initializer
|
|
invalid_struct_binding_type:type “type” has no components to bind to
|
|
too_many_struct_bindings:too many identifiers
|
|
missing_bindings:there are more elements than there are binding names
|
|
missing_std_tuple_element:“std::tuple_element” not defined
|
|
missing_std_tuple_element_instance:cannot instantiate “std::tuple_element” for <xxxx, “type”>
|
|
failed_tuple_container_member_get:cannot call member function “get<xxxx>()” for type “type”
|
|
tuple_get_no_matching_overload:no instance of “entity” matches the argument list
|
|
struct_binding_undefined_identifier:this structured binding requires a suitable “xxxx” function and
none was found
|
|
struct_binding_inline:a structured binding cannot be declared “inline”
|
|
struct_binding_constexpr:a structured binding cannot be declared “constexpr”
|
|
struct_binding_storage_class:a structured binding cannot declare an explicit storage class
|
|
invalid_tuple_size:std::tuple_size<”type”>::value is not a valid integral
constant-expression
|
|
condition_does_not_declare_a_variable:a condition declaration must declare a variable
|
|
condition_decl_must_have_initializer:a condition declaration must include an initializer
|
|
parenthesized_init_not_allowed:a parenthesized initializer is not permitted for a condition
declaration
|
|
condition_with_multiple_declarators:a condition declaration can only declare one variable
|
|
struct_binding_lambda:structured binding cannot bind to closure type
|
|
struct_binding_private_member:cannot bind to non-public entity-kind “entity”
|
|
struct_binding_incomplete_type:cannot bind to incomplete type “type”
|
|
invalid_init_statement:this declaration is not valid here
|
|
constexpr_function_with_function_try_block:the body of a constexpr function cannot be a function try block
|
|
branch_into_constexpr_if:transfer of control into a constexpr if block is not allowed
|
|
lambda_capture_structured_binding:structured binding cannot be captured
|
|
microsoft_version_doesnt_support_cpp17_mode:the version of Microsoft being emulated must be at least 1911 to use
“–ms_c++17”
|
|
attempt_to_read_past_end_of_object:attempt to read past the end of the object
|
|
constexpr_lambdas_not_enabled:constexpr lambdas are not enabled in this mode
|
|
lambda_not_constant_expr:a constant expression cannot contain a lambda expression
|
|
template_argument_index_out_of_bounds:value exceeds number of template arguments
|
|
fold_expression_operator_mismatch:second operator in binary fold expression does not match first
|
|
invalid_fold_expression_operator:invalid fold expression operator
|
|
two_packs_in_fold_expression:a binary fold expression cannot apply to two parameter packs
|
|
invalid_empty_fold_expression:empty expansion not valid for this fold expression
|
|
inline_nonstatic_data_mem:a nonstatic data member cannot be declared as inline
|
|
no_pack_in_fold_expression:fold expression does not refer to a parameter pack
|
|
same_param_types_with_different_exception_specifications:two functions with the same parameter types but different exception
specifications cannot be overloaded
|
|
dynamic_exc_spec_not_permitted:dynamic exception specifications are not permitted in this mode
|
|
invalid_noexcept_specifier_operand:invalid operand for noexcept specifier
|
|
lambda_in_noexcept_specifier:lambda expression cannot appear in noexcept specifier of a template
|
|
inaccessible_rvalue_dtor:entity-kind “entity” (declared at line xxxx) is inaccessible
|
|
bad_enum_template_decl:invalid specifier in enum template declaration
|
|
no_float80:80-bit floating-point types are not supported in this configuration
|
|
no_float128:128-bit floating-point types are not supported in this configuration
|
|
invalid_enumerator_value:invalid enumerator value
|
|
must_be_atomic_qualified_type:must be an _Atomic qualified type
|
|
element_type_incomplete:type of array element must be complete
|
|
always_inline_suppressed:the always_inline attribute has been suppressed for this function
|
|
negative_value:a negative value is not permitted here
|
|
integer_pack_element_for_type:an integer pack element cannot match entity-kind “entity”
|
|
integer_pack_element_for_template:an integer pack element cannot match entity-kind “entity”
|
|
unexpected_designator:unexpected designator
|
|
cannot_evaluate_builtin_offsetof:cannot evaluate __builtin_offsetof
|
|
deduction_guide_def:deduction guide “type” cannot be defined
|
|
bad_deduction_guide_scope:deduction guide must be declared in the same scope as entity-kind
“entity”
|
|
invalid_specifier_for_deduction_guide:invalid specifier for deduction guide declaration (only “explicit” is
permitted)
|
|
constexpr_mutable_field_load:mutable entity-kind “entity” of a constant cannot be accessed in
a constant expression
|
|
member_function_modifier_on_static_member:function modifier does not apply to static member declaration
|
|
overloadable_attribute_requires_prototype:the “overloadable” attribute requires a prototyped function
declaration
|
|
cannot_deduce_auto_templ_param:cannot deduce “auto” template parameter type “type” from
“type”
|
|
modified_class_template_placeholder:class template name must be a placeholder for the complete type being
initialized (not for a component of that type)
|
|
alias_declaration_is_cpp11:alias declarations are a C++11 feature
|
|
alias_template_is_cpp11:alias templates are a C++11 feature
|
|
bad_deduction_guide_return_type:the return type must directly designate a specialization of the
associated class template
|
|
explicit_deduction_guide_in_copy_list_init:copy-list-initialization cannot use “explicit” entity-kind
“entity”
|
|
invalid_udl_value:Invalid value for user-defined literal operator
|
|
has_cpp_attrib_not_in_if:xxxx cannot appear outside of preprocessor directives
|
|
bad_deduction_guide_access:deduction guide must be declared with the same accessibility as
entity-kind “entity”
|
|
lambda_not_allowed_here:a lambda is not permitted in this context
|
|
align_not_equivalent:specified alignment is not equivalent to previous declaration
|
|
no_alignment_on_definition:no alignment specified on definition; previous declaration had
specified an alignment
|
|
builtin_needs_128_bit_floats:builtin function is not available because 128-bit floating-point
types are not supported
|
|
constexpr_shift_negative_value:left-shifting a negative value has undefined behavior
|
|
no_array_designators_in_cpp_mode:array designators are nonstandard in C++
|
|
no_chained_designators_in_cpp_mode:chained designators are nonstandard in C++
|
|
no_mixed_init_in_cpp_mode:mixing designated and non-designated initializers is nonstandard in
C++
|
|
no_out_of_order_init_in_cpp_mode:out-of-order initializers are nonstandard in C++
|
|
invalid_string_literal_operator_template:a string literal operator template must have a template parameter
list equivalent to “<typename T, T …>”
|
|
duplicate_designator:duplicate designator is not allowed
|
|
likely_unlikely_conflict:attribute conflicts with previous likely/unlikely attribute
|
|
implicit_copy_this_capture_deprecated:the implicit by-copy capture of “this” is deprecated
|
|
empty_lambda_template_param_list:an empty template parameter list is not allowed in a lambda expression
|
|
microsoft_version_doesnt_support_cpp20_mode:the version of Microsoft being emulated must be at least 1920 to use
“–ms_c++20”
|
|
bad_stdc_pragma_arg_for_mode:STDC pragma argument not accepted in this mode
|
|
if_constexpr_is_cpp17:constexpr if statements are a C++17 feature
|
|
no_pack_expansion_in_designator:pack expansion is not allowed in a designated initializer list
|
|
no_designator_value:field designator has no value
|
|
multiple_union_field_initializers_empty:a union can have at most one field initializer
|
|
bad_ordering_type:no valid std::xxxx type found (<compare> must be included)
|
|
invalid_spaceship_types:invalid types (“type” and “type”) for built-in operator<=>
|
|
fold_expressions_nonstandard:fold expressions are nonstandard in this mode
|
|
selection_initializer_nonstandard:C++17-style initializer is nonstandard in this mode
|
|
star_this_capture_nonstandard:capturing *this is nonstandard in this mode
|
|
using_attribute_nonstandard:C++17-style “using” attribute prefix is nonstandard in this mode
|
|
nested_namespace_nonstandard:C++17-style nested namespaces are nonstandard in this mode
|
|
constexpr_and_consteval_specifiers:only one of “constexpr”, “consteval”, and “constinit” can appear on a
declaration
|
|
consteval_virtual_combination:a function cannot be both consteval and virtual in this mode
|
|
consteval_explicit_instantiation:“consteval” is not allowed on an explicit instantiation directive
|
|
invalid_consteval:“consteval” is not valid here
|
|
consteval_destructor:a destructor cannot be consteval
|
|
consteval_ctor_with_virtual_base:a constructor for a class with virtual bases cannot be consteval
|
|
consteval_variable:“consteval” is not permitted on the declaration of a variable or
static data member
|
|
previous_consteval_decl_conflict:entity-kind “entity” (declared at line xxxx) was previously
declared consteval
|
|
previous_nonconsteval_decl_conflict:entity-kind “entity” (declared at line xxxx) was previously
not declared consteval
|
|
consteval_main:function “main” may not be declared consteval
|
|
consteval_call_nonconstant:call to consteval entity-kind “entity” did not produce a valid
constant expression
|
|
address_of_consteval_function:address of consteval entity-kind “entity” in constant expression
result
|
|
consteval_overrides_nonconsteval:consteval member cannot override non-consteval entity-kind
“entity”
|
|
nonconsteval_overrides_consteval:non-consteval member cannot override consteval entity-kind
“entity”
|
|
constexpr_invalid_dynamic_cast:dynamic_cast to subobject of type “type” is invalid (most-derived
type is “type”)
|
|
VA_OPT_not_allowed:the identifier __VA_OPT__ can only appear in the replacement lists
of variadic macros
|
|
nested_VA_OPT:__VA_OPT__ cannot appear in a __VA_OPT__ operand
|
|
unclosed_VA_OPT:missing closing parenthesis for __VA_OPT__
|
|
missing_VA_OPT_paren:__VA_OPT__ must be followed by “(”
|
|
paste_cannot_be_first_in_VA_OPT:“##” may not be first in a __VA_OPT__ operand
|
|
paste_cannot_be_last_in_VA_OPT:“##” may not be last in a __VA_OPT__ operand
|
|
nested_inline_namespace_nonstandard:C++20-style nested inline namespaces are nonstandard in this mode
|
|
derived_class_too_far:cannot convert pointer to base class “type” to pointer to derived
class “type” – attempt to point beyond the most-derived object
|
|
invalid_variable_main:“main” cannot be used as a global variable name or given C language
linkage
|
|
linkage_main:function “main” cannot be declared in a linkage-specification
|
|
struct_binding_in_condition:structured binding is not allowed in a condition
|
|
missing_attr_namespace:an attribute namespace identifier is required before “::”
|
|
multiple_attr_namespaces:only one attribute namespace is allowed
|
|
bad_return:“return” not allowed here
|
|
struct_binding_with_multiple_declarators:a structured binding cannot be combined with other declarators
|
|
branch_out_of_constant:cannot branch out of a constant-evaluation context
|
|
struct_binding_template:structured binding templates are not permitted
|
|
braced_init_in_parens:a parenthesized initializer must be an expression, not a
brace-enclosed list
|
|
cannot_deduce_class_template_arguments:cannot deduce class template arguments
|
|
consteval_new_or_delete_operator:a new or delete operator cannot be declared “consteval”
|
|
address_of_consteval_function_leaked:the address of a consteval function cannot be used here
|
|
alignof_function_type:the alignment of a function type (“type”) is nonstandard
|
|
alignof_incomplete_array:the alignment of an array of unspecified bound is nonstandard in C
|
|
cannot_be_common_internal_linkage:a variable cannot have both “common” and “internal_linkage” attributes
|
|
internal_linkage_not_on_prior_declaration:the “internal_linkage” attribute did not appear on a prior declaration
|
|
no_class_template_guide:no viable template argument deduction candidate found for
entity-kind “entity”
|
|
fully_qualified_constructor_call:a fully qualified constructor call is not allowed
|
|
bad_scope_for_defaulted_comparison:a defaulted comparison operator must be a member or a friend of the
class it applies to
|
|
bad_param_type_for_defaulted_comparison:bad type “type” for parameter of defaulted comparison operator
(must be “reference to const X” where X is the enclosing class type)
|
|
return_type_of_default_comparison_must_be_bool:return type of defaulted comparison operator must be “bool”
|
|
nonconst_defaulted_member_comparison:a defaulted member comparison operator must be “const”
|
|
no_return_value_and_return_void:a coroutine’s promise type “type” cannot have both “return_void”
and “return_value” set
|
|
return_value_at:“return_value” declared at line xxxx
|
|
return_void_at:“return_void” declared at line xxxx
|
|
implicit_co_return_with_no_return_void:missing co_return statement while “type” has no “return_void” at
end of entity-kind “entity”
|
|
no_nothrow_global_new_for_coroutine:no nothrow variant of the global “operator new” found for coroutine
state allocation
|
|
no_viable_delete_for_coroutine:no viable “operator delete” found for coroutine state deallocation
|
|
no_constexpr_coroutine:a constexpr function cannot be a coroutine
|
|
await_operand_not_a_class:the operand to this xxxx expression resolves to non-class
“type”
|
|
await_not_allowed_in_static_initializer:a co_await expression is not allowed in a static initializer
|
|
final_suspend_cannot_throw:the co_await expression calling entity-kind “entity” must be
non-throwing
|
|
excessive_comparison_rewrites:too many recursive comparison rewrite operations
|
|
invalid_placeholder_for_defaulted_spaceship_return:a deducible return type for a default operator<=> must be “auto”
|
|
constexpr_implied_source_nonconstant:implicit copy of non-constant source
|
|
struct_binding_restricted_storage_class:a structured binding cannot declare an explicit storage class other
than static or thread_local
|
|
defaulted_comparison_for_property:defaulted comparison operators are not supported for nontrivial
Microsoft property fields
|
|
invalid_std_comparison_type:standard comparison type (“type”) must be a class type with a
single nonstatic data member of integral type
|
|
invalid_std_comparison_value:no constexpr static data member “xxxx” found in “type”
|
|
constexpr_alloc_too_large:number of elements (n) too large for dynamic allocation
|
|
constexpr_allocation_too_large:constexpr dynamic allocation request too large
|
|
constexpr_bad_deallocation:deallocation of storage that was not dynamically allocated
|
|
constexpr_bad_deallocation_size:deallocation size (n) does not correspond to size allocated
(n)
|
|
constexpr_allocation_pos:allocation occurred here
|
|
constexpr_bad_deallocation_type:deallocation type (“type”) does not correspond to allocation type
(“type”)
|
|
constexpr_leftover_allocations:some dynamic allocations (total number = n) were not deallocated
|
|
constexpr_invalid_intrinsic_signature:intrinsic entity-kind “entity” declared with unexpected signature
(type “type”)
|
|
constexpr_begin_report:>> output from std::__report_constexpr_value
|
|
constexpr_end_report:>> end output from std::__report_constexpr_value
|
|
constexpr_dependent_array_size:cannot use array with dependent array size in constexpr evaluation
|
|
nodiscard_routine_with_reason:ignoring return value from routine declared with “nodiscard”
attribute (“xxxx”)
|
|
nodiscard_return_type_with_reason:ignoring return value type with “nodiscard” attribute (“xxxx”)
|
|
nodiscard_constructor:constructor used to create discarded object has “nodiscard” attribute
|
|
nodiscard_constructor_with_reason:constructor used to create discarded object has “nodiscard” attribute
(“xxxx”)
|
|
nodiscard_object_type:type of discarded object has “nodiscard” attribute
|
|
nodiscard_object_type_with_reason:type of discarded object has “nodiscard” attribute (“xxxx”)
|
|
vacuous_destructor_not_called:a pseudo-destructor reference can only be used for a
pseudo-destructor call
|
|
constexpr_explicit_dtor_call:an explicit destructor call is not permitted in a constant-expression
|
|
comma_operator_in_array_subscript_deprecated:an unparenthesized comma operator in an array subscript expression is
deprecated
|
|
constexpr_alloc_too_small:number of dynamically-allocated elements (n) too small for
initializer
|
|
volatile_ass_deprecated:use of the result of an assignment to a volatile scalar object is
deprecated
|
|
volatile_op_ass_deprecated:a volatile destination type for a compound assignment expression is
deprecated
|
|
volatile_func_param_deprecated:a volatile function parameter is deprecated
|
|
volatile_return_type_deprecated:a volatile return type is deprecated
|
|
volatile_str_bind_deprecated:use of a volatile qualifier on a structured binding is deprecated
|
|
ext_vector_type_invalid_size:the “ext_vector_type” argument must be between 1 and 2047
|
|
ext_vector_type_not_in_typedef:the “ext_vector_type” attribute may appear only in a typedef
|
|
ext_vector_type_requires_integral_floating_type:the “ext_vector_type” attribute applies only to integer or
floating-point types
|
|
feature_test_macro_ignored:this feature-test macro is ignored (and returns 0) in the current
compilation mode
|
|
constexpr_multiple_union_initializers:cannot evaluate an aggregate initializer with multiple elements for a
union
|
|
cmp_operator_does_not_return_bool:entity-kind “entity” (declared at line xxxx) selected for
operator rewrite does not return type bool
|
|
constexpr_class_specific_new:a new-expression calling a class-specific allocation function cannot
be constant-evaluated
|
|
constexpr_placement_new:a placement new-expression cannot be constant-evaluated
|
|
constexpr_nonvirtual_subobject_delete:deleting through a subobject pointer requires a virtual destructor
|
|
invalid_intaddr_address:operand of __INTADDR__ must be offset from null pointer
|
|
ambiguous_c11_generic:_Generic construct matches multiple types
|
|
ambiguous_c11_generic_previous_match:the other match is “type”
|
|
availability_attribute_ignored:the “availability” attribute used here is ignored
|
|
init_stmt_in_range_for_nonstandard:C++20-style initializer statement in a range-based “for” statement is
nonstandard in this mode
|
|
co_await_on_non_range_based_for:co_await can only apply to a range-based “for” statement
|
|
cannot_deduce_type_in_range_based_for:cannot deduce type of range in range-based “for” statement
|
|
inline_variables_nonstandard:inline variables are a C++17 feature
|
|
destroying_delete_wrong_type:destroying operator delete requires “type” as first parameter
|
|
destroying_delete_with_extra_params:a destroying operator delete cannot have parameters other than
std::size_t and std::align_val_t
|
|
cl_relaxed_abstract_checking_only_in_cplusplus:relaxed abstract class options can be used only when compiling C++
|
|
invalid_start_of_requires_clause_expr:invalid start of expression in requires clause
|
|
cast_in_requires_clause:a cast expression in a requires-clause must be parenthesized
|
|
invalid_operator_in_requires_clause:this operator cannot appear at the top level (without parentheses) in
a requires-clause
|
|
nonbool_atomic_constraint:atomic constraint must have type bool
|
|
atomic_constraint_substitution_failed:atomic constraint failed substitution
|
|
atomic_constraint_evaluation_failed:atomic constraint not constant
|
|
atomic_constraint_false:atomic constraint evaluates to false
|
|
template_constraint_not_satisfied:template constraint not satisfied
|
|
bad_scope_for_concept:concept definition cannot appear in this scope
|
|
invalid_concept_redecl:invalid redeclaration of entity-kind “entity” (declared at line
xxxx)
|
|
concept_arg_list_substitution_failed:substitution of arguments “<templ-args>” for concept-id failed
|
|
concept_failed:concept is false for arguments “<templ-args>”
|
|
trailing_requires_clause_not_on_template:a requires-clause is not allowed here (not a templated function)
|
|
requires_incompatible_with_previous_decl:requires-clause incompatible with entity-kind “entity” (declared
at line xxxx)
|
|
expected_an_attribute:expected an attribute
|
|
exp_type_name:expected a type name
|
|
requires_expr_ellipsis_param:an ellipsis parameter is not permitted in a requires-expression
|
|
unnamed_require_expr_param:unnamed parameter in requires-expression has no effect
|
|
exp_concept_name:expected a concept name
|
|
is_constant_evaluated_in_constant_expression:call to xxxx appearing in a constant expression always produces
“true”
|
|
is_constant_evaluated_in_consteval_context:call to xxxx appearing in a consteval context always produces
“true”
|
|
is_constant_evaluated_in_nonconstexpr_context:call to xxxx appearing in a non-constexpr function always
produces “false”
|
|
type_constraint_failed:type constraint failed for “type”
|
|
cl_export_template_option_incompatible_with_modules:option “export” cannot be used in modes where C++ modules are enabled
|
|
glb_mod_fgmt_decl_must_come_first:a global module fragment declaration must precede any other
declaration
|
|
module_decl_only_after_glb_mod:a module declaration can only be preceded by a global module fragment
|
|
pvt_mod_fgmt_only_after_module:a private module fragment must be preceded by a module declaration
|
|
cannot_export_fgmt:a xxxx module fragment cannot be exported
|
|
more_than_one_module_decl:cannot declare more than one module
|
|
more_than_one_fgmt_decl:cannot declare more than one xxxx module fragment
|
|
module_req_primary_name:a module must be declared with a non-empty name
|
|
header_not_importable:“xxxx” is not an importable header
|
|
cannot_import_module_with_no_name:cannot import a module with no name
|
|
module_cannot_depend_on_itself:a module cannot have an interface dependency on itself
|
|
module_already_imported:module “module name” has already been imported
|
|
module_file_not_found:could not find module file for module “xxxx”
|
|
cannot_import_module:could not import module file “xxxx”
|
|
unknown_ifc_partition:unknown partition name “xxxx”
|
|
types_must_have_same_size:the type of the second operand “type” must have the same size as
“type”
|
|
type_must_be_trivially_copyable:type must be trivially copyable
|
|
unsupported_type_for_bit_cast:type “type” is currently not supported for constexpr evaluation
of __builtin_bit_cast
|
|
bitfields_not_allowed:class types with bitfields “type” are not currently supported for
constexpr evaluation of __builtin_bit_cast
|
|
reference_type_not_allowed:non-static data member of reference type “type” prevents
constexpr evaluation of __builtin_bit_cast
|
|
volatile_type_not_allowed:a volatile type “type” prevents constexpr evaluation of
__builtin_bit_cast
|
|
invalid_bit_cast_type:a union, pointer, or pointer-to-member type “type” prevents
constexpr evaluation of __builtin_bit_cast
|
|
deleted_inh_def_constructor:the sub-object construction of “type” for inheriting constructors
cannot be performed – the associated constructor is deleted
|
|
promise_type_returns_return_void:entity-kind “entity” must return void
|
|
invalid_start_of_member_declaration:invalid start of member declaration
|
|
exp_auto:expected “auto”
|
|
operator_not_allowed_after_new:this operator is not allowed at this point; parenthesize the
preceding new-expression
|
|
invalid_use_of_concept:invalid use of concept
|
|
rvalue_defaulted_member_comparison:a defaulted member comparison operator cannot be “&&”-qualified
|
|
constexpr_comparison_calls_nonconstexpr_function:default constexpr comparison function calls non-constexpr function
entity-kind “entity” (declared at line xxxx)
|
|
invalid_constexpr_memcmp:constexpr memory comparison is only supported for integer or
array-of-integer objects
|
|
constraint_concept_template:a concept template cannot have associated constraints
|
|
export_not_allowed:“export” is not allowed
|
|
export_class_members:exporting individual class members is not allowed
|
|
export_must_introduce_name:an exported declaration must introduce a name
|
|
export_cannot_contain_export:an export declaration cannot contain an export declaration (previous
declaration at line xxxx)
|
|
export_cannot_contain_import:an export declaration cannot contain a module import declaration
|
|
export_only_in_modules:an export declaration can only appear in a module interface unit
|
|
export_internal_linkage:an export declaration cannot export a name with internal linkage
|
|
empty_requires_expression:a requires-expression must specify at least one requirement
|
|
invalid_constinit:“constinit” is not valid here
|
|
constinit_variable_storage:“constinit” is only valid for declarations of variables with static
or thread storage duration
|
|
constinit_variable_has_dynamic_init:constinit variable requires dynamic initialization
|
|
missing_constinit:variable was previously declared with “constinit” at line xxxx
|
|
use_of_non_prototype_func_declarator:use of non-prototype function declarator
|
|
cannot_be_const_qualified:argument cannot have a const-qualified type
|
|
ptr_to_mem_of_incomplete_class:a pointer-to-member of an incomplete type “type” is not allowed
|
|
pack_init_capture_not_enabled:pack expansion in init-capture not enabled in this mode
|
|
pack_init_capture_is_cpp20:pack expansion in init-capture is a C++20 feature
|
|
comparison_defaulted_in_class_must_be_first_decl:a comparison operator defaulted in a class definition must be the
first declaration of that comparison operator (entity-kind
“entity” (declared at line xxxx))
|
|
pack_init_capture_in_non_variadic_context:a pack expansion in an init-capture can be used only in a variadic
template
|
|
type_constraint_requires_type_concept:type constraint uses entity-kind “entity” (declared at line
xxxx) that is not a type concept (i.e., a concept template whose
first parameter is a type parameter)
|
|
placeholder_type_failed_constraint:the deduced placeholder type “type” failed the type constraint
|
|
ineligible_default_constructor:default constructor for “type” is not eligible
|
|
ambiguous_destructor_constraints:destructor for “type” is ambiguous because of unordered
constraints
|
|
failed_destructor_constraints:destructor for “type” is ineligible because of failed constraints
|
|
destructor_position:ambiguous destructor candidate
|
|
trailing_requires_on_virtual_func:a virtual function cannot have a trailing requires clause
|
|
function_ineligible:entity-kind “entity” (declared at line xxxx) does not satisfy
its constraints
|
|
bad_decltype_qualifier:result of decltype qualifier “type” is not a class or enumeration
|
|
cpp20_reversed_comparison_ambiguity:comparison is ambiguous in standard C++20 because the implied
comparison operator with reversed parameters is an equally good match
– this is usually caused by a missing “const” qualifier on the
comparison operator; see “entity” (declared at line xxxx)
|
|
invalid_concept_id:invalid concept-id
|
|
requires_clause_arg_list_substitution_failed:substitution of arguments “<templ-args>” for requires-clause
failed
|
|
ineligible_member_function:constraints for entity-kind “entity” (declared at line xxxx)
are not satisfied
|
|
var_with_virtual_bases_in_constexpr_function:variable type “type” in constexpr function has virtual base
classes
|
|
constexpr_object_with_virtual_base:a constant expression cannot allocate a virtual base subobject (for
type “type”)
|
|
template_parameter_has_nonstructural_class_type:a template parameter of class type must be of structural class type
|
|
utf8_lit_no_ulit:support for UTF-8 literals requires u-literal support.
|
|
duplicate_module_map:module file mapping for “xxxx“ specified more than once
|
|
duplicate_header_unit_map:header unit mapping for “xxxx“ specified more than once
|
|
missing_header_unit_map:no mapping specified for “xxxx“
|
|
cannot_find_header_for_import:cannot find header “xxxx“ to import
|
|
multiple_module_matches:more than one file in the module file list matches “xxxx“
|
|
module_file_mismatch:module file found for “xxxx“ is for a different module
|
|
module_read_error:unable to read module file
|
|
builtin_needs_char8_t:builtin function is not available because the char8_t type is not
supported with the current options
|
|
nonstandard_use_of_explicit_default_constructor:nonstandard use of explicit constructor “entity” (declared at
line xxxx) for default aggregate element initialization
|
|
constexpr_memcpy_operand_not_object:source or destination of memcpy-like intrinsic does not point to an
object
|
|
constexpr_memcpy_distinct_types:memcpy-like intrinsic attempts to copy representationally-distinct
types “type” and “type”
|
|
constexpr_memcpy_nontrivial_type:memcpy-like intrinsic attempts to copy nontrivially-copyable type
“type”
|
|
constexpr_memcpy_partial_object:memcpy-like intrinsic attempts to copy partial object
|
|
constexpr_memcpy_overflow:memcpy-like intrinsic attempts to copy past array boundary
|
|
constexpr_memcpy_overlap:memcpy-like intrinsic attempts to copy overlapping byte ranges (using
corresponding memmove operation instead)
|
|
nondefining_friend_requires_clause:a friend declaration with a trailing-requires-clause must be a
definition
|
|
type_not_scalar:expression must have arithmetic or pointer type but has type
“type”
|
|
type_not_arithmetic_or_enum_or_pointer:expression must have arithmetic, enum, or pointer type but has type
“type”
|
|
type_not_arithmetic_or_unscoped_enum_or_pointer:expression must have arithmetic, unscoped enum, or pointer type but
has type “type”
|
|
type_not_pointer:expression must have pointer type but it has type “type”
|
|
member_access_requires_pointer:operator -> or ->* applied to “type” instead of to a pointer type
|
|
cannot_interpret_target_bits:cannot interpret bit layout for this compilation target
|
|
ifc_no_corresponding_operator:no corresponding operator for IFC operator “xxxx”
|
|
ifc_no_corresponding_calling_conv:no corresponding calling convention for IFC calling convention
“xxxx”
|
|
module_file_contains_unsupported_constructs:module “module name” contains unsupported constructs
|
|
unhandled_ifc_construct:unsupported IFC construct: “xxxx”
|
|
is_signed_no_longer_a_keyword:__is_signed is no longer a keyword from this point
|
|
dim_not_const_unsigned_int:an array dimension must have a constant unsigned integer value
|
|
modules_not_enabled:modules are not enabled in this mode
|
|
import_name_not_allowed:“import” is not allowed in a module name
|
|
module_name_not_allowed:“module” is not allowed in a module name
|
|
not_an_enum_type:entity-kind “entity” is not an enum type
|
|
using_enum_conflicts:enumerator “entity” conflicts with entity-kind “entity”
|
|
using_enum_redecl:enumerator “entity” has already been declared in this scope at
line xxxx
|
|
empty_throw_specification_not_cpp20:the “throw()” specification is not part of C++20 and later
|
|
multiple_header_map_matches:more than entry in the header unit map matches “xxxx“
|
|
exp_push_pop:#pragma diagnostic must have either ‘push’ or ‘pop’ argument
|
|
no_corresponding_push:no ‘#pragma diagnostic push’ was found to match this ‘diagnostic pop’
|
|
macro_in_pp_directive:“xxxx” cannot be a macro when used in an import or module
directive
|
|
not_global_namespace:this directive can only appear in the global namespace scope
|
|
export_not_at_namespace_scope:an “export” declaration can appear only at global or namespace scope
|
|
identifier_not_keyword:“xxxx” is parsed as an identifier rather than a keyword because
the tokens that follow it do not match those of a preprocessor
directive
|
|
apparent_module_pp_directive:this appears to be the start of a preprocessor directive, but the
lack of a ‘;’ followed immediately by a newline prevents that
|
|
module_directive_in_macro:this appears to be a modules preprocessing directive, but such
directives cannot appear within a macro expansion
|
|
module_directive_in_if:a “module” directive cannot appear within the scope of conditional
inclusion (e.g., #if, #else, #elseif, etc.)
|
|
import_skipped:the import of “xxxx” has been skipped
|
|
bad_gro_on_alloc_fail:promise type “type” must declare
get_return_object_on_allocation_failure as a static member function
requiring no arguments
|
|
expl_spec_alias_template:an alias template cannot be explicitly specialized
|
|
matching_lbrace:to match this “{”
|
|
macro_invocation:in this macro invocation
|
|
call_with_unusable_argument_conversion:call requires an ambiguous argument conversion
|
|
named_module_source_conflict:declaration owned by module xxxx conflicts with entity-kind
“entity” (declared at line xxxx)
|
|
global_module_source_conflict:declaration owned by global module conflicts with entity-kind
“entity” (declared at line xxxx) owned by a named module
|
|
bad_malloc_attribute:the first argument to a “malloc” attribute must be a function
|
|
cannot_capture_var:cannot capture “entity” (declared at line xxxx)
|
|
cannot_capture_this:cannot capture “this”
|
|
already_in_consteval_context:already in consteval context
|
|
if_consteval_requires_braced_dependent_statement:“if consteval” and “if not consteval” require braced dependent
statements
|
|
if_consteval_in_nonconstexpr_function:“if consteval” and “if not consteval” are meaningless in a
non-constexpr function
|
|
branch_into_if_consteval:transfer of control into an “if consteval” or “if not consteval”
statement is not allowed
|
|
constexpr_local_static:constant-evaluation cannot go through the declaration of a variable
with static or thread storage duration
|
|
mutable_qualifier_on_explicit_this_lambda:the mutable qualifier is not allowed on a lambda with an explicit
“this” parameter
|
|
static_with_explicit_this:a member function declared with “static” cannot have an explicit
“this” parameter
|
|
explicit_this_param_must_be_first:an explicit “this” parameter must be the first declared parameter
|
|
bad_this:“this” is not allowed here
|
|
explicit_this_needs_this:an explicit “this” function requires a selector operand
|
|
if_consteval_nonstandard:“if consteval” and “if not consteval” are not standard in this mode
|
|
lambda_without_parameters_nonstandard:omitting “()” in a lambda declarator is nonstandard in this mode
|
|
lambda_without_parameters_requires_clause:a trailing-requires-clause is not permitted when the lambda parameter
list is omitted
|
|
invalid_ifc_partition:module “module name” invalid partition requested
|
|
undefined_ifc_partition:module “module name” undefined partition (believed to be
“xxxx”) requested
|
|
invalid_overflowing_ifc_position:module “module name” file position n (relative position
n) requested for partition “xxxx” - which overflows the end
of its partition
|
|
invalid_misaligned_ifc_position:module “module name” file position n (relative position
n) requested for partition “xxxx” - which is misaligned with
its partitions elements
|
|
invalid_ifc_position_backtrace_field:from subfield “xxxx” (relative position to node n)
|
|
invalid_ifc_position_backtrace_pos:from partition “xxxx” element n (file position n,
relative position n)
|
|
nonstandard_lambda_attributes:attributes on lambdas are a C++23 feature
|
|
confusable_identifier:identifier “xxxx” could be confused with a visually-similar one
appearing at line xxxx
|
|
suspicious_comment_formatting:this comment contains suspicious Unicode formatting control characters
|
|
suspicious_string_formatting:this string contains Unicode formatting control characters that could
result in unexpected runtime behavior
|
|
suppressed_module_warning_diag:n suppressed warning was encountered while processing module
“module name”
|
|
suppressed_module_warnings_diag:n suppressed warnings were encountered while processing module
“module name”
|
|
suppressed_module_error_diag:n suppressed error was encountered while processing module
“module name”
|
|
suppressed_module_errors_diag:n suppressed errors were encountered while processing module
“module name”
|
|
virtual_with_explicit_this:a virtual member function cannot have an explicit “this” parameter
|
|
address_of_unqualified_explicit_this_function:taking the address of an explicit “this” function requires a
qualified name
|
|
implicit_address_of_explicit_this_function:forming the address of an explicit “this” function requires the “&”
operator
|
|
string_literal_cannot_initialize_flexible_array_member:a string literal cannot be used to initialize a flexible array member
|
|
ifc_missing_function_definition:the IFC representation of the definition of function “xxxx” is
missing
|
|
member_function_modifier_on_template:function modifier does not apply to member template declaration
|
|
constexpr_too_many_nested_anonymous_types:member selection involves too many nested anonymous types
|
|
no_common_type:there is no common type between the operands
|
|
exp_pointer_to_member:expected a pointer-to-member
|
|
lone_flexible_array_member:a flexible array member cannot be declared in an otherwise-empty type
|
|
missing_gnu_srcloc_type:expected “std::source_location::__impl” to be defined to a class
with only the data members “_M_function_name”, “_M_file_name”,
“_M_column”, “_M_line”
|
|
srcloc_column_bounds:given column number is too large for “std::source_location”
implementation
|
|
srcloc_line_bounds:given line number is too large for “std::source_location”
implementation
|
|
utf16_char_lit_too_long:a UTF-16 character constant cannot occupy more than one code unit;
value truncated
|
|
both_arguments_must_have_same_type:both arguments must have the same type
|
|
invalid_type_for_builtin:type “type” is invalid as an argument for this builtin
|
|
constexpr_called_from_rout:called from entity-kind “entity” (declared at line xxxx):
|
|
qualified_unnamed_bit_field_type:a qualified type is nonstandard for anonymous bit fields
|
|
bad_vector_conditional_size:the element type of the vector condition (“type”) must have the
same size as the element type of the result (“type”)
|
|
bad_vector_float_operand_size:the floating-point vector operand type (“type”) has no matching
integer vector type
|
|
mangling_for_requires:mangling for “requires” expressions is not yet implemented
|
|
unavailable_attr:because of an “unavailable” attribute
|
|
duplicate_asm_qualifier:duplicate ‘asm’ qualifier
|
|
incomplete_enum_bit_field_or_bad_opaque_enum:either a bit field with an incomplete enum type or an opaque
enumeration with an invalid base type
|
|
ifc_partition_mismatch:attempted to construct an element from IFC partition “xxxx” using
an index into IFC partition “xxxx”
|
|
ifc_partition_bad_entry_size:the partition “xxxx” specified its entry size as n when nwas expected
|
|
ifc_requirement_failure:an unexpected IFC requirement was encountered while processing
module “module name”
|
|
ifc_requirement_failure_fill_in:condition failed at line n in xxxx: “xxxx”
|
|
circular_constraint:atomic constraint depends on itself
|
|
noreturn_with_return_type:“noreturn” function has non-void return type
|
|
ifc_bad_function_param_name:a correction has been made by dropping the parameter “xxxx” (at
relative index n)
|
|
default_arg_on_member_template_def:a default template argument cannot be specified on the definition of
a member template outside its class
|
|
ifc_bad_identifier:invalid IFC identifier name “xxxx” encountered during entity
reconstruction
|
|
invalid_ifc_sort_value:module “module name” invalid sort value
|
|
ifc_function_template_parse_failure:a function template loaded from an IFC module was incorrectly parsed
as entity-kind “entity” (declared at line xxxx)
|
|
ifc_entity_ref_failure:failed to load an IFC entity reference in module “module name”
|
|
ifc_entity_ref_failure_info:from partition “xxxx” element n (file position n,
relative position n)
|
|
no_chained_designators_with_destructor:chained designators are not permitted for a class type with a
nontrivial destructor
|
|
explicit_specialization_friend:an explicit specialization declaration may not be a friend declaration
|
|
std_float128_not_supported:the std::float128_t type is not supported; std::float64_t will be
used instead
|
|
alias_template_deduction_guide:a deduction guide may not be declared for alias template “entity”
|
|
unavailable_entity:entity-kind “entity” was declared declared unavailable
|
|
unavailable_entity_with_custom_message:entity-kind “entity” was declared unavailable (“xxxx”)
|
|
deprecated_attr:because of a “deprecated” attribute
|
|
explicit_lambda_template_parameters_is_cpp20:explicit lambda template parameters are a C++20 feature
|
|
c23_noreturn_deprecated:the use of “_Noreturn” has been obsoleted in C23; use “[[noreturn]]”
instead
|
|
c23_alignof_deprecated:the use of “_Alignof” has been obsoleted in C23; use “alignof” instead
|
|
c23_alignas_deprecated:the use of “_Alignas” has been obsoleted in C23; use “alignas” instead
|
|
c23_bool_deprecated:the use of “_Bool” has been obsoleted in C23; use “bool” instead
|
|
c23_static_assert_deprecated:the use of “_Static_assert” has been obsoleted in C23; use
“static_assert” instead
|
|
c23_thread_local_deprecated:the use of “_Thread_local” has been obsoleted in C23; use
“thread_local” instead
|
|
ms_ifc_unavailable:Microsoft mode must be enabled to use the module file “xxxx” (a
Microsoft Visual Studio IFC module)
|
|
file_for_module_not_found:could not open module file “xxxx”
|
|
found_from_module_map:found in the module map for module “xxxx”
|
|
found_from_header_unit_map:found in the header unit map for “xxxx”
|
|
cl_invalid_output_mode:unrecognized output mode (must be one of text, sarif): xxxx
|
|
cl_c23_typeof_option_only_in_C:option “c23_typeof” can be used only when compiling C
|
|
cl_invalid_clang_version:invalid clang version number: xxxx
|
|
constexpr_flexible_array_initializer:cannot evaluate an initializer for a flexible array member
|
|
nonstandard_bit_field_initializer:a default bit-field initializer is a C++20 feature
|
|
ifc_too_many_template_args:too many arguments in template argument list in module “module
name”
|
|
ifc_too_many_template_args_info:detected for the template argument represented by “xxxx” element
n (file position n, relative position n)
|
|
ifc_too_few_template_args:too few arguments in template argument list in module “module
name”
|
|
ifc_too_few_template_args_info:detected while processing the template argument list represented by
“xxxx” element n (file position n, relative position
n)
|
|
nonstandard_conversion_from_scoped_enum:conversion from scoped enumeration type “type” is nonstandard
|
|
constexpr_allocation_mismatch:deallocation does not match allocation kind (one is for an array and
the other not)
|
|
constexpr_address_unknown:comparison involves unknown address (e.g., the address of a weak
variable)
|
|
bad_argument_to_make_signed:__make_signed is only compatible with non-bool integer and enum types
|
|
bad_argument_to_make_unsigned:__make_unsigned is only compatible with non-bool integer and enum
types
|
|
intrinsic_name_released:the intrinsic name “xxxx” will be treated as an ordinary
identifier from here
|
|
array_subobject_not_initialized:access to uninitialized subobject at index n
|
|
ifc_line_number_overflow:IFC line number (n) overflows maximum allowed value (n)
module “module name”
|
|
invalid_unrepresentable_ifc_position:module “module name” requested element n of partition
“xxxx”, this file position exceeds the maximum representable value
|
|
wrong_number_of_arguments:wrong number of arguments
|
|
candidate_failed_constraint:constraint on candidate entity-kind “entity” not satisfied
|
|
candidate_wrong_param_count:number of parameters of entity-kind “entity” does not match the
call
|
|
candidate_expl_templ_arg_subst_failed:substituting explicit template arguments “<templ-args>” for
entity-kind “entity” failed
|
|
impl_deleted_move_candidate_ignored:entity-kind “entity” is an implicitly “= delete” move function
and thus ignored during overload resolution
|
|
arg_for_empty_param_pack:entity-kind “entity” does not match because argument #*n* is
provided for an empty parameter pack
|
|
nonviable_because_arg_mismatch:entity-kind “entity” does not match because argument #*n* does
not match parameter
|
|
deduction_failed:candidate entity-kind “entity” failed deduction
|
|
builtin_operator_nonviable_because_arg_mismatch:built-in operator*xxxx* does not match because argument #*n* does
not match parameter
|
|
integral_operand:<integral>
|
|
promoted_integral_operand:<promoted integral>
|
|
ptrdiff_t_operand:<ptrdiff_t>
|
|
enum_operand:<enum>
|
|
scoped_enum_operand:<scoped enum>
|
|
arith_operand:<arithmetic>
|
|
promoted_arith_operand:<promoted arithmetic>
|
|
nonbool_arith_operand:<non-bool arithmetic>
|
|
pointer_operand:<pointer>
|
|
nullptr_operand:<nullptr>
|
|
handle_operand:<handle>
|
|
handle_to_cli_array_operand:<handle to CLI array>
|
|
pointer_to_object_operand:<pointer to object>
|
|
pointer_to_function_operand:<pointer to function>
|
|
ptr_to_member_operand:<pointer-to-member>
|
|
bool_operand:<bool>
|
|
bool_equivalent_operand:<bool-like>
|
|
class_operand:<class>
|
|
auto_cast_is_cpp23:auto(<expr>) and auto{<expr>} are a C++23 feature
|
|
anon_union_using_declaration:invalid anonymous union – using declaration is not allowed
|
|
ifc_file_incompatibility:IFC file “xxxx” cannot be processed
|
|
unsupported_ifc_file_version_info:IFC version n.*n* is not supported
|
|
unsupported_ifc_file_arch_info:IFC architecture “xxxx” is incompatible with the current target
architecture
|
|
unknown_ifc_partition_conversion:module “module name” requests index n of an unsupported
partition corresponding to “xxxx”
|
|
param_cannot_be_completed:parameter number n of entity-kind “entity” has type
“type” which cannot be completed
|
|
param_is_incomplete:parameter number n of entity-kind “entity” has incomplete
type “type”
|
|
param_is_abstract:parameter number n of entity-kind “entity” has abstract type
“type”
|
|
struct_bindings_is_cpp17:structured bindings are a C++17 feature
|
|
capturing_struct_bindings_is_cpp20:capturing structured bindings is a C++20 feature
|
|
bad_splicer_operand:operand of splicer has type “type” instead of std::meta::info
|
|
not_a_type_reflection:operand (reflection for reflection-description) is not the
reflection of a type
|
|
nonconstant_splicer_operand:nonconstant operand of splicer
|
|
bad_std_string_view:use of “type” instead of std::string_view (=
std::basic_string_view<char>)
|
|
inconsistent_std_string_view:std::string_view used here is inconsistent with use in other
intrinsics
|
|
invalid_std_string_view_for_reflection:definition of std::string_view does not match assumptions of
reflection (no base classes and data members for pointer and length)
|
|
constexpr_reflection_not_of_constant:reflection is not that of a constant value
|
|
bad_reflection_kind_for_expression_splice:bad reflection (reflection-description) for expression splice
|
|
already_defined_with_pos:entity-kind “entity” has already been defined (previous
definition at line xxxx)
|
|
incompatible_std_meta_value_of_type:extract of type “type” is not compatible with the given
reflection (entity with type “type”)
|
|
reflection_of_overloaded_set:reflecting an overload set is not currently permitted
|
|
intrinsic_requires_template_instance:this intrinsic requires a reflection for a template instance
|
|
invalid_reflection_equality:incompatible types “type” and “type” for operator
|
|
invalid_reflection_for_intrinsic:invalid reflection for intrinsic metafunction
|
|
nonmember_reflection_for_intrinsic:intrinsic metafunction requires a reflection for a class member
|
|
union_base:a class cannot not derive from a union
|
|
base_with_flexible_array:cannot derive from a class with a flexible array member
|
|
null_reflection:null reflection
|
|
namespace_alias:namespace alias
|
|
unspecified_reflection:reflection (details unavailable)
|
|
std_meta_substitute_bad_arg_reflection:bad reflection (reflection-description) for template argument in
std::meta::substitute
|
|
std_meta_substitute_failed:call to std::meta::substitute (for reflection-description) failed
|
|
expired_reflection_value:reflection value refers to inactive entity
|
|
cannot_splice_general_expression:an expression splice must splice a constant value, a variable, or a
function
|
|
cannot_splice_member_access:a member access splice must splice a data member or a member function
|
|
splice_is_not_a_member_of_class:member entity-kind “entity” (declared at line xxxx) is not a
direct or indirect member of “type”
|
|
unicode_name_not_found:the name “xxxx” does not designate a known Unicode character
|
|
unterminated_unicode_name:unterminated named Unicode character escape
|
|
invalid_char_in_unicode_name:character cannot appear in a Unicode name
|
|
empty_unicode_name:empty named Unicode character escape
|
|
exp_lsplice:expected a “[:”
|
|
exp_rsplice:expected a “:]”
|
|
lambda_mutable_and_static:a lambda expression cannot be both “mutable” and “static”
|
|
static_lambda_nonstandard:a “static” lambda expression is nonstandard
|
|
static_lambda_with_capture:a “static” lambda expression must have an empty capture specification
|
|
ifc_creation_failure:an IFC file could not be produced for the current translation unit
|
|
unsupported_il_to_ifc:one or more entities cannot currently be written to an IFC file
|
|
nonstandard_explicit_bool:‘explicit(bool)’ is a C++20 feature
|
|
bad_type_for_atomic_fetch:first argument must be a pointer to integer, enum, or supported
floating-point type
|
|
module_use_in_multi_tu_mode:C++ modules cannot be used when compiling multiple translation units
|
|
module_use_with_export_template:C++ modules cannot be used with the pre-C++11 “export” feature
|
|
ifc_unsupported_token:the IFC token “xxxx” is not supported
|
|
pass_object_size_not_in_function_decl:the “pass_object_size” attribute is only valid on parameters of
function declarations
|
|
attr_arg_out_of_small_integer_range:the argument of the “xxxx” attribute n must be a value
between 0 and n
|
|
ref_qualifier_ignored:a ref-qualifier here is ignored
|
|
invalid_neon_vector_element_type:invalid NEON vector element type “type”
|
|
invalid_neon_polyvector_element_type:invalid NEON polyvector element type “type”
|
|
invalid_scalable_vector_element_type:invalid scalable vector element type “type”
|
|
invalid_scalable_vector_tuple_elements:invalid number of tuple elements for scalable vector type
|
|
invalid_neon_vector_size:a NEON vector or polyvector must be either 64 or 128 bits wide
|
|
sizeless_type_not_allowed:sizeless type “type” is not allowed
|
|
value_init_of_sizeless_type:an object of the sizeless type “type” cannot be value-initialized
|
|
ifc_unexpected_null_scope_member:unexpected null declaration index found as part of scope n
|
|
cl_unnamed_module_map:a module name must be specified for the module file map referencing
the file “xxxx”
|
|
ifc_partition_missing_element:a null index value was received where a node in the IFC partition
“xxxx” was expected
|
|
void_template_variable:entity-kind “entity” (declared at line xxxx) cannot have type
“type”
|
|
ref_qualifier_nonstandard:a ref-qualifier is nonstandard in this mode
|
|
range_based_for_nonstandard:a range-based “for” statement is nonstandard in this mode
|
|
auto_type_nonstandard:“auto” as a type specifier is nonstandard in this mode
|
|
cannot_import_module_bad_checksum:could not import module file “xxxx” due to file corruption
|
|
extraneous_injected_member_tokens:extraneous tokens injected after member declaration
|
|
bad_injection_scope:bad injection scope (reflection-description)
|
|
expected_string_view_value:expected a value of type std::string_view but got “type”
|
|
extraneous_injected_statement_tokens:extraneous tokens injected after statement
|
|
extraneous_injected_declaration_tokens:extraneous tokens injected after declaration
|
|
tuple_index_overflow:tuple index value (n) overflow
|
|
constexpr_begin_report_tokens:>> output from std::meta::__report_tokens
|
|
constexpr_end_report_tokens:>> end output from std::meta::__report_tokens
|
|
constexpr_no_current_parameters:not in a context with parameter variables
|
|
empty_delimited_escape:a delimited escape sequence must have at least one character
|
|
unterminated_delimited_escape:unterminated delimited escape sequence
|
|
constant_addresses_local_variable:constant contains address of a local variable
|
|
struct_binding_consteval:a structured binding cannot be declared “consteval”
|
|
module_import_conflict:“entity” conflicts with the imported declaration entity-kind
“entity” (declared at line xxxx)
|
|
char_too_wide_for_rep:character cannot be represented in the specified character type
|
|
annotation_after_using:an annotation cannot appear in the context of a “using” attribute
prefix
|
|
annotation_must_have_literal_type:type “type” of annotation is not a literal type
|
|
ext_vector_type_requires_bool_integral_floating_type:the “ext_vector_type” attribute applies only to bool, integer, or
floating-point types
|
|
multiple_union_designators:multiple designators into the same union are not permitted
|
|
debug_show_location:test message
|
|
microsoft_version_doesnt_support_cpp23_mode:the version of Microsoft being emulated must be at least 1943 to use
“–ms_c++23”
|
|
cl_invalid_cwd:invalid current working directory: xxxx
|
|
cleanup_attribute_in_constexpr_function:“cleanup” attribute within a constexpr function is not currently
supported
|
|
assume_statement_applies_to_null_statements:the “assume” attribute can only apply to a null statement
|
|
assumption_failed:assumption failed
|
|
variable_templates_is_cpp14:variable templates are a C++14 feature
|
|
address_of_function_with_pass_object_size_attr:cannot take the address of a function with a parameter declared with
the “pass_object_size” attribute
|
|
all_arguments_must_have_same_type:all arguments must have the same type
|
|
comparison_details:the final comparison was xxxx xxxx xxxx
|
|
too_many_arguments_provided_for_attribute:too many arguments for attribute “xxxx”
|
|
constexpr_bad_mantissa_string:mantissa string does not contain a valid number
|
|
constexpr_float_error:floating-point error during constant evaluation
|
|
inheriting_ctor_ignored_for_copy:inheriting constructor entity-kind “entity” ignored for
copy/move-like operation
|
|
cannot_get_file_size:cannot determine size of file xxxx
|
|
cannot_read_file:cannot read xxxx
|
|
unrec_embed_param:unrecognized parameter name
|
|
dupl_embed_param:parameter specified more than once
|
|
has_embed_not_in_if:__has_embed cannot appear outside #if
|
|
setlocale_lc_numeric_failed:could not set LC_NUMERIC locale to C
|
|
elifdef_not_enabled:elifdef and elifndef are not enabled in this mode and are ignored in
text being skipped
|
|
nonstandard_alias_declaration_context:an alias declaration is nonstandard in this context
|
|
out_of_order_field_allocation_nonstandard:the target ABI may allocate nonstatic members in an order not
matching their declaration order, which is nonstandard in C++23 and
later
|
|
module_unit_export_unexpected:the module declaration cannot be exported from this translation unit
unless creating a module interface file
|
|
module_unit_export_expected:the module declaration must be exported from this translation unit to
create a module interface file
|
|
cannot_write_module_none_declared:module file generation was requested but no module was declared in
the translation unit
|
|
candidate_constraints_failed:substituting “<templ-args>” for entity-kind “entity” failed
constraints
|
|
concept_not_satisfied:entity-kind “entity” not satisfied for “<templ-args>”
|
|
bad_embed_initializer:the #embed expansion is too long to initialize an entity of type
“type”
|
|
bad_defined_pp_op:the “defined” operator is not permitted here
|
|
ptr_to_mem_to_non_member:entity-kind “entity” is not a member of “type”
|
|
embed_narrowing:narrowing conversion to signed character in #embed data
|
|
invalid_vector_of_bool_operator:operator is not permitted for “vector of bool” types
|
|
constexpr_object_too_large:object too large for constant-evaluation
|
|
self_referencing_temporary_object:self-referencing temporary object
|
|
lambda_cannot_refer_to_local_entity_here:a lambda cannot refer to a local variable or init-capture in this
context
|
|
parameter_capture_conflict:a lambda parameter cannot hide an explicit capture
|
|
template_parameter_capture_conflict:a lambda template parameter cannot hide an explicit capture
|
|
insufficient_address_space:insufficient address space exists to process this translation unit
|
|
undetermined_type:<undetermined type>
|
|
undetermined_constant:<undetermined constant>
|
|
undetermined_template:<undetermined template>
|
|
bad_flt_config:the configured size of xxxx is too small for the specified number
of mantissa + exponent bits
|
|
expression:expression
|
|
quoted_expression:<expression>
|
|
unnamed:unnamed
|
|
quoted_unnamed:<unnamed>
|
|
error_type:<error-type>
|
|
unknown_type:<unknown-type>
|
|
something:<something>
|
|
null_type:<null-type>
|
|
no_init:<no-init>
|
|
zero_init:<zero-init>
|
|
bitwise_copy_of:bitwise copy of:
|
|
bitwise_copy:<bitwise-copy>
|
|
class_result_via_ctor:class result via ctor:
|
|
constructor_call:<constructor-call>
|
|
null_expression:<NULL expression>
|
|
quoted_error:<error>
|
|
null_routine:<NULL routine>
|
|
quoted_default:<default>
|
|
parameter_number:parameter #
|
|
one_level_up:(one level up)
|
|
levels_up:levels up
|
|
dynamic_init:dynamic-init:
|
|
error_constant:<error-constant>
|
|
stack_offset_of:stack-offset-of:
|
|
implicit_element:<implicit element>
|
|
repetitions_of:repetitions of
|
|
type_code_integer:integer
|
|
type_code_enum:enum
|
|
type_code_scoped_enum:scoped enum
|
|
type_code_arithmetic:arithmetic
|
|
type_code_non_bool_arithmetic:non-bool arithmetic
|
|
type_code_pointer:pointer
|
|
type_code_nullptr_type:nullptr type
|
|
type_code_handle:handle
|
|
type_code_handle_to_CLI_array:handle-to-CLI-array
|
|
type_code_pointer_to_object:pointer-to-object
|
|
type_code_pointer_to_function:pointer-to-function
|
|
type_code_pointer_to_member:pointer-to-member
|
|
type_code_bool:bool
|
|
type_code_bool_equivalent:bool-equivalent
|
|
type_code_class:class
|
|
volatile_inc_deprecated:a volatile operand to an increment expression is deprecated
|
|
volatile_dec_deprecated:a volatile operand to a decrement expression is deprecated
|
|
indeterminate_not_on_first_decl:entity-kind “entity” previously declared without the
“indeterminate” attribute
|
|
default_constructor_is_explicit:the default constructor for “type” is explicit
|
|
ifc_definition_load_failure:failed to load the definition of entity-kind “entity” in module
“module name”
|
|
ifc_initializer_load_failure:failed to load the initializer for entity-kind “entity” in
module “module name”
|
|
base_class_of_class_type_with_typedef_name:a class with a typedef name for linkage purposes cannot have a base
class
|
|
member_function_of_class_type_with_typedef_name:a class with a typedef name for linkage purposes cannot have a member
function
|
|
member_type_of_class_type_with_typedef_name:a class with a typedef name for linkage purposes cannot have a nested
type, other than an enumeration type or a non-closure class type
|
|
lambda_in_class_type_with_typedef_name:a class with a typedef name for linkage purposes cannot contain a
lambda expression
|
|
field_init_in_class_type_with_typedef_name:a class with a typedef name for linkage purposes cannot have a
nonstatic data member with a default member initializer
|
|
static_data_member_not_allowed_in_unnamed_class:a static data member declaration is not allowed in an unnamed class
|
|
initializer_addresses_dllimport_variable:initializer result addresses a dllimport variable
|
|
cannot_be_specialized:template with “no_specializations” attribute cannot be specialized
|
|
static_dimension_nonstandard:“static” is nonstandard here
|
|
enum_previously_declared_without_explicit_base:entity-kind “entity” (declared at line xxxx) was previously
declared without an explicit enum base
|
|
missing_typename:missing “typename” is nonstandard here
|
|
abbreviated_deduction_guide:abbreviated function template syntax is nonstandard for deduction
guides
|
|
explicit_this_is_cpp23:explicit “this” parameters are a C++23 feature
|
|
array_designator_for_deduced_context:array designators are not supported in template deduction contexts
|
|
second_argument_wrong_shape:the second argument must be an integer type with the same shape (a
scalar or vector type) as the first argument
|
|
vector_of_boolean_required:argument must be a vector of boolean types
|
|
pointer_to_scalar_required:argument must be a pointer to a scalar type
|
|
incorrect_masked_type:incorrect argument type (should be “type”)
|
|
vector_type_with_size_is_required:a vector type (with the same number of elements as the first
argument) is required
|
|
struct_binding_packs_is_cpp26:structured binding packs are a C++26 feature
|
|
non_template_structured_binding_pack:a structured binding pack can only be declared inside a template
|
|
multiple_structured_binding_packs:cannot declare multiple packs in a structured binding declaration
|
|
cl_cpp26_requires_parse_nonclass_templates:The “–no_parse_templates” option cannot be used in C++26 mode
|
|
type_pack_element_cannot_match:a type pack element cannot match entity-kind “entity”
|
|
c23_old_style_param_id:identifier-only parameters can only be used in old-style function
definitions, which are nonstandard since C23
|
|
cl_require_func_prototypes_option_only_in_C:option “no_require_func_prototypes” can be used only when compiling C
|
|
address_of_overload_set_implicit_obj_member_selected:overload resolution for an address-of-overload-set call may not
select implicit-object member entity-kind “entity” (declared at
line xxxx)
|
|
pack_indexing_is_cpp26:pack indexing is a C++26 feature
|
|
pack_index_out_of_bounds:pack index exceeds number of pack elements
|
|
alias_ctad_is_cpp20:class template argument deduction for alias templates is a C++20
feature
|
|
bitint_width_too_large:_BitInt(n) is invalid; the maximum integer width is n
|
|
signed_bitint_width_too_small:_BitInt(n) is invalid; the minimum signed _BitInt width is n
|
|
unsigned_bitint_width_too_small:unsigned _BitInt(n) is invalid; the minimum unsigned _BitInt
width is n
|
|
bitint_enum_base_not_allowed:_BitInt types cannot be the underlying type of an enumeration type
|
|
deduction_guide_redeclaration:redeclaration of deduction guide “type” (previous declaration at
line xxxx)
|
|
create_pch_file_not_created:precompiled header file “xxxx” was not created
|
|
non_c_like_typedef_for_linkage:anonymous non-C-like type given name for linkage purposes by typedef
or alias declaration
|
|
non_c_like_because_of_base_class:type is not C-like because of this base class
|
|
non_c_like_because_of_default_member_init:type is not C-like because of this default member initializer
|
|
non_c_like_because_of_friend:type is not C-like because of this friend declaration
|
|
non_c_like_because_of_member:type is not C-like because of this member declaration
|
|
non_c_like_because_of_lambda:type is not C-like because of this lambda expression
|
|
enum_qualifier_is_cpp11:an enum-type name qualifier is a C++11 feature
|
|
unrestricted_unions_is_cpp11:unrestricted unions are a C++11 feature
|
|
pack_expansion_for_non_pack_alias_param:a pack expansion cannot be used as an argument for non-pack
entity-kind “entity” of entity-kind “entity”
|
|
uniterable_reflection_range:the range passed to the metafunction cannot be iterated
|
|
interpreter_message_remark:xxxx xxxx
|
|
interpreter_message_warning:xxxx xxxx
|
|
interpreter_message_error:xxxx xxxx
|
|
constexpr_diag_arg_count:a call to “__builtin_constexpr_diag” requires three arguments
|
|
constexpr_diag_bad_level:the first argument in a call to “__builtin_constexpr_diag” must be 0
(remark), 1 (warning), 2 (error), 16 (remark at caller), 17 (warning
at caller), or 18 (error at caller)
|
|
constexpr_diag_bad_string:a string literal or an object with the representation of
std::string_view is required for the tag and the message in a call to
“__builtin_constexpr_diag”
|
|
constexpr_diag_bad_tag:the tag in a call to “__builtin_constexpr_diag” may contain only
letters, digits, and underscores
|
|
cl_invalid_constexpr_diag_tag:invalid tag in constexpr diagnostic control option: xxxx
|
|
token_sequence_needs_double_caret:a token sequence must be introduced by “^^”
|
|
exp_interpolator:expected an interpolator (”[”, “[:”, “{”, “val”, or “str”)
|
|
interpolated_id_is_not_identifier:“xxxx” does not spell an identifier
|
|
interpolated_operand_is_not_token_sequence:the operand of a “{…}” interpolator is not a token sequence
|
|
tag_redefined_differently:this declaration of entity-kind “entity” does not declare the
same type as the declaration at line xxxx
|