Use Solaris gcc (compiling with studio no longer works after version 2.7). Le mar. 07/05/2013 à 15:08, drewB a écrit : > Compiling version 3.3.4 on Solaris 10 using Solaris Studio 12.3, I get the > following error: > > ... > Making all in format > source='Config.cc' object='Config.lo' libtool=yes \ > DEPDIR=.deps depmode=none /bin/bash ../../cfgaux/depcomp \ > /bin/bash ../../libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H > -I../.. -I../../include -I../../lib -I../../src -I../../include > -I../../libltdl -errwarn=%all,no%badargtype2w,no%wbadinit,no%wbadasg > -errtags -D_REENTRANT -lpthread -g -c -o Config.lo Config.cc > libtool: compile: CC -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib > -I../../src -I../../include -I../../libltdl > -errwarn=%all,no%badargtype2w,no%wbadinit,no%wbadasg -errtags -D_REENTRANT > -lpthread -g -c Config.cc -KPIC -DPIC -o .libs/Config.o > libtool: compile: CC -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib > -I../../src -I../../include -I../../libltdl > -errwarn=%all,no%badargtype2w,no%wbadinit,no%wbadasg -errtags -D_REENTRANT > -lpthread -g -c Config.cc -o Config.o >/dev/null 2>&1 > source='Format.cc' object='Format.lo' libtool=yes \ > DEPDIR=.deps depmode=none /bin/bash ../../cfgaux/depcomp \ > /bin/bash ../../libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H > -I../.. -I../../include -I../../lib -I../../src -I../../include > -I../../libltdl -errwarn=%all,no%badargtype2w,no%wbadinit,no%wbadasg > -errtags -D_REENTRANT -lpthread -g -c -o Format.lo Format.cc > libtool: compile: CC -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib > -I../../src -I../../include -I../../libltdl > -errwarn=%all,no%badargtype2w,no%wbadinit,no%wbadasg -errtags -D_REENTRANT > -lpthread -g -c Format.cc -KPIC -DPIC -o .libs/Format.o > "Format.cc", line 82: Error, wvarhidemem: name hides Format::Format::name. > "Format.cc", line 87: Error, wvarhidemem: format hides > Format::Format::format. > 2 Error(s) detected. > *** Error code 1 > > Configuration parameters are: ./configure --prefix=/usr/local/squid > --with-logdir=/var/log/squid --without-krb5-config > > Is this just caused by the strictness of the compiler and if so is there an > option to override it during the make? > > Thanks > > > > > > > -- > View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/3-3-4-compilation-error-on-Solaris-10-tp4659827.html > Sent from the Squid - Users mailing list archive at Nabble.com.