mingw compilation problem-> warning: implicit declaration of function `bzero' - Mailing list pgsql-admin

From Rajesh Kumar Mallah
Subject mingw compilation problem-> warning: implicit declaration of function `bzero'
Date
Msg-id a97c77030701271038o7d1d0daem9aef30747aa18fa@mail.gmail.com
Whole thread Raw
Responses Re: mingw compilation problem-> warning: implicit declaration of function `bzero'
List pgsql-admin
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.

pgsql-admin by date:

Previous
From: Click4ship
Date:
Subject: Unsuscribe
Next
From: Tom Lane
Date:
Subject: Re: mingw compilation problem-> warning: implicit declaration of function `bzero'