This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ptype of prototype of a funtion


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]