Re: ptype of prototype of a funtion

Michael Elizabeth Chastain
2004-03-18T19:52:01Z

Hello,

> test.c: In function `main':
> test.c:10: warning: passing arg 3 of `PEM_read_bio_PKCS8_PRIV_KEY_INFO' from
> incompatible pointer type

gcc produces this warning because your source code does not match the
function prototype in the appropriate header (*.h) file.

gdb does not use the information in the header file; it works from
the information in the library (*.a or *.so file).

You need to find a local C programming expert and get some advice.
This isn't a gdb problem.

Michael C