Ed Smith-Rowland wrote:
Kaveh R. GHAZI wrote:
A prerelease tarball of the upcoming mpc-0.8 is available here:
http://www.multiprecision.org/mpc/download/mpc-0.8-dev.tar.gz

This release is feature complete with respect to C99 and GCC's needs.
So I expect to make this version be the one made mandatory for the
gcc-4.5 release.  If there are any remaining bugs especially
portability problems to GCC's primary or secondary platforms, I'd like
to get those reported and fixed before this release is final.

Please test this MPC package and report back the results of running
"make check" along with your target triplet, the compiler version you
used, and the versions of gmp/mpfr used to compile it.  You do not
necessarily need to bootstrap mainline GCC with this MPC, but if you
have the spare time and cycles it would be nice too.

        Thanks,
        --Kaveh
--
Kaveh R. Ghazi            gh...@caip.rutgers.edu

I'm on MacOSX 10.3

MacOSX:~/Tarballs/mpc-0.8-dev ed$ gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1671)

The -Werror kills it.
This warning is familiar.

MacOSX:~/Tarballs/mpc-0.8-dev ed$ make
make  all-recursive
make[1]: Entering directory `/Users/ed/Tarballs/mpc-0.8-dev'
Making all in src
make[2]: Entering directory `/Users/ed/Tarballs/mpc-0.8-dev/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pedantic -Wno-long-long -Wall -Werror -O2 -pedantic -mpowerpc -no-cpp-precomp -force_cpusubtype_ALL -mcpu=7450 -MT abs.lo -MD -MP -MF .deps/abs.Tpo -c -o abs.lo abs.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pedantic -Wno-long-long -Wall -Werror -O2 -pedantic -mpowerpc -no-cpp-precomp -force_cpusubtype_ALL -mcpu=7450 -MT abs.lo -MD -MP -MF .deps/abs.Tpo -c abs.c -fno-common -DPIC -o .libs/abs.o
In file included from mpc-impl.h:33,
                from abs.c:22:
mpc.h:148: warning: use of `long double' type; its size may change in a future release mpc.h:148: warning: (Long double usage is reported only once for each file.
mpc.h:148: warning: To disable this warning, use -Wno-long-double.)
make[2]: *** [abs.lo] Error 1
make[2]: Leaving directory `/Users/ed/Tarballs/mpc-0.8-dev/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Users/ed/Tarballs/mpc-0.8-dev'
make: *** [all] Error 2



Once I deleted -Werror out of the makefiles...

===================
All 57 tests passed
===================

I don't know how you would tweak the configure to kill this -Werror for mac but that would do it.

Ed

Reply via email to