Re: pgsql: Add support to port/snprintf.c for position - Mailing list pgsql-committers

From Bruce Momjian
Subject Re: pgsql: Add support to port/snprintf.c for position
Date
Msg-id 200502220457.j1M4vxM21092@candle.pha.pa.us
Whole thread Raw
In response to Re: pgsql: Add support to port/snprintf.c for position  (Neil Conway <neilc@samurai.com>)
List 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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-committers by date:

Previous
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Add semicolon so snprintf.c goto has a statement to attach to:
Next
From: Neil Conway
Date:
Subject: Re: pgsql: Use _() macro consistently rather than gettext().