Online Doc
 
Debugger
ISO/POSIX Standards
Migration Guide
Release Notes
Tutorials
User Guide
Message Index
 
Help
Tech Support
 
 
KAI C++
 
Introduction
What's New?
Documentation
License
Evaluate
Download
Price List
Links
Tools
 
Tech Support
FAQ
 
 
KAI
 
Who We Are
What We Offer
What's New @ KAI
Tech Support
Contact KAI
 
 
 
KAI C++ Messages

This page contains all of the error messages that can be generated by the KAI C++ frontend and the KAI C++ high-level optimizations. Using the KCC command line option: --display_error_number causes KAI C++ to display the message number along with the message text.

You may receive messages that are not listed here. In particular, messages from these components are not in this list:


Error
  Number  
   Message Text
0unknown error
This is an error code that should never occur. Please contact KAI C++ Support at c++support@kai.com if you receive this message.
1last line of file ends without a newline
2last line of file ends with a backslash
3#include file %sq includes itself
4out of memory
5could not open source file %sq
6comment unclosed at end of file
7unrecognized token
8missing closing quote
9nested comment is not allowed
10"#" not expected here
11unrecognized preprocessing directive
12parsing restarts here after previous syntax error
13expected a file name
14extra text after expected end of preprocessing directive
15this error number is no longer used
16%sq is not a valid source file name
17expected a "]"
18expected a ")"
19extra text after expected end of number
20identifier %sq is undefined
21type qualifiers are meaningless in this declaration
22invalid hexadecimal number
23integer constant is too large
24invalid octal digit
25quoted string should contain at least one character
26too many characters in character constant
27character value is out of range
28expression must have a constant value
29expected an expression
30floating constant is out of range
31expression must have integral type
32expression must have arithmetic type
33expected a line number
34invalid line number
35#error directive: %s
36the #if for this directive is missing
37the #endif for this directive is missing
38directive is not allowed -- an #else has already appeared
39division by zero
40expected an identifier
41expression must have arithmetic or pointer type
42operand types are incompatible (%t1 and %t2)
43this error number is no longer used
44expression must have pointer type
45#undef may not be used on this predefined name
46this predefined name may not be redefined
47incompatible redefinition of macro %nod
48this error number is no longer used
49duplicate macro parameter name
50"##" may not be first in a macro definition
51"##" may not be last in a macro definition
52expected a macro parameter name
53expected a ":"
54too few arguments in macro invocation
55too many arguments in macro invocation
56operand of sizeof may not be a function
57this operator is not allowed in a constant expression
58this operator is not allowed in a preprocessing expression
59function call is not allowed in a constant expression
60this operator is not allowed in an integral constant expression
61integer operation result is out of range
62shift count is negative
63shift count is too large
64declaration does not declare anything
65expected a ";"
66enumeration value is out of "int" range
67expected a "}"
68integer conversion resulted in a change of sign
69integer conversion resulted in truncation
70incomplete type is not allowed
This refers to the ISO C++ standard section 3.9 "Types" paragraph 6: "A class that has been declared but not defined, or an array of unknown size or of incomplete element type, is an incompletely-defined object type.* [Footnote: The size and layout of an instance of an incompletely-defined object type is unknown.] Incompletely-defined object types and the void types are incomplete types (basic.fundamental). Objects shall not be defined to have an incomplete type."
71operand of sizeof may not be a bit field
72this error number is no longer used
73this error number is no longer used
74this error number is no longer used
75operand of "*" must be a pointer
76argument to macro is empty
77this declaration has no storage class or type specifier
78a parameter declaration may not have an initializer
79expected a type specifier
80a storage class may not be specified here
81more than one storage class may not be specified
82storage class is not first
83type qualifier specified more than once
84invalid combination of type specifiers
85invalid storage class for a parameter
86invalid storage class for a function
87a type specifier may not be used here
88array of functions is not allowed
89array of void is not allowed
90function returning function is not allowed
91function returning array is not allowed
92identifier-list parameters may only be used in a function definition
93function type may not come from a typedef
94the size of an array must be greater than zero
95array is too large
96a translation unit must contain at least one declaration
97a function may not return a value of this type
98an array may not have elements of this type
99a declaration here must declare a parameter
100duplicate parameter name
101%sq has already been declared in the current scope
102forward declaration of enum type is nonstandard
103class is too large
104struct or union is too large
105invalid size for bit field
106invalid type for a bit field
107zero-length bit field must be unnamed
108signed bit field of length 1
109expression must have (pointer-to-) function type
110expected either a definition or a tag name
111statement is unreachable
112expected "while"
113this error number is no longer used
114%n was referenced but not defined
115a continue statement may only be used within a loop
116a break statement may only be used within a loop or switch
117non-void %n should return a value
118a void function may not return a value
119cast to type %t is not allowed
120return value type does not match the function type
121a case label may only be used within a switch
122a default label may only be used within a switch
123case label value has already appeared in this switch
124default label has already appeared in this switch
125expected a "("
126expression must be an lvalue
127expected a statement
128loop is not reachable from preceding code
129a block-scope function may only have extern storage class
130expected a "{"
131expression must have pointer-to-class type
132expression must have pointer-to-struct-or-union type
133expected a member name
134expected a field name
135%n has no member %sq
136%n has no field %sq
137expression must be a modifiable lvalue
138taking the address of a register variable is not allowed
139taking the address of a bit field is not allowed
140too many arguments in function call
141unnamed prototyped parameters not allowed when body is present
142expression must have pointer-to-object type
143program too large or complicated to compile
144a value of type %t1 cannot be used to initialize an entity of type %t2
145%n may not be initialized
146too many initializer values
147declaration is incompatible with %nfd
148%n has already been initialized
149a global-scope declaration may not have this storage class
150a type name may not be redeclared as a parameter
151a typedef name may not be redeclared as a parameter
152conversion of nonzero integer to pointer
153expression must have class type
154expression must have struct or union type
155old-fashioned assignment operator
156old-fashioned initializer
157expression must be an integral constant expression
158expression must be an lvalue or a function designator
159declaration is incompatible with previous %nod
160name conflicts with previously used external name %sq
161unrecognized #pragma
162this error number is no longer used
163could not open temporary file %sq
164name of directory for temporary files is too long (%sq)
165too few arguments in function call
166invalid floating constant
167argument of type %t1 is incompatible with parameter of type %t2
168a function type is not allowed here
169expected a declaration
170pointer points outside of underlying object
171invalid type conversion
172external/internal linkage conflict with previous declaration
173floating-point value does not fit in required integral type
174expression has no effect
175subscript out of range
176this error number is no longer used
177%n was declared but never referenced
178"&" applied to an array has no effect
179right operand of "%%" is zero
180argument is incompatible with formal parameter
181argument is incompatible with corresponding format string conversion
182could not open source file %sq (no directories in search list)
183type of cast must be integral
184type of cast must be arithmetic or pointer
185dynamic initialization in unreachable code
186pointless comparison of unsigned integer with zero
187use of "=" where "==" may have been intended
188enumerated type mixed with another type
189error while writing %s file
190invalid intermediate language file
191type qualifier is meaningless on cast type
192unrecognized character escape sequence
193zero used for undefined preprocessing identifier
194expected an asm string
195an asm function must be prototyped
196an asm function may not have an ellipsis
197this error number is no longer used
198this error number is no longer used
199this error number is no longer used
200this error number is no longer used
201this error number is no longer used
202this error number is no longer used
203this error number is no longer used
204this error number is no longer used
205this error number is no longer used
206this error number is no longer used
207this error number is no longer used
208this error number is no longer used
209this error number is no longer used
210this error number is no longer used
211this error number is no longer used
212this error number is no longer used
213this error number is no longer used
214this error number is no longer used
215this error number is no longer used
216this error number is no longer used
217this error number is no longer used
218this error number is no longer used
219error while deleting file %sq
220integral value does not fit in required floating-point type
221floating-point value does not fit in required floating-point type
222floating-point operation result is out of range
223function declared implicitly
224the format string requires additional arguments
225the format string ends before this argument
226invalid format string conversion
227macro recursion
228trailing comma is nonstandard
229bit field cannot contain all values of the enumerated type
230nonstandard type for a bit field
231declaration is not visible outside of function
232old-fashioned typedef of "void" ignored
233left operand is not a struct or union containing this field
234pointer does not point to struct or union containing this field
235variable %sq was declared with a never-completed type
236controlling expression is constant
237selector expression is constant
238invalid specifier on a parameter
239invalid specifier outside a class declaration
240duplicate specifier in declaration
241a union is not allowed to have a base class
242multiple access control specifiers are not allowed
243class or struct definition is missing
244qualified name is not a member of class %t or its base classes
245a nonstatic member reference must be relative to a specific object
246a nonstatic data member may not be defined outside its class
247%n has already been defined
248pointer to reference is not allowed
249reference to reference is not allowed
250reference to void is not allowed
251array of reference is not allowed
252reference %n requires an initializer
253expected a ","
254type name is not allowed
255type definition is not allowed
256invalid redeclaration of type name %nod
257const %n requires an initializer
258"this" may only be used inside a nonstatic member function
259constant value is not known
260explicit type is missing ("int" assumed)
261access control not specified (%sq by default)
262not a class or struct name
263duplicate base class name
264invalid base class
265%n is inaccessible
266%no is ambiguous
267old-style parameter list (anachronism)
268declaration may not appear after executable statement in block
269implicit conversion to inaccessible base class %t is not allowed
270this error number is no longer used
271this error number is no longer used
272this error number is no longer used
273this error number is no longer used
274improperly terminated macro invocation
275this error number is no longer used
276name followed by "::" must be a class or namespace name
277invalid friend declaration
278a constructor or destructor may not return a value
279invalid destructor declaration
280declaration of a member with the same name as its class
281global-scope qualifier (leading "::") is not allowed
282the global scope has no %sq
283qualified name is not allowed
284NULL reference is not allowed
285initialization with "{...}" is not allowed for object of type %t
286base class %t is ambiguous
287derived class %t1 contains more than one instance of class %t2
288cannot convert pointer to base class %t2 to pointer to derived class %t1 -- base class is virtual
289no instance of constructor %no matches the argument list
290copy constructor for class %t is ambiguous
291no default constructor exists for class %t
292%sq is not a nonstatic data member or base class of class %t
293indirect nonvirtual base class is not allowed
294invalid union member -- class %t has a disallowed member function
295this error number is no longer used
296invalid use of non-lvalue array
297expected an operator
298inherited member is not allowed
299cannot determine which instance of %n is intended
300a pointer to a bound function may only be used to call the function
301typedef name has already been declared (with same type)
302%n has already been defined
303this error number is no longer used
304no instance of %n matches the argument list
305type definition is not allowed in function return type declaration
306default argument not at end of parameter list
307redefinition of default argument
308more than one instance of %n matches the argument list:
309more than one instance of constructor %no matches the argument list:
310default argument of type %t1 is incompatible with parameter of type %t2
311cannot overload functions distinguished by return type alone
312no suitable user-defined conversion from %t1 to %t2 exists
313type qualifier is not allowed on this function
314only nonstatic member functions may be virtual
315the object has type qualifiers that are not compatible with the member function
316program too large to compile (too many virtual functions)
317return type is not identical to nor covariant with return type %t of overridden virtual function %n
318override of virtual %n is ambiguous
319pure specifier ("= 0") allowed only on virtual functions
320badly-formed pure specifier (only "= 0" is allowed)
321data member initializer is not allowed
322object of abstract class type %t is not allowed:
323function returning abstract class %t is not allowed:
324duplicate friend declaration
325inline specifier allowed on function declarations only
326"inline" is not allowed
327invalid storage class for an inline function
328invalid storage class for a class member
329local class member %n requires a definition
330%nf is inaccessible
331this error number is no longer used
332class %t has no copy constructor to copy a const object
333defining an implicitly declared member function is not allowed
334class %t has no suitable copy constructor
335linkage specification is not allowed
336unknown external linkage specification
337linkage specification is incompatible with previous %nod
338more than one instance of overloaded function %no has "C" linkage
339class %t has more than one default constructor
340value copied to temporary, reference to temporary used
341"operator%s" must be a member function
342operator may not be a static member function
343no arguments allowed on user-defined conversion
344too many parameters for this operator function
345too few parameters for this operator function
346nonmember operator requires a parameter with class type
347default argument is not allowed
348more than one user-defined conversion from %t1 to %t2 applies:
349no operator %sq matches these operands
350more than one operator %sq matches these operands:
351first parameter of allocation function must be of type "size_t"
352allocation function requires "void *" return type
353deallocation function requires "void" return type
354first parameter of deallocation function must be of type "void *"
355this error number is no longer used
356type must be an object type
357base class %t has already been initialized
358base class name required -- %t assumed (anachronism)
359%n has already been initialized
360name of member or base class is missing
361assignment to "this" (anachronism)
362"overload" keyword used (anachronism)
363invalid anonymous union -- nonpublic member is not allowed
364invalid anonymous union -- member function is not allowed
365anonymous union at global or namespace scope must be declared static
366%nf provides no initializer for:
367implicitly generated constructor for class %t cannot initialize:
368%n defines no constructor to initialize the following:
369%n has an uninitialized const or reference member
370%n has an uninitialized const field
371class %t has no assignment operator to copy a const object
372class %t has no suitable assignment operator
373ambiguous assignment operator for class %t
374this error number is no longer used
375declaration requires a typedef name
376this error number is no longer used
377"virtual" is not allowed
378"static" is not allowed
379cast of bound function to normal function pointer (anachronism)
380expression must have pointer-to-member type
381extra ";" ignored
382nonstandard member constant declaration (standard form is a static const integral member)
383this error number is no longer used
384no instance of overloaded %no matches the argument list
385this error number is no longer used
386no instance of %n matches the required type
387delete array size expression used (anachronism)
388"operator->" for class %t1 returns invalid type %t2
389a cast to abstract class %t is not allowed:
390function "main" may not be called or have its address taken
391a new-initializer may not be specified for an array
392member function %no may not be redeclared outside its class
393pointer to incomplete class type is not allowed
394reference to local variable of enclosing function is not allowed
395single-argument function used for postfix %sq (anachronism)
396this error number is no longer used
397implicitly generated assignment operator cannot copy:
398cast to array type is nonstandard (treated as cast to %t)
399%n has an operator new%s() but no default operator delete%s()
400%n has a default operator delete%s() but no operator new%s()
401destructor for base class %t is not virtual
402this error number is no longer used
403%np has already been declared
404function "main" may not be declared inline
405member function with the same name as its class must be a constructor
406using nested %n (anachronism)
407a destructor may not have parameters
408copy constructor for class %t may not have a parameter of type %t
409%n returns incomplete type %t
410protected %n is not accessible through a %t pointer or object
411a parameter is not allowed
412an "asm" declaration is not allowed here
413no suitable conversion function from %t1 to %t2 exists
414delete of pointer to incomplete class
415no suitable constructor exists to convert from %t1 to %t2
416more than one constructor applies to convert from %t1 to %t2:
417more than one conversion function from %t1 to %t2 applies:
418more than one conversion function from %t to a built-in type applies:
419this error number is no longer used
420this error number is no longer used
421this error number is no longer used
422this error number is no longer used
423this error number is no longer used
424a constructor or destructor may not have its address taken
425dollar sign ("$") used in identifier
426temporary used for initial value of reference to non-const (anachronism)
427qualified name is not allowed in member declaration
428enumerated type mixed with another type (anachronism)
429the size of an array in "new" must be non-negative
430returning reference to local temporary
431this error number is no longer used
432"enum" declaration is not allowed
433qualifiers dropped in binding reference of type %t1 to initializer of type %t2
434a reference of type %t1 (not const-qualified) cannot be initialized with a value of type %t2
435a pointer to function may not be deleted
436conversion function must be a nonstatic member function
437template declaration is not allowed here
438expected a "<"
439expected a ">"
440template parameter declaration is missing
441argument list for %nf is missing
442too few arguments for %nf
443too many arguments for %nf
444this error number is no longer used
445%n1 is not used in declaring the parameter types of %n2
446two nested types have the same name: %no1 and %nod2 (cfront compatibility)
447global %no1 was declared after nested %nod2 (cfront compatibility)
448this error number is no longer used
449more than one instance of %n matches the required type
450the type "long long" is nonstandard
451omission of %sq is nonstandard
452return type may not be specified on a conversion function
453this error number is no longer used
454this error number is no longer used
455this error number is no longer used
456excessive recursion at instantiation of %n
457%sq is not a function or static data member
458argument of type %t1 is incompatible with template parameter of type %t2
459initialization requiring a temporary or conversion is not allowed
460declaration of %sq hides function parameter
461initial value of reference to non-const must be an lvalue
462this error number is no longer used
463"template" is not allowed
464%t is not a class template
465this error number is no longer used
466"main" is not a valid name for a function template
467invalid reference to %n (union/nonunion mismatch)
468a template argument may not reference a local type
469tag kind of %s is incompatible with declaration of %nfd
470the global scope has no tag named %sq
471%n has no tag member named %sq
472member function typedef (allowed for cfront compatibility)
473%n may be used only in pointer-to-member declaration
474this error number is no longer used
475a template argument may not reference a non-external entity
476name followed by "::~" must be a class name or a type name
477destructor name does not match name of class %t
478type used as destructor name does not match type %t
479%n redeclared "inline" after being called
480this error number is no longer used
481invalid storage class for a template declaration
482%n is an inaccessible type (allowed for cfront compatibility)
483a return type is not allowed
484invalid explicit instantiation declaration
485%nf is not an entity that can be instantiated
486compiler generated %n cannot be explicitly instantiated
487inline %n cannot be explicitly instantiated
488pure virtual %n cannot be explicitly instantiated
489%n cannot be instantiated -- no template definition was supplied
490%n cannot be instantiated -- it has been explicitly specialized
491this error number is no longer used
492this error number is no longer used
493no instance of %n matches the specified type
494declaring a void parameter list with a typedef is nonstandard
495global %n1 used instead of %n2 (cfront compatibility)
496template parameter %sq may not be redeclared in this scope
497declaration of %sq hides template parameter
498template argument list must match the parameter list
499conversion function to convert from %t1 to %t2 is not allowed
500extra parameter of postfix "operator%s" must be of type "int"
501an operator name must be declared as a function
502operator name is not allowed
503%n cannot be specialized in the current scope
504nonstandard form for taking the address of a member function
505too few template parameters -- does not match previous declaration
506too many template parameters -- does not match previous declaration
507function template for operator delete(void *) is not allowed
508class template and template parameter may not have the same name
509this error number is no longer used
510a template argument may not reference an unnamed type
511enumerated type is not allowed
512type qualifier on a reference type is not allowed
513a value of type %t1 cannot be assigned to an entity of type %t2
514pointless comparison of unsigned integer with a negative constant
515cannot convert to incomplete class %t
516const object requires an initializer
517object has an uninitialized const or reference member
518nonstandard preprocessing directive
519%n may not have a template argument list
520initialization with "{...}" expected for aggregate object
521pointer-to-member selection class types are incompatible (%t1 and %t2)
522pointless friend declaration
523"." used in place of "::" to form a qualified name (cfront anachronism)
524non-const function called for const object (anachronism)
525a dependent statement may not be a declaration
526a parameter may not have void type
527this error number is no longer used
528this error number is no longer used
529this operator is not allowed in a template argument expression
530try block requires at least one handler
531handler requires an exception declaration
532handler is masked by default handler
533handler is potentially masked by previous handler for type %t
534use of a local type to specify an exception
535redundant type in exception specification
536exception specification is incompatible with that of previous %nd%s\=':'
537this error number is no longer used
538this error number is no longer used
539this error number is no longer used
540support for exception handling is disabled
541omission of exception specification is incompatible with previous %nd
542could not create instantiation request file %sq
543non-arithmetic operation not allowed in nontype template argument
544use of a local type to declare a nonlocal variable
545use of a local type to declare a function
546transfer of control bypasses initialization of:
547this error number is no longer used
548transfer of control into an exception handler
549%n is used before its value is set
550%n was set but never used
551%n cannot be defined in the current scope
552exception specification is not allowed
553external/internal linkage conflict for %nfd
554%nf will not be called for implicit or explicit conversions
555tag kind of %s is incompatible with template parameter of type %t
556function template for operator new(size_t) is not allowed
557this error number is no longer used
558pointer to member of type %t is not allowed
559ellipsis is not allowed in operator function parameter list
560%no is reserved for future use as a keyword
561invalid macro definition:
562invalid macro undefinition:
563invalid preprocessor output file
564cannot open preprocessor output file
565IL file name must be specified if input is
566invalid IL output file
567cannot open IL output file
568invalid C output file
569cannot open C output file
570error in debug option argument
571invalid option:
572back end requires name of IL file
573could not open IL file
574invalid number:
575incorrect host CPU id
576invalid instantiation mode:
577this error number is no longer used
578invalid error limit:
579invalid raw-listing output file
580cannot open raw-listing output file
581invalid cross-reference output file
582cannot open cross-reference output file
583invalid error output file
584cannot open error output file
585virtual function tables can only be suppressed when compiling C++
586anachronism option can be used only when compiling C++
587instantiation mode option can be used only when compiling C++
588automatic instantiation mode can be used only when compiling C++
589implicit template inclusion mode can be used only when compiling C++
590exception handling option can be used only when compiling C++
591strict ANSI mode is incompatible with K&R mode
592strict ANSI mode is incompatible with cfront mode
593missing source file name
594output files may not be specified when compiling several input files
595too many arguments on command line
596an output file was specified, but none is needed
597IL display requires name of IL file
598a template parameter may not have void type
599excessive recursive instantiation of %n due to instantiate-all mode
600strict ANSI mode is incompatible with allowing anachronisms
601a throw expression may not have void type
602local instantiation mode is incompatible with automatic instantiation
603parameter of abstract class type %t is not allowed:
604array of abstract class %t is not allowed:
605floating-point template parameter is nonstandard
606this pragma must immediately precede a declaration
607this pragma must immediately precede a statement
608this pragma must immediately precede a declaration or statement
609this kind of pragma may not be used here
610%nf1 does not match %no2 -- virtual function override intended?
611overloaded virtual function %no1 is only partially overridden in %n2
612specific definition of inline template function must precede its first use
613invalid error tag:
614invalid error number:
615parameter type involves pointer to array of unknown bound
616parameter type involves reference to array of unknown bound
617pointer-to-member-function cast to pointer to function
618struct or union declares no named members
619nonstandard unnamed field
620nonstandard unnamed member
621this error number is no longer used
622invalid precompiled header output file
623cannot open precompiled header output file
624%sq is not a type name
625cannot open precompiled header input file
626precompiled header file %sq is either invalid or not generated by this version of the compiler
627precompiled header file %sq was not generated in this directory
628header files used to generate precompiled header file %sq have changed
629the command line options do not match those used when precompiled header file %sq was created
630the initial sequence of preprocessing directives is not compatible with those of precompiled header file %sq
631unable to obtain mapped memory
632"%s": using precompiled header file "%s"
633"%s": creating precompiled header file "%s"
634memory usage conflict with precompiled header file %sq
635invalid PCH memory size
636PCH options must appear first in the command line
637insufficient memory for PCH memory allocation
638precompiled header files may not be used when compiling several input files
639insufficient preallocated memory for generation of precompiled header file (%s bytes required)
640very large entity in program prevents generation of precompiled header file
641%sq is not a valid directory
642cannot build temporary file name
643"restrict" is not allowed
644a pointer or reference to function type may not be qualified by "restrict"
645%sq is an unrecognized __declspec attribute
646a calling convention modifier may not be specified here
647conflicting calling convention modifiers
648strict ANSI mode is incompatible with Microsoft mode
649cfront mode is incompatible with Microsoft mode
650calling convention specified here is ignored
651a calling convention may not be followed by a nested declarator
652calling convention is ignored for this type
653this error number is no longer used
654declaration modifiers are incompatible with previous declaration
655the modifier %sq is not allowed on this declaration
656transfer of control into a try block
657inline specification is incompatible with previous %nod
658closing brace of template definition not found
659wchar_t keyword option can be used only when compiling C++
660invalid packing alignment value
661expected an integer constant
662call of pure virtual function
663invalid source file identifier string
664a class template cannot be defined in a friend declaration
665"asm" is not allowed
666"asm" must be used with a function definition
667"asm" function is nonstandard
668ellipsis with no explicit parameters is nonstandard
669"&..." is nonstandard
670invalid use of "&..."
671this error number is no longer used
672temporary used for initial value of reference to const volatile (anachronism)
673a reference of type %t1 cannot be initialized with a value of type %t2
674initial value of reference to const volatile must be an lvalue
675SVR4 C compatibility option can be used only when compiling ANSI C
676using out-of-scope declaration of %nd
677strict ANSI mode is incompatible with SVR4 C mode
678call of %nd cannot be inlined
679%n cannot be inlined
680invalid PCH directory:
681expected __except or __finally
682a __leave statement may only be used within a __try
683this error number is no longer used
684this error number is no longer used
685this error number is no longer used
686this error number is no longer used
687this error number is no longer used
688%sq not found on pack alignment stack
689empty pack alignment stack
690RTTI option can be used only when compiling C++
691%nf, required for copy that was eliminated, is inaccessible
692%nf, required for copy that was eliminated, is not callable because reference parameter cannot be bound to rvalue
693<typeinfo> must be included before typeid is used
694%s cannot cast away const or other type qualifiers
695the type in a dynamic_cast must be a pointer or reference to a complete class type, or void *
696the operand of a pointer dynamic_cast must be a pointer to a complete class type
697the operand of a reference dynamic_cast must be an lvalue of a complete class type
698the operand of a runtime dynamic_cast must have a polymorphic class type
699bool option can be used only when compiling C++
700this error number is no longer used
701an array type is not allowed here
702expected an "="
703expected a declarator in condition declaration
704%sq, declared in condition, may not be redeclared in this scope
705default template arguments are not allowed for function templates
706expected a "," or ">"
707expected a template parameter list
708incrementing a bool value is deprecated
709bool type is not allowed
710offset of base class %no1 within class %no2 is too large
711expression must have bool type (or be convertible to bool)
712array new and delete option can be used only when compiling C++
713%n is not a variable name
714__based modifier is not allowed here
715__based does not precede a pointer operator, __based ignored
716variable in __based modifier must have pointer type
717the type in a const_cast must be a pointer, reference, or pointer to member to an object type
718a const_cast can only adjust type qualifiers; it cannot change the underlying type
719mutable is not allowed
720redeclaration of %n is not allowed to alter its access
721nonstandard format string conversion
722use of alternative token "<:" appears to be unintended
723use of alternative token "%%:" appears to be unintended
724namespace definition is not allowed
725name must be a namespace name
726namespace alias definition is not allowed
727namespace-qualified name is required
728a namespace name is not allowed
729invalid combination of DLL attributes
730%n is not a class template
731array with incomplete element type is nonstandard
732allocation operator may not be declared in a namespace
733deallocation operator may not be declared in a namespace
734%np1 conflicts with using-declaration of %np2
735using-declaration of %np1 conflicts with %npd2
736namespaces option can be used only when compiling C++
737using-declaration ignored -- it refers to the current namespace
738a class-qualified name is required
739this error number is no longer used
740this error number is no longer used
741using-declaration of %n ignored
742%n has no actual member %sq
743this error number is no longer used
744incompatible memory attributes specified
745memory attribute ignored
746memory attribute may not be followed by a nested declarator
747memory attribute specified more than once
748calling convention specified more than once
749a type qualifier is not allowed
750%npd1 was used before its template was declared
751static and nonstatic member functions with same parameter types cannot be overloaded
752no prior declaration of %np
753a template-id is not allowed
754a class-qualified name is not allowed
755%n may not be redeclared in the current scope
756qualified name is not allowed in namespace member declaration
757%n is not a type name
758explicit instantiation is not allowed in the current scope
759%n cannot be explicitly instantiated in the current scope
760%n explicitly instantiated more than once
761typename may only be used within a template
762special_subscript_cost option can be used only when compiling C++
763typename option can be used only when compiling C++
764implicit typename option can be used only when compiling C++
765nonstandard character at start of object-like macro definition
766exception specification for virtual %n1 is incompatible with that of overridden %n2
767conversion from pointer to smaller integer
768exception specification for implicitly declared virtual %n1 is incompatible with that of overridden %n2
769%no1, implicitly called from %np2, is ambiguous
770option "explicit" can be used only when compiling C++
771"explicit" is not allowed
772declaration conflicts with %sq (reserved class name)
773only "()" is allowed as initializer for array %n
774"virtual" is not allowed in a function template declaration
775invalid anonymous union -- class member template is not allowed
776template nesting depth does not match the previous declaration of %n
777this declaration cannot have multiple "template <...>" clauses
778option to control the for-init scope can be used only when compiling C++
779%sq, declared in for-loop initialization, may not be redeclared in this scope
780reference is to %nd1 -- under old for-init scoping rules it would have been %nd2
781option to control warnings on for-init differences can be used only when compiling C++
782definition of virtual %n is required here
783empty comment interpreted as token-pasting operator "##"
784a storage class is not allowed in a friend declaration
785template parameter list for %no is not allowed in this declaration
786%n is not a valid member class or function template
787not a valid member class or function template declaration
788a template declaration containing a template parameter list may not be followed by an explicit specialization declaration
789explicit specialization of %n1 must precede the first use of %n2
790explicit specialization is not allowed in the current scope
791partial specialization of %n is not allowed
792%nf is not an entity that can be explicitly specialized
793explicit specialization of %n must precede its first use
794template parameter %s may not be used in an elaborated type specifier
795specializing %n requires "template<>" syntax
796this error number is no longer used
797this error number is no longer used
798option "old_specializations" can be used only when compiling C++
799specializing %n without "template<>" syntax is nonstandard
800this declaration may not have extern "C" linkage
801%sq is not a class or function template name in the current scope
802specifying a default argument when redeclaring an unreferenced function template is nonstandard
803specifying a default argument when redeclaring an already referenced function template is not allowed
804cannot convert pointer to member of base class %t2 to pointer to member of derived class %t1 -- base class is virtual
805exception specification is incompatible with that of %nd%s\=':'
806omission of exception specification is incompatible with %nd
807the parse of this expression has changed between the point at which it appeared in the program and the point at which the expression was evaluated -- "typename" may be required to resolve the ambiguity
808default-initialization of reference is not allowed
809uninitialized %n has a const member
810uninitialized base class %t has a const member
811const %n requires an initializer -- class %t has no explicitly declared default constructor
812const object requires an initializer -- class %t has no explicitly declared default constructor
813option "implicit_extern_c_type_conversion" can be used only when compiling C++
814strict ANSI mode is incompatible with long preserving rules
815type qualifier on return type is meaningless
816in a function definition a type qualifier on a "void" return type is not allowed
817static data member declaration is not allowed in this class
818template instantiation resulted in an invalid function declaration
819"..." is not allowed
820option "extern_inline" can be used only when compiling C++
821extern inline %n was referenced but not defined
822invalid destructor name for type %t
823use of %n in a destructor call is nonstandard
824destructor reference is ambiguous -- both %n1 and %n2 could be used
825virtual inline %n was never defined
826%n was never referenced
827only one member of a union may be specified in a constructor initializer list
828support for "new[]" and "delete[]" is disabled
829"double" used for "long double" in generated C code
830%n has no corresponding operator delete%s (to be called if an exception is thrown during initialization of an allocated object)
831support for placement delete is disabled
832no appropriate operator delete is visible
833pointer or reference to incomplete type is not allowed
834invalid partial specialization -- %n is already fully specialized
835incompatible exception specifications
836returning reference to local variable
837omission of explicit type is nonstandard ("int" assumed)
838more than one partial specialization matches the template argument list of %n
839this error number is no longer used
840a template argument list is not allowed in a declaration of a primary template
841partial specializations may not have default template arguments
842%n1 is not used in template argument list of %n2
843the type of partial specialization template parameter %n depends on another template parameter
844the template argument list of the partial specialization includes a nontype argument whose type depends on a template parameter
845this partial specialization would have been used to instantiate %n
846this partial specialization would have been made the instantiation of %n ambiguous
847expression must have integral or enum type
848expression must have arithmetic or enum type
849expression must have arithmetic, enum, or pointer type
850type of cast must be integral or enum
851type of cast must be arithmetic, enum, or pointer
852expression must be a pointer to a complete object type
853a partial specialization of a member class template must be declared in the class of which it is a member
854a partial specialization nontype argument must be the name of a nontype parameter or a constant
855return type is not identical to return type %t of overridden virtual function %n
856option "guiding_decls" can be used only when compiling C++
857a partial specialization of a class template must be declared in the namespace of which it is a member
858%n is a pure virtual function
859pure virtual %n has no overrider
860__declspec attributes ignored
861invalid character in input line
862function returns incomplete type %t
863effect of this "#pragma pack" directive is local to %n
864%s is not a template
865a friend declaration may not declare a partial specialization
866exception specification ignored
867declaration of "size_t" does not match the expected type %t
868space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
869could not set locale %sq to allow processing of multibyte characters
870invalid multibyte character sequence
871template instantiation resulted in unexpected function type of %t1 (the meaning of a name may have changed since the template declaration -- the type of the template is %t2)
872ambiguous guiding declaration -- more than one function template %no matches type %t
873non-integral operation not allowed in nontype template argument
874invalid inline pragma argument
875%s cannot be inlined because the there is no code for the function.
876%s cannot be inlined because it takes a variable number of arguments.
877%s cannot be inlined because the command line said not to inline it
878%s cannot be inlined because a pragma said not to inline it
879%s cannot be inlined because it was not declared inline and automatic inlining is disabled
880%s cannot be inlined because it exceeds the space/time ratio
881%s cannot be inlined because it contains a static variable
882#warning directive: %s
883memory-qualified type not allowed for field
884memory qualifier conflicts with qualifier already on type
885segment may not be specified with auto or register variable
886illegal memory qualifier for parameter
887illegal memory qualifier for auto or register variable
888%sq clause may be specified only once in this OpenMP pragma
889%sq clause not allowed in this OpenMP pragma
890invalid schedule type for OpenMP pragma, must be one of {static,dynamic,guided,runtime}
891expecting OpenMP pragma keyword at this point
892invalid reduction operator in OpenMP pragma, must be one of {+,*,-,&,^,|,&&,||}
893invalid entity for this variable list in OpenMP pragma
894invalid OpenMP pragma, must be one of {parallel,for,section[s],single,master,critical,barrier,ordered,atomic,flush,threadprivate,task[q],threadshared}
895identifier for OpenMP critical pragma cannot be related to any program variables
896unrecognized clause in OpenMP pragma
897invalid default value for OpenMP pragma, must be one of {%s}
898option "embedded_c++" can be used only when compiling C++
899Embedded C++ does not support templates
900Embedded C++ does not support exception handling
901Embedded C++ does not support namespaces
902Embedded C++ does not support run-time type information
903Embedded C++ does not support the new cast syntax
904Embedded C++ does not support using-declarations
905Embedded C++ does not support "mutable"
906Embedded C++ does not support multiple or virtual inheritance
907invalid Microsoft version number:
908pointer-to-member representation has already been set for %n
909%t1 cannot be used to designate constructor for %t2
910invalid suffix on integral constant
911operand of __uuidof must have a class type for which __declspec(uuid("...")) has been specified
912invalid GUID string in __declspec(uuid("..."))
913option "vla" can be used only when compiling C
914variable length array with unspecified bound is not allowed
915an explicit template argument list is not allowed on this declaration
916an entity with linkage cannot have a variably modified type
917a variable length array cannot have static storage duration
918%n is not a template
919this error number is no longer used
920expected a template argument
921this error number is no longer used
922nonmember operator requires a parameter with class or enum type
923option "enum_overloading" can be used only when compiling C++
924using-declaration of %n is not allowed
925qualifier of destructor name %t1 does not match type %t2
926type qualifier ignored
927option "nonstd_qualifier_deduction" can be used only when compiling C++
928a function declared "dllimport" may not be defined
929incorrect property specification; correct form is __declspec(property(get=name1,put=name2))
930property has already been specified
931__declspec(property) is not allowed on this declaration
932member is declared with __declspec(property), but no "get" function was specified
933the __declspec(property) "get" function %sq is missing
934member is declared with __declspec(property), but no "put" function was specified
935the __declspec(property) "put" function %sq is missing
936ambiguous class member reference -- %nd1 used in preference to %nd2
937missing or invalid segment name in __declspec(allocate("..."))
938__declspec(allocate) is not allowed on this declaration
939a segment name has already been specified
940cannot convert pointer to member of derived class %t1 to pointer to member of base class %t2 -- base class is virtual
941invalid directory for instantiation files:
942option "one_instantiation_per_object" can be used only when compiling C++
943invalid output file: %sq
944cannot open output file: %sq
945an instantiation information file name may not be specified when compiling several input files
946option "one_instantiation_per_object" may not be used when compiling several input files
947more than one command line option matches the abbreviation "--%s":
948this error number is no longer used
949a type qualifier cannot be applied to a function type
950cannot open definition list file: %sq
951late/early tiebreaker option can be used only when compiling C++
952incorrect use of va_start
953incorrect use of va_arg
954incorrect use of va_end
955pending instantiations option can be used only when compiling C++
956fractional constant is out of range
957reduction variable %no in OpenMP pragma must be an arithmetic scalar without a const qualifier
958variable %no is already private and must not be re-privatized on this OpenMP pragma
959index variable %no of for statement following an OpenMP for pragma must be private
960reduction variable %no must be shared on entry to this OpenMP pragma
961%no must be specified in a variable list at enclosing OpenMP parallel pragma
962%sq clause of OpenMP pragma cannot contain threadprivate variable %no
963a for statement must follow an OpenMP for pragma
964the for statement following an OpenMP for pragma must have an initializer of the form <index> =
965the for statement following an OpenMP for pragma must have a conditional of the form <index> {<,<=,>=,>}
966an OpenMP for must only increment or decrement the index by a constant
967index variable of for statement following an OpenMP for pragma must be a signed integer
968privatized variable %no in OpenMP pragma must have a default constructor that takes no arguments
969the OpenMP %sq1 pragma must not be enclosed by the %sq2 pragma
970this pragma is not supported under strict OpenMP mode
971%sq1 clause is not supported on the %sq2 pragma under strict OpenMP mode
972%no1 can only appear on one data scope attribute clause in an OpenMP pragma (except firstprivate and lastprivate)
973%sq1 OpenMP pragma must be associated with a block or statement
974"section" OpenMP pragma must appear immediately inside a "sections" block
975block or statement in OpenMP "sections" construct must have "section" pragma
976"sections" OpenMP pragma must be on a block
977any block but the first must have "section" OpenMP pragma
978OpenMP pragma in "sections" should be "section", not %sq1
979Index variable %no on OpenMP worksharing construct must be shared on the corresponding region pragma
980"ordered" pragma must be enclosed by a "for" or "sections" OpenMP block
981"ordered" pragma must be enclosed by a %sq1 OpenMP block which is ordered
982Index variable %no for OpenMP for must be a signed integer type
983Operation not allowed in test expression of SIMD loop
984Could not identify index of SIMD loop
985Increment of SIMD loop index is not a constant amount
986Exits are not allowed in SIMD loop
987Loop increment is not 1
988Call is not allowed in SIMD code
989Statement is not allowed in SIMD code
990Integer divide/remainder is not allowed in SIMD code
991SIMD operations are not allowed on operands of type %t
992Loop variant addressing is not stride 1
993SIMD loop test expression is not a recognized form
994a chunk value must not be specified with schedule type runtime in OpenMP pragma
995OpenMP atomic operator must be one of +,*,-,/,&,^,|,<< or >>
996OpenMP atomic assignment variable must appear exactly once on right-hand side
997OpenMP atomic conversion of right-hand side to left-hand side must be null or a promotion
998OpenMP atomic left-hand-side variable is of improper type
999OpenMP atomic statement must be an assignment
1000OpenMP atomic left-hand-side variable must not appear on right-hand side
1001OpenMP atomic assignment must be one of +=,*=,-=,/=,&=,^=,|=,<<= or >>= or a pre- or post-increment or decrement
1002OpenMP chunksize must be greater than zero
1003Variable length array cannot be pm qualified
1004copyin variable %no in OpenMP parallel pragma must appear earlier in threadprivate pragma
1005Function %no declared both inline and noinline
1006"ordered" OpenMP pragma must be nested in "task"
1007%sq1 branches out of OpenMP structured block
1008OpenMP threadprivate pragma may only appear at file scope
1009Nested OpenMP "critical" pragmas may not have the same name
1010Variable %no in OpenMP schedule clause should appear on shared list
1011Terminating condition value of OpenMP for must be an int
1012Initial condition value of OpenMP for must be an int
1013task OpenMP pragma must be enclosed by a taskq pragma
1014OpenMP for increment must be an int
1015invalid rounding mode:
1016#pragma is being ignored
1017expression evaluated using type narrower than cast
1018cast causes explicit narrowing conversion
1019expression evaluated using type narrower than argument
1020argument passing causes implicit narrowing conversion
1021expression evaluated using type narrower than result
1022assignment causes implicit narrowing conversion
1023pointer casts may be troublesome
1024pointer cast may result in improper alignment
1025union mixes int with long or pointer
1026sizes of union members no longer match
1027function returns pointer to local variable
1028constant truncated by cast
1029cast of negative constant to unsigned type
1030bitwise operation on signed value nonportable
1031conversion to larger integral type may sign-extend incorrectly
1032logical expression always %s
1033constant operand to op: "!"
1034statement has no consequent: %s
1035function main must return int
1036only 0 or 2 parameters allowed for main
1037assignment operator "=" found where "==" was expected
1038nonportable character constant
1039nonportable bit-field type
1040precision lost in bit-field assignment
1041fallthrough on case statement
1042bad code in ln2_outdef
1043invalid lint2 output file
1044cannot open lint2 output file
1045suspicious comparison of char with negative
1046suspicious comparison of char with zero
1047equality operator "==" found where "=" was expected
1048precedence confusion possible; parenthesize
1049variable %no specified in OpenMP threadprivate must have global lifetime
1050OpenMP threadprivate for variable %no must appear at same scope as its definition
1051Loop not valid SIMD loop, #pragma SIMD_for ignored
1052Value carried to next iteration is not allowed in SIMD loop
1053Last value of scalar carried outside of loop
1054Last value of scalar possibly carried outside of loop
1055Vector reference is not stride one
1056Vector reference has unknown stride
1057Vector operand is not properly aligned for SIMD
1058Vector operand may not be properly aligned for SIMD (pointer)
1059Vector operand may not be properly aligned for SIMD (offset)
1060Vector operand may not be properly aligned for SIMD (pointer+offset)
1061invalid directory for #import files:
1062an import directory can be specified only in Microsoft mode
1063a member with reference type is not allowed in a union
1064"typedef" may not be specified here
1065redeclaration of %n alters its access
1066a class or namespace qualified name is required
1067return type "int" omitted in declaration of function "main"
1068pointer-to-member representation %sq is too restrictive for %n
1069missing return statement at end of non-void %n
1070duplicate using-declaration of %no ignored
1071enum bit-fields are always unsigned, but enum %t includes negative enumerator
1072option "class_name_injection" can be used only when compiling C++
1073option "arg_dep_lookup" can be used only when compiling C++
1074option "friend_injection" can be used only when compiling C++
1075name following "template" must be a member template
1076name following "template" must have a template argument list
1077invalid target
1078non-NULL pointer initializer value is not supported
1079asm construct using pointer values may not work
1080OpenMP threadshared for variable %no must appear at same scope as its definition
1081%s cannot be inlined because there is a cycle in the call graph

 


Copyright © 1999 by Kuck & Associates, Inc. All rights reserved.