Eric Botcazou <ebotca...@adacore.com> writes: >> This patch restores bootstrap on i386-*-freebsd*. >> The build was failing after the introduction of -std=c++98 >> configure/build flag. The -std=c++98 enables strict_ansi and on FreeBSD >> the libc function atoll is not defined for this. > > Solaris (x86 and SPARC) is also broken in various ways: for example, the > "sun" > preprocessor macro is no more defined. Why do we need strict ANSI exactly?
Only Solaris 10, actually: Solaris 11 isn't affected since it has clearenv(3C). OTOH, why use sun in this place instead of __sun__ (or rather __sun__ && __svr4__) like any other platform? Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University