Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 41F129FB286 for ; Sat, 27 Jan 2007 14:56:06 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 20063-02 for ; Sat, 27 Jan 2007 14:56:03 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 93CC09FB1D7 for ; Sat, 27 Jan 2007 14:56:03 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l0RIu10X007591; Sat, 27 Jan 2007 13:56:01 -0500 (EST) To: "Rajesh Kumar Mallah" cc: "pgsql-admin@postgresql.org" Subject: Re: mingw compilation problem-> warning: implicit declaration of function `bzero' In-reply-to: References: Comments: In-reply-to "Rajesh Kumar Mallah" message dated "Sun, 28 Jan 2007 00:08:28 +0530" Date: Sat, 27 Jan 2007 13:56:01 -0500 Message-ID: <7590.1169924161@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/251 X-Sequence-Number: 24407 "Rajesh Kumar Mallah" writes: > i am trying to compile a trigger function under MINGW32. its giving the > said warning. the call of bzero is > bzero(data, sizeof(AuditData)); bzero() is long obsolete, and was never officially standard AFAIK. Use memset() instead: memset(data, 0, sizeof(AuditData)); regards, tom lane