From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: mingw compilation problem-> warning: implicit declaration of function `bzero'
Date: Sat, 27 Jan 2007 13:56:01 -0500
Message-ID: <7590.1169924161@sss.pgh.pa.us> (raw)
In-Reply-To: <a97c77030701271038o7d1d0daem9aef30747aa18fa@mail.gmail.com>
References: <a97c77030701271038o7d1d0daem9aef30747aa18fa@mail.gmail.com>
"Rajesh Kumar Mallah" <mallah.rajesh@gmail.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, mallah.rajesh@gmail.com
Subject: Re: mingw compilation problem-> warning: implicit declaration of function `bzero'
In-Reply-To: <7590.1169924161@sss.pgh.pa.us>
References: <a97c77030701271038o7d1d0daem9aef30747aa18fa@mail.gmail.com> <7590.1169924161@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox