This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: ptype of prototype of a funtion
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: gdb at sources dot redhat dot com, mukeshgct at hotpop dot com
- Date: Thu, 18 Mar 2004 14:51:55 -0500 (EST)
- Subject: 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