Re: CVS HEAD is broken by flex

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CVS HEAD is broken by flex
Дата
Msg-id 10971.1189569871@sss.pgh.pa.us
обсуждение исходный текст
Ответ на CVS HEAD is broken by flex  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> The suspect is flex (or yy template file). It defines "__unused" to
> be empty, but netdb.h uses "__unused" as a variable.

Egad.  Shouldn't there be villagers breaking down the flex hackers'
front door with torches and pitchforks in hand?  Why is it our problem
to fix their stupidity?

> [src/bin/psql/psqlscan.c]
>       9 #if defined(__FreeBSD__)
>      10 #include <sys/cdefs.h>
>      11 #else
> ->   12 #define __unused
>      13 #endif

Surely lines 11 and 12 should simply go away.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: invalidly encoded strings
Следующее
От: Tom Lane
Дата:
Сообщение: Re: buildfarm failure after ICC configure change