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