This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/63789] g++ -m32 on solaris has trouble finding abs with int64_t
- From: "richard at netbsd dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 09 Nov 2014 10:45:28 +0000
- Subject: [Bug c++/63789] g++ -m32 on solaris has trouble finding abs with int64_t
- Auto-submitted: auto-generated
- References: <bug-63789-4 at http dot gcc dot gnu dot org/bugzilla/>
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 should be able to build as is, though.