On Wed, Jul 17, 2013 at 4:35 PM, Joshua Root wrote: > On 2013-7-17 22:42 , Mojca Miklavec wrote: >> Hi, >> >> I took the liberty to submit my first port to SVN, libcerf, which will >> also be the dependency of (one of) the next version(s) of gnuplot. I >> hope that is OK. The buildbot for Snow Leopard reports an error, but >> I'm unable to interpret it myself. Any hints or help are welcome. The >> wiki seems down, so maybe that is somehow related. >> >> https://build.macports.org/builders/buildports-snowleopard-x86_64/builds/18815 > > <https://build.macports.org/builders/buildports-snowleopard-x86_64/builds/18815/steps/compile/logs/stdio/text> > says: > w_of_z.c:84:40: error: imaginary constants are a GCC extension > > So it looks like it shouldn't be using -pedantic and -Werror together.
The author replied (please CC him if you have any further questions): 2013/7/17 j.wuttke: > http://gcc.gnu.org/gcc-4.2/c99status.html is pretty clear: > > complex (and imaginary) support in <complex.h> => Broken > > - Joachim On Wed, Jul 17, 2013 at 3:51 PM, j.wuttke wrote: > Dear Mojca, > > this compiler issue is not easy. > With gcc-4.7 I get not a single warning. > > Could you please show me the output generated > by the command "make", when starting a fresh > compilation? I would like to see how configure > expands the command $(CC) on your system. I don't have access to Mac OS X 10.6, at least not at the moment. I don't have access to that specific computer, but you can see the complete log here: https://build.macports.org/builders/buildports-snowleopard-x86_64/builds/18815/steps/compile/logs/stdio checking for gcc... /usr/bin/gcc-4.2 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.2 accepts -g... yes checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed checking dependency style of /usr/bin/gcc-4.2... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by /usr/bin/gcc-4.2... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld ... and make: ... make[2]: Entering directory `/opt/local/var/macports/build/_opt_mports_dports_math_libcerf/libcerf/work/libcerf-1.3/lib' /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -pedantic -Wall -Werror -pipe -O2 -arch x86_64 -MT im_w_of_x.lo -MD -MP -MF .deps/im_w_of_x.Tpo -c -o im_w_of_x.lo im_w_of_x.c /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -pedantic -Wall -Werror -pipe -O2 -arch x86_64 -MT erfcx.lo -MD -MP -MF .deps/erfcx.Tpo -c -o erfcx.lo erfcx.c /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -pedantic -Wall -Werror -pipe -O2 -arch x86_64 -MT w_of_z.lo -MD -MP -MF .deps/w_of_z.Tpo -c -o w_of_z.lo w_of_z.c /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -pedantic -Wall -Werror -pipe -O2 -arch x86_64 -MT err_fcts.lo -MD -MP -MF .deps/err_fcts.Tpo -c -o err_fcts.lo err_fcts.c libtool: compile: /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -pedantic -Wall -Werror -pipe -O2 -arch x86_64 -MT im_w_of_x.lo -MD -MP -MF .deps/im_w_of_x.Tpo -c im_w_of_x.c -fno-common -DPIC -o .libs/im_w_of_x.o libtool: compile: /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -pedantic -Wall -Werror -pipe -O2 -arch x86_64 -MT w_of_z.lo -MD -MP -MF .deps/w_of_z.Tpo -c w_of_z.c -fno-common -DPIC -o .libs/w_of_z.o libtool: compile: /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -pedantic -Wall -Werror -pipe -O2 -arch x86_64 -MT erfcx.lo -MD -MP -MF .deps/erfcx.Tpo -c erfcx.c -fno-common -DPIC -o .libs/erfcx.o libtool: compile: /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -pedantic -Wall -Werror -pipe -O2 -arch x86_64 -MT err_fcts.lo -MD -MP -MF .deps/err_fcts.Tpo -c err_fcts.c -fno-common -DPIC -o .libs/err_fcts.o w_of_z.c:84:40: error: imaginary constants are a GCC extension w_of_z.c:176:43: error: imaginary constants are a GCC extension w_of_z.c:180:59: error: imaginary constants are a GCC extension w_of_z.c:225:45: error: imaginary constants are a GCC extension ----------------- >> (The other two buildbots throw a warning that I wasn't able to >> interpret either.) > > You mean this? > libtool: install: warning: remember to run `libtool --finish /opt/local/lib' > > The warnings log just scans for any lines containing "warning". There's > no guarantee they actually indicate a problem. Yes. I noticed it in the meantime. Mojca _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
