pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: mingw compilation problem-> warning: implicit declaration of function `bzero'
Date: Sun, 28 Jan 2007 00:08:28 +0530
Message-ID: <a97c77030701271038o7d1d0daem9aef30747aa18fa@mail.gmail.com> (raw)

hi,
this is not really a postgres issue.

i am trying to compile a trigger function under MINGW32. its giving the
said warning. the call of bzero is

 bzero(data, sizeof(AuditData));

$  gcc --version
gcc.exe (GCC) 3.4.2 (mingw-special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

the code compiles fine under linux gcc (version not sure)

can anyone please suggest how to prevent this warning.

regds
mallah.



view thread (3+ messages)  latest in thread

Message-ID: <a97c77030701271038o7d1d0daem9aef30747aa18fa@mail.gmail.com>
Permalink:  ../a97c77030701271038o7d1d0daem9aef30747aa18fa@mail.gmail.com/
Also on:    postgresql.org/message-id/a97c77030701271038o7d1d0daem9aef30747aa18fa@mail.gmail.com

 · 

reply

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: mallah.rajesh@gmail.com
  Subject: Re: mingw compilation problem-> warning: implicit declaration of function `bzero'
  In-Reply-To: <a97c77030701271038o7d1d0daem9aef30747aa18fa@mail.gmail.com>
  References: <a97c77030701271038o7d1d0daem9aef30747aa18fa@mail.gmail.com>

* 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