################################################################################ # # 【頻出エラーランキング】 (2018年04月23日17時26分32秒 集計) # # 期間: 2017年10月05日 -- 2018年02月07日 # ################################################################################ # 順位 回数 エラーメッセージ ################################################################################ 1位 4120回 'xxx' has no member named 'yyy' 2位 3442回 unknown type name 'xxx' 3位 3424回 stray 'xxx' in program 4位 3315回 implicit declaration of function 'xxx' 5位 3236回 'xxx' undeclared (first use in this function) 6位 3040回 'xxx' に対する定義されていない参照です 7位 2953回 expected declaration specifiers or ‘...’ before 'xxx' (token) 8位 2258回 incompatible type for argument NNN of 'xxx' 9位 2123回 invalid type argument of ‘->’ 10位 2025回 conflicting types for 'xxx' 11位 1633回 expected expression before 'xxx' (token) 12位 1628回 expected ‘;’ before 'xxx' (token) 12位 1628回 expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 'xxx' (token) 14位 1521回 incompatible types when assigning to type 'xxx' from type 'yyy' 15位 1492回 expected declaration or statement at end of input 16位 1418回 format '%fff' expects argument of type 'xxx', but argument NNN has type 'yyy' 17位 1399回 request for member 'xxx' in something not a structure or union 18位 1383回 expected identifier or ‘(’ before 'xxx' (token) 19位 1264回 incompatible types when returning type 'xxx' but 'yyy' was expected 20位 1096回 passing argument NNN of 'xxx' from incompatible pointer type 21位 875回 too few arguments to function 'xxx' 22位 804回 passing argument NNN of 'xxx' makes pointer from integer without a cast 23位 702回 invalid operands to binary 'xxx' 24位 688回 comparison between pointer and integer 25位 669回 type defaults to ‘int’ in declaration of 'xxx' 26位 656回 expected ‘)’ before 'xxx' (token) 27位 641回 passing argument NNN of 'xxx' makes integer from pointer without a cast 28位 510回 data definition has no type or storage class 29位 407回 lvalue required as left operand of assignment 30位 376回 redefinition of 'xxx' 31位 328回 assignment makes pointer from integer without a cast 31位 328回 expected declaration specifiers before 'xxx' (token) 33位 312回 ‘return’ with a value, in function returning void 34位 290回 assignment makes integer from pointer without a cast 35位 270回 parameter names (without types) in function declaration 36位 264回 ‘else’ without a previous ‘if’ 37位 256回 expected ‘}’ before 'xxx' 38位 244回 invalid type argument of unary ‘*’ 39位 231回 assignment to expression with array type 40位 212回 'xxx' undeclared here (not in a function) 41位 202回 missing terminating ' character 42位 198回 assignment of read-only location 'xxx' 43位 191回 parameter name omitted 44位 190回 void value not ignored as it ought to be 45位 188回 missing terminating " character 46位 186回 format '%fff' expects a matching 'xxx' argument 47位 182回 return makes integer from pointer without a cast 48位 176回 initializer element is not constant 49位 168回 lvalue required as unary ‘&’ operand 50位 166回 assignment from incompatible pointer type 51位 164回 multi-character character constant 52位 163回 incompatible implicit declaration of built-in function 'xxx' 53位 149回 expected ‘;’, ‘,’ or ‘)’ before 'xxx' (token) 54位 145回 too many arguments to function 'xxx' 55位 142回 expected statement before 'xxx' token 56位 137回 return makes pointer from integer without a cast 57位 135回 expected declaration specifiers or ‘...’ before string constant 58位 134回 passing argument NNN of 'xxx' discards ‘const’ qualifier from pointer target type 59位 123回 'xxx' redeclared as different kind of symbol 60位 122回 expected identifier before 'xxx' (token) 60位 122回 invalid use of void expression 62位 106回 expected ‘{’ at end of input 63位 102回 too many arguments for format 64位 87回 argument 'xxx' doesn’t match prototype 64位 87回 prototype declaration 66位 79回 called object 'xxx' is not a function or function pointer 67位 76回 array subscript is not an integer 68位 74回 expected declaration specifiers or ‘...’ before numeric constant 69位 72回 assignment discards ‘const’ qualifier from pointer target type 70位 71回 redeclaration of 'xxx' with no linkage 71位 69回 return from incompatible pointer type 72位 68回 subscripted value is neither array nor pointer nor vector 73位 64回 expected ‘(’ before 'xxx' (token) 74位 62回 lvalue required as increment operand 75位 61回 expected ‘;’ before ‘ 76位 56回 expected ‘)’ before numeric constant 77位 52回 assignment of member 'xxx' in read-only object 78位 51回 type of ‘ls’ defaults to ‘int’ 79位 46回 old-style parameter declarations in prototyped function definition 80位 45回 break statement not within loop or switch 80位 45回 expected ‘ 82位 43回 expected ‘)’ before ‘ 82位 43回 expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ 84位 41回 initialization makes integer from pointer without a cast 85位 37回 expected expression before ‘ 86位 36回 invalid initializer 87位 34回 type of ‘dat’ defaults to ‘int’ 87位 34回 type of ‘p’ defaults to ‘int’ 89位 32回 decrement of member 'xxx' in read-only object 89位 32回 initialization from incompatible pointer type 89位 32回 lvalue required as decrement operand 92位 31回 zero-length gnu_printf format string 93位 28回 ‘return’ with no value, in function returning non-void 94位 27回 character constant too long for its type 95位 26回 return type defaults to ‘int’ 96位 23回 used struct type value where scalar is required 96位 23回 wrong type argument to increment 98位 22回 function returns address of local variable 98位 22回 parameter 'xxx' has just a forward declaration 98位 22回 two or more data types in declaration specifiers 101位 21回 expected specifier-qualifier-list before 'xxx' 102位 20回 overflow in implicit constant conversion 103位 19回 assignment of read-only parameter 'xxx' 103位 19回 expected ‘;’ before numeric constant 105位 18回 expected ‘]’ before 'xxx' token 105位 18回 format not a string literal and no format arguments 105位 18回 initializer element is not computable at load time 108位 17回 cast to pointer from integer of different size 109位 16回 expected ‘,’ or ‘;’ before 'xxx' (token) 110位 14回 conversion to non-scalar type requested 110位 14回 duplicate label 'xxx' 112位 13回 duplicate case value 112位 13回 embedded ‘\0’ in format 112位 13回 previously used here 115位 12回 continue statement not within a loop 115位 12回 control reaches end of non-void function 115位 12回 expected ‘;’, identifier or ‘(’ before 'xxx' 115位 12回 type of ‘bintree_bt’ defaults to ‘int’ 119位 11回 case label does not reduce to an integer constant 119位 11回 increment of member 'xxx' in read-only object 121位 10回 comparison of distinct pointer types lacks a cast 122位 9回 a label can only be part of a statement and a declaration is not a statement 122位 9回 called object is not a function or function pointer 122位 9回 unknown conversion type character 0xffffffe6 in format 125位 8回 empty character constant 125位 8回 wrong type argument to unary exclamation mark 125位 8回 ここで最初に定義されています 128位 7回 expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ at end of input 129位 6回 'xxx' is used uninitialized in this function 129位 6回 expected identifier or ‘(’ before numeric constant 129位 6回 incompatible types when initializing type ‘char’ using type ‘elem_t {aka struct}’ 132位 5回 case label not within a switch statement 132位 5回 expected ‘;’ at end of input 132位 5回 switch quantity not an integer 132位 5回 unknown escape sequence 132位 5回 useless type name in empty declaration 132位 5回 wrong type argument to decrement 132位 5回 警告 139位 4回 cast from pointer to integer of different size 139位 4回 expected identifier before numeric constant 139位 4回 expected ‘]’ before ‘ 139位 4回 parameter 'xxx' is initialized 139位 4回 redefinition of parameter 'xxx' 139位 4回 spurious trailing ‘%’ in format 139位 4回 unknown conversion type character 0xa in format 146位 3回 assignment of read-only variable 'xxx' 146位 3回 expected ‘)’ before '\x2563' 146位 3回 label 'xxx' used but not defined 146位 3回 label at end of compound statement 146位 3回 null argument where non-null required (argument 1) 146位 3回 unknown conversion type character 0xffffffe3 in format 146位 3回 unused variable 'xxx' 146位 3回 variably modified ‘to’ at file scope 146位 3回 ‘default’ label not within a switch statement 155位 2回 duplicate ‘typedef’ 155位 2回 extra tokens at end of #include directive 155位 2回 increment of read-only variable 'xxx' 155位 2回 initialization discards ‘const’ qualifier from pointer target type 155位 2回 invalid operands to binary | (have ‘node_t * {aka struct node *}’ and ‘node_t * {aka struct node *}’) 155位 2回 static declaration of 'xxx' follows non-static declaration 155位 2回 unknown conversion type character 0x20 in format 155位 2回 variable-sized object may not be initialized 155位 2回 variably modified ‘from’ at file scope 155位 2回 wrong type argument to unary minus 165位 1回 aggregate value used where a float was expected 165位 1回 array size missing in 'xxx' 165位 1回 cannot convert to a pointer type 165位 1回 expected ‘)’ before '\x20213d20' 165位 1回 expected ‘;’ before '\x0' 165位 1回 expected ‘;’, ‘,’ or ‘)’ before numeric constant 165位 1回 field 'xxx' declared as a function 165位 1回 flexible array member not at end of struct 165位 1回 incompatible types when initializing type ‘queue_t * {aka struct *}’ using type ‘queue_t {aka const struct }’ 165位 1回 invalid preprocessing directive #Include 165位 1回 invalid suffix "xxx" on integer constant 165位 1回 no semicolon at end of struct or union 165位 1回 null argument where non-null required (argument 2) 165位 1回 suggest parentheses around assignment used as truth value 165位 1回 type defaults to ‘int’ in type name 165位 1回 type of ‘bintree_t’ defaults to ‘int’ 165位 1回 type of ‘k’ defaults to ‘int’ 165位 1回 type of ‘ra_a’ defaults to ‘int’ 165位 1回 variable or field 'xxx' declared void 165位 1回 writing into constant object (argument 2) ################################################################################