Skip to content
Snippets Groups Projects
Commit 27795565 authored by Basile Desloges's avatar Basile Desloges
Browse files

[kernel] Update test oracles

parent 3a335ee4
No related branches found
No related tags found
No related merge requests found
Showing with 20 additions and 22 deletions
[kernel] Parsing used_before_decl_bts0109.i (no preprocessing)
[kernel:typing:no-proto] used_before_decl_bts0109.i:3: Warning:
Calling function f that is declared without prototype.
Its formals will be inferred from actual arguments
Its formals will be inferred from actual arguments.
Declare it as f(void) if the function does not take any parameters.
[kernel:typing:implicit-function-declaration] used_before_decl_bts0109.i:3: Warning:
Calling undeclared function h. Old style K&R code?
/* Generated by Frama-C */
......
[kernel] Parsing extern_init.i (no preprocessing)
[kernel] Parsing extern_init_1.i (no preprocessing)
[kernel] Parsing extern_init_2.i (no preprocessing)
[kernel:typing:no-proto] extern_init_2.i:10: Warning:
Calling function f that is declared without prototype.
Its formals will be inferred from actual arguments
[kernel:typing:no-proto] extern_init_2.i:11: Warning:
Calling function g that is declared without prototype.
Its formals will be inferred from actual arguments
[eva] Analyzing a complete application starting at main
[eva] Computing initial state
[eva] Initial state computed
......
[kernel] Parsing extern_init.i (no preprocessing)
[kernel] Parsing extern_init_2.i (no preprocessing)
[kernel:typing:no-proto] extern_init_2.i:10: Warning:
Calling function f that is declared without prototype.
Its formals will be inferred from actual arguments
[kernel:typing:no-proto] extern_init_2.i:11: Warning:
Calling function g that is declared without prototype.
Its formals will be inferred from actual arguments
[kernel] Parsing extern_init_1.i (no preprocessing)
[eva] Analyzing a complete application starting at main
[eva] Computing initial state
......
[kernel] Parsing implicit_args_bts1267.i (no preprocessing)
[kernel:typing:no-proto] implicit_args_bts1267.i:7: Warning:
Calling function f that is declared without prototype.
Its formals will be inferred from actual arguments
Its formals will be inferred from actual arguments.
Declare it as f(void) if the function does not take any parameters.
/* Generated by Frama-C */
extern unsigned short t[100000];
......
[kernel] Parsing inconsistent_decl.c (with preprocessing)
[kernel:typing:no-proto] inconsistent_decl.c:12: Warning:
Calling function f that is declared without prototype.
Its formals will be inferred from actual arguments
Its formals will be inferred from actual arguments.
Declare it as f(void) if the function does not take any parameters.
[kernel] Parsing inconsistent_decl_2.i (no preprocessing)
[kernel] User Error: Incompatible declaration for f:
different type constructors:
......
......@@ -3,7 +3,8 @@
Calling undeclared function bar. Old style K&R code?
[kernel:typing:no-proto] issue-641-implicit-calls.c:25: Warning:
Calling function bar that is declared without prototype.
Its formals will be inferred from actual arguments
Its formals will be inferred from actual arguments.
Declare it as bar(void) if the function does not take any parameters.
[kernel] issue-641-implicit-calls.c:25: User Error:
nested calls of bar without a prototype and incompatible arguments : different integer types:
'int' and 'unsigned int'
......
......@@ -3,7 +3,8 @@
Calling undeclared function bar. Old style K&R code?
[kernel:typing:no-proto] issue-641-implicit-calls.c:29: Warning:
Calling function bar that is declared without prototype.
Its formals will be inferred from actual arguments
Its formals will be inferred from actual arguments.
Declare it as bar(void) if the function does not take any parameters.
[kernel] issue-641-implicit-calls.c:29: User Error:
nested calls of bar without a prototype and incompatible arguments : different number of arguments
27
......
[kernel] Parsing no_prototype.i (no preprocessing)
[kernel:typing:no-proto] no_prototype.i:9: Warning:
Calling function foo that is declared without prototype.
Its formals will be inferred from actual arguments
Its formals will be inferred from actual arguments.
Declare it as foo(void) if the function does not take any parameters.
[kernel] no_prototype.i:11: User Error:
Declaration of foo does not match previous declaration from no_prototype.i:6 (different number of arguments).
9 foo();
......
[kernel] Parsing reject_use_decl_mismatch_bts728.c (with preprocessing)
[kernel:typing:no-proto] reject_use_decl_mismatch_bts728.c:15: Warning:
Calling function f that is declared without prototype.
Its formals will be inferred from actual arguments
Its formals will be inferred from actual arguments.
Declare it as f(void) if the function does not take any parameters.
[kernel] reject_use_decl_mismatch_bts728.c:19: User Error:
Declaration of f does not match previous declaration from reject_use_decl_mismatch_bts728.c:7 (different number of arguments).
17 }
......
......@@ -3,7 +3,8 @@
Calling undeclared function f. Old style K&R code?
[kernel:typing:no-proto] variadic.i:27: Warning:
Calling function h that is declared without prototype.
Its formals will be inferred from actual arguments
Its formals will be inferred from actual arguments.
Declare it as h(void) if the function does not take any parameters.
/* Generated by Frama-C */
typedef char tt;
struct T {
......
[kernel] Parsing vdefined_bts1241.i (no preprocessing)
[kernel:typing:no-proto] vdefined_bts1241.i:15: Warning:
Calling function h that is declared without prototype.
Its formals will be inferred from actual arguments
Its formals will be inferred from actual arguments.
Declare it as h(void) if the function does not take any parameters.
[kernel] Parsing vdefined_bts1241_1.i (no preprocessing)
[kernel:typing:no-proto] vdefined_bts1241_1.i:7: Warning:
Calling function f that is declared without prototype.
Its formals will be inferred from actual arguments
Its formals will be inferred from actual arguments.
Declare it as f(void) if the function does not take any parameters.
/* Generated by Frama-C */
int f(void);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment