Simon Riggs escribió:
> Looks like that really is a deficiency in my tool chain on OSX, rather than
> some bug/user error. Even at the very latest, very shiny version.
>
> Latest versions of gcc trap the error, so I'll have to investigate an
> alternative.
Funnily enough, on Debian Wheezy with gcc 4.7.2 I don't get the warning,
and Andres with gcc 4.7.3 (from Debian unstable) does see it. (Of
course, the 4.8 version shipped with unstable also shows it.)
Clang similarly requires pretty new versions to show the warning.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services