From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3290 invoked by alias); 18 Mar 2004 19:52:01 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 3259 invoked from network); 18 Mar 2004 19:52:00 -0000 Received: from unknown (HELO tisch.mail.mindspring.net) (207.69.200.157) by sources.redhat.com with SMTP; 18 Mar 2004 19:52:00 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by tisch.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1B43Yd-0002be-00; Thu, 18 Mar 2004 14:51:59 -0500 Received: by berman.michael-chastain.com (Postfix, from userid 502) id 0363E4B104; Thu, 18 Mar 2004 14:51:55 -0500 (EST) To: gdb@sources.redhat.com, mukeshgct@hotpop.com Subject: Re: ptype of prototype of a funtion Message-Id: <20040318195155.0363E4B104@berman.michael-chastain.com> Date: Thu, 18 Mar 2004 19:52:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2004-03/txt/msg00175.txt.bz2 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