https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63789
--- Comment #3 from Richard PALO ---
Apparently with gcc 4.8.2 on Or*acle Solaris 11.2 the error manifests itself as
well. Perhaps there is something [in the works] for s12?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63789
--- Comment #2 from Marc Glisse ---
long long (or int64_t) is not part of C++03, so solaris headers don't provide
the overload. We complete the set of overloads in c* headers, but there is a
well known bug that we don't provide wrappers for the *
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63789
--- Comment #1 from Richard PALO ---
I should mention that rendering the test program pure c++ by replacing the
first two lines with:
>#include
>#include
allows the snippet build with both -m32 and -m64.
It should be able to build as is, though