[Bug c++/63789] g++ -m32 on solaris has trouble finding abs with int64_t

2014-11-11 Thread richard at netbsd dot org
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?

[Bug c++/63789] g++ -m32 on solaris has trouble finding abs with int64_t

2014-11-09 Thread glisse at gcc dot gnu.org
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 *

[Bug c++/63789] g++ -m32 on solaris has trouble finding abs with int64_t

2014-11-09 Thread richard at netbsd dot org
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