Re: pgsql: Add support to port/snprintf.c for position

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Add support to port/snprintf.c for position
Date: 2005-02-22 04:57:59
Message-ID: 200502220457.j1M4vxM21092@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Neil Conway wrote:
> Bruce Momjian wrote:
> > Add support to port/snprintf.c for position parameter specification
>
> Please unbreak the build:
>
> [neilc:/home/neilc/build_pgsql]% make -s
> /home/neilc/pgsql/src/port/snprintf.c: In function `dopr':
> /home/neilc/pgsql/src/port/snprintf.c:472: error: label at end of
> compound statement
> make[2]: *** [snprintf.o] Error 1

OK, fixed by adding a semicolon:

nochar:
/* nothing */
; /* semicolon required because a goto has to be attached to a statement */

--
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-committers by date

  From Date Subject
Next Message Neil Conway 2005-02-22 05:07:53 Re: pgsql: Use _() macro consistently rather than gettext().
Previous Message Bruce Momjian 2005-02-22 04:57:41 pgsql: Add semicolon so snprintf.c goto has a statement to attach to: