From srw@zanshin.com Fri Nov 22 20:55:08 1996 Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id UAA14580 for ; Fri, 22 Nov 1996 20:55:08 -0500 Received: from shell.wco.com by MIT.EDU with SMTP id AA04390; Fri, 22 Nov 96 20:55:07 EST Received: from hiro.zanshin.com (root@gw.zanshin.com [199.4.94.83]) by shell.wco.com (8.8.3/8.6.12) with ESMTP id RAA02155 for ; Fri, 22 Nov 1996 17:55:04 -0800 (PST) Received: from [206.155.48.5] (reason.zanshin.com [206.155.48.5]) by hiro.zanshin.com (8.8.2/8.8.2) with ESMTP id RAA10508 for ; Fri, 22 Nov 1996 17:55:03 -0800 Message-Id: Date: Fri, 22 Nov 1996 17:55:01 -0800 From: Steve R Webster To: krb5-bugs@MIT.EDU Subject: "db.h - __P redefined" warnings >Number: 230 >Category: krb5-libs >Synopsis: "db.h - __P redefined" warnings >Confidential: yes >Severity: serious >Priority: medium >Responsible: eichin >State: closed >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Fri Nov 22 20:56:01 EST 1996 >Last-Modified: Sat Jan 25 22:37:17 EST 1997 >Originator: >Organization: >Release: >Environment: >Description: >How-To-Repeat: >Fix: >Audit-Trail: Responsible-Changed-From-To: gnats-admin->eichin Responsible-Changed-By: eichin Responsible-Changed-When: Sat Nov 23 18:04:33 1996 Responsible-Changed-Why: this was on my pre-branch list. State-Changed-From-To: open-feedback State-Changed-By: eichin State-Changed-When: Sat Nov 23 18:04:36 1996 State-Changed-Why: Linux and NetBSD systems both show the problem; db.h has been changed appropriately for 1.0. From: Tom Yu To: "Mark W. Eichin" Cc: krb5-bugs@MIT.EDU Subject: Re: krb5-libs/230: "db.h - __P redefined" warnings Date: Sun, 24 Nov 1996 22:12:20 -0500 `Tom Yu' made changes to this PR. *** /tmp/gnatsa0036h Sun Nov 24 22:11:33 1996 --- /tmp/gnatsb0036h Sun Nov 24 22:11:53 1996 *************** *** 11,17 **** Subject: "db.h - __P redefined" warnings >Number: 230 ! >Category: pending >Synopsis: "db.h - __P redefined" warnings >Confidential: yes >Severity: serious --- 11,17 ---- Subject: "db.h - __P redefined" warnings >Number: 230 ! >Category: krb5-libs >Synopsis: "db.h - __P redefined" warnings >Confidential: yes >Severity: serious State-Changed-From-To: feedback-closed State-Changed-By: tlyu State-Changed-When: Sat Jan 25 22:36:52 1997 State-Changed-Why: Seeing no further reports about this, I'm closing this bug. >Unformatted: Hi- On Linux 2.0.23, gcc 2.7.0, the file /usr/include/sys/cdefs.h and kerb5/src/include/db.h both want to define __P, resulting in a warning (lots of times). Wrapping the db.h line in #ifndef fixes. -steve