[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 richard at netbsd dot org --- 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 richard at netbsd dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63789 --- Comment #1 from Richard PALO richard at netbsd dot org --- I should mention that rendering the test program pure c++ by replacing the first two lines with: #include cstdlib #include cmath allows the snippet build with both -m32 and -m64. It

[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 glisse at gcc dot gnu.org --- 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