Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group