ptype of prototype of a funtion

Michael Elizabeth Chastain mec.gnu@mindspring.com
Thu Mar 18 19:52:00 GMT 2004


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



More information about the Gdb mailing list