ITAGAKI Takahiro <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq