Re: pg_dumpall.c missing include time.h?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_dumpall.c missing include time.h?
Date: 2004-06-09 17:05:34
Message-ID: 200406091705.i59H5Y700172@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Added time.h to pg_dumpall.c. Thanks.

---------------------------------------------------------------------------

Alvaro Herrera wrote:
> I got:
>
> gcc -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes -Wmissing-declarations -I/home/alvherre/CVS/pgsql/source/13commitOpt/src/interfaces/libpq -I../../../src/include -I/home/alvherre/CVS/pgsql/source/13commitOpt/src/include -D_GNU_SOURCE -DFRONTEND -c -o pg_dumpall.o /home/alvherre/CVS/pgsql/source/13commitOpt/src/bin/pg_dump/pg_dumpall.c -MMD
> /home/alvherre/CVS/pgsql/source/13commitOpt/src/bin/pg_dump/pg_dumpall.c: In function `dumpTimestamp':
> /home/alvherre/CVS/pgsql/source/13commitOpt/src/bin/pg_dump/pg_dumpall.c:826: warning: implicit declaration of function `time'
> /home/alvherre/CVS/pgsql/source/13commitOpt/src/bin/pg_dump/pg_dumpall.c:828: warning: implicit declaration of function `strftime'
> /home/alvherre/CVS/pgsql/source/13commitOpt/src/bin/pg_dump/pg_dumpall.c:828: warning: implicit declaration of function `localtime'
>
> --
> Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
> "La naturaleza, tan fr?gil, tan expuesta a la muerte... y tan viva"
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2004-06-09 17:05:43 Re: Frequently updated tables
Previous Message Bruce Momjian 2004-06-09 17:04:20 Re: thread safety tests