mingw compilation problem-> warning: implicit declaration of function `bzero'

From: "Rajesh Kumar Mallah" <mallah(dot)rajesh(at)gmail(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: mingw compilation problem-> warning: implicit declaration of function `bzero'
Date: 2007-01-27 18:38:28
Message-ID: a97c77030701271038o7d1d0daem9aef30747aa18fa@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2007-01-27 18:56:01 Re: mingw compilation problem-> warning: implicit declaration of function `bzero'
Previous Message Click4ship 2007-01-27 17:05:18 Unsuscribe