This is the mail archive of the
mailing list for the libstdc++ project.
Solaris 2.8 -- #undef'd ostream::operator<<(long long)
- To: libstdc++ at gcc dot gnu dot org
- Subject: Solaris 2.8 -- #undef'd ostream::operator<<(long long)
- From: Denis Vakatov <vakatov at ncbi dot nlm dot nih dot gov>
- Date: Fri, 22 Jun 2001 12:42:43 -0400 (EDT)
- CC: vakatov at peony dot nlm dot nih dot gov
The IOSTREAM formatting I/O apparently has ceased to exist on
Solaris 2.8 (and, I guess, all other "non-C99" platforms):
# iostreams require strtoll, strtoull to compile. If the
# GLIBCPP_ENABLE_C99 tests found these, and if C99 support is enabled,
# go ahead and allow long long to be used.
if test x"$enable_c99" = x"no"; then
I may not know the whole truth ;-), but this looks a bit of extreme to
me to disable IOSTREAMs "long long" support, which (according to the
above CONFIGURE comment) does not actually require 100% C99 conformance...
Maybe it would be enough to just add a CONFIGURE test
for strtoll() and strtoull(), and enable IOSTREAMs "long long" support
if these two are available (they are present in Solaris 2.8).
What do you think?