Jakub Jelinek <ja...@redhat.com> writes: > That looks wrong, the test was intentionally looking for badly implemented > vsnprintf, see > http://www.gnu.org/software/gnulib/manual/html_node/snprintf.html > "This function does not return a byte count as specified in C99 on some > platforms: HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 9, mingw." > > The implementation relies on the returned byte count to be exactly correct, > so it can't be implemented on platforms where that is not the case. > > Not sure which of the targets from the above list we still support, > certainly at least mingw, though in that case I don't know if it hasn't been > fixed there. So, as Joseph said, you probably should keep the runtime test > as is, and just for cross compiling replace the unconditional =undef with > an optimistic assumption followed by a blacklist of platforms where it is > known not to work.
IRIX 6.5 and Tru64 UNIX V5.1 support have been removed in GCC 4.8, but Solaris 9 is still supported up to GCC 4.9, though deprecated. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University