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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgsql: Add support to port/snprintf.c for position
Дата
Msg-id 200502220457.j1M4vxM21092@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Add support to port/snprintf.c for position  (Neil Conway <neilc@samurai.com>)
Список 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 по дате отправления:

Предыдущее
От: momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Add semicolon so snprintf.c goto has a statement to attach to:
Следующее
От: Neil Conway
Дата:
Сообщение: Re: pgsql: Use _() macro consistently rather than gettext().