codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
$ gcc -ansi -pedantic -Wall -Wextra foo.c -o foo foo.c: In function ‘main’: foo.c:15:2: warning: passing argument 1 of ‘foo’ from incompatible pointer type [enabled by default] foo(bar); ^ foo.c:8:6: note: expected ‘void * (*)(void)’ but argument is of type ‘void (*)(void)’ void foo(void *callback(void)) ^
Private
[
?
]
Run code
Submit