[Bug fortran/49738] Compile errors on OSX darwin 11 (Lion)
bosephus61 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Jul 13 21:53:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49738
--- Comment #3 from bosephus61 at gmail dot com 2011-07-13 21:53:19 UTC ---
I'll have to check as that's likely the case since I have apple Xcode 4.1
installed.
On Jul 13, 2011, at 2:46 PM, howarth at nitro dot med.uc.edu wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49738
>
> Jack Howarth <howarth at nitro dot med.uc.edu> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |howarth at nitro dot
> | |med.uc.edu
>
> --- Comment #2 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-07-13 21:45:23 UTC ---
> If you built stock gmp 5.0.2 under llvm-gcc, you have a broken gmp (which a
> make check will show you). The fix is to apply...
>
>
> -- gmp-5.0.2/acinclude.m4.orig 2011-05-17 19:03:09.000000000 -0400
> +++ gmp-5.0.2/acinclude.m4 2011-05-17 19:03:43.000000000 -0400
> @@ -1941,8 +1941,8 @@
> esac
>
> cat >conftest.c <<EOF
> -extern const int foo[]; /* Suppresses C++'s suppression of foo
> */
> -const int foo[] = {1,2,3};
> +extern const int foo[[]]; /* Suppresses C++'s suppression of foo
> */
> +const int foo[[]] = {1,2,3};
> EOF
> echo "Test program:" >&AC_FD_CC
> cat conftest.c >&AC_FD_CC
> --- gmp-5.0.2/configure.orig 2011-05-17 19:15:41.000000000 -0400
> +++ gmp-5.0.2/configure 2011-05-17 19:16:00.000000000 -0400
> @@ -26446,8 +26446,8 @@
> esac
>
> cat >conftest.c <<EOF
> -extern const int foo; /* Suppresses C++'s suppression of foo */
> -const int foo = {1,2,3};
> +extern const int foo[]; /* Suppresses C++'s suppression of foo */
> +const int foo[] = {1,2,3};
> EOF
> echo "Test program:" >&5
> cat conftest.c >&5
>
> http://gmplib.org/list-archives/gmp-bugs/2011-April/002236.html
> http://gmplib.org/list-archives/gmp-bugs/2011-May/002255.html
> http://gmplib.org/list-archives/gmp-bugs/2011-May/002256.html
>
> --
> Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
More information about the Gcc-bugs
mailing list