From: Alexander H. <ale...@gm...> - 2011-11-23 15:22:48
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/22/11 10:10 PM, Paul Taylor wrote: For context: g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/sw/etc/squid.conf\" - -DDEFAULT_SQUID_DATA_DIR=\"/sw/share\" - -DDEFAULT_SQUID_CONFIG_DIR=\"/sw/etc\" -I.. -I../include -I../src - -I../include -I../src -I/sw/lib/openssl/include -I/sw/include -Wall - -Wpointer-arith -Wwrite-strings -Wcomments -Werror -fhuge-objects - -D_REENTRANT -g -O2 -c -o wccp.o wccp.cc > wccp.cc:350:45: error: argument to 'sizeof' in 'memset' call is the > same expression as the destination; did you mean to dereference > it? [-Werror,-Wsizeof-pointer-memaccess] memset(wccp_assign_bucket, > '\0', sizeof(wccp_assign_bucket)); ~~~~~~~~~~~~~~~~~~ > ^~~~~~~~~~~~~~~~~~ 1 error generated. make[3]: *** [wccp.o] Error > 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** > [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** > [all-recursive] Error 1 ### execution of /var/tmp/tmp.1.6gQ6v1 > failed, exit code 2 Removing runtime build-lock... Removing > build-lock package... /sw/bin/dpkg-lockwait -r > fink-buildlock-squid-unified-3.1.14-1 (Reading database ... 6269 > files and directories currently installed.) Removing > fink-buildlock-squid-unified-3.1.14-1 ... Failed: phase compiling: > squid-unified-3.1.14-1 failed > > Package manager version: 0.31.5 Distribution version: > selfupdate-rsync Tue Nov 22 22:03:00 2011, 10.7, x86_64 Trees: > local/main stable/main Xcode: 4.2.1 > This may be a case where clang is even stricter in Xcode 4.2 than it was in 4.1, since I had built squid-unified at some point, but it fails now. - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7ND7oACgkQB8UpO3rKjQ/JFACgpkcLOMAtKkq7P2lYpsoqz54p oEYAoKGpPuSIA/Q5mbr3HIc9+9wB5HCj =mAkg -----END PGP SIGNATURE----- |