Re: [squid-users] using clang to compile squid 4-5

2019-02-01 Thread graf huy
Hi, >I'm not sure I follow that. Are you building with patched GCC? or a >patched libc? or something else? No, these are the versions used. (ldd --version) ldd (Debian GLIBC2.28-5) 2.28 Copyright © 2018Free Software Foundation, Inc. (gcc -v) Using built-inspecs. COLLECT_GCC=gcc COLL

Re: [squid-users] using clang to compile squid 4-5

2019-01-30 Thread graf huy
> path, path, sizeof(tree -> path)); ^ smblib-util.c:542:5: error: ‘strncpy’ specified bound 20 equals destination size [-Werror=stringop-truncation] strncpy(tree -> device_type, device, sizeof(tree -> device_type)); ^

[squid-users] using clang to compile squid 4-5

2019-01-22 Thread graf huy
Hi, The purpose is to compile squid to get HTTPS or SSL with bump support, on Debian 10 (Buster). After trying to compile squid-4-5  with clang (clang version 7.0.1-4 (tags/RELEASE_701/final)), it doesn't work. Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin Found candida