Re: [chrony-dev] [GIT] chrony/chrony.git branch master updated. 4.3-32-gbadaa83

2023-01-18 Thread David Bohman
Here is a simple test along the lines of this issue: #if 0 #define A(x)(x) #endif #if defined(A) && A(1) one #endif Try running the preprocessor on it: % clang -E test.c # 1 "test.c" # 1 "" 1 # 1 "" 3 # 382 "" 3 # 1 "" 1 # 1 "" 2 # 1 "test.c" 2 test.c:5:19: error: function-like macro 'A'

Re: [chrony-dev] [GIT] chrony/chrony.git branch master updated. 4.3-32-gbadaa83

2023-01-18 Thread David Bohman
Yes, I used that patch and built the TOT without any problems. It is now running on this system. Are we going to take that patch? On Wed, Jan 18, 2023 at 9:24 AM Bryan Christianson wrote: > > I fixed it with this patch. > > git diff > diff --git a/refclock_sock.c b/refclock_sock.c > index

Re: [chrony-dev] [GIT] chrony/chrony.git branch master updated. 4.3-32-gbadaa83

2023-01-18 Thread David Bohman
Yes, I agree. It did not build for me, either. refclock_sock.c:64:32: error: function-like macro '__GLIBC_PREREQ' is not defined #if defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 34) && __TIMESIZE == 32 ^ 1 error generated. gcc -O2 -g -fstack-protector-strong

Re: [chrony-dev] [GIT] chrony/chrony.git branch master updated. 4.3-32-gbadaa83

2023-01-18 Thread Bryan Christianson
I fixed it with this patch. git diff diff --git a/refclock_sock.c b/refclock_sock.c index 2302b9d..59eafd6 100644 --- a/refclock_sock.c +++ b/refclock_sock.c @@ -61,7 +61,8 @@ struct sock_sample { /* On 32-bit glibc-based systems enable conversion between timevals using 32-bit and

Re: [chrony-dev] [GIT] chrony/chrony.git branch master updated. 4.3-32-gbadaa83

2023-01-18 Thread Bryan Christianson
Hi Miroslav This change does not compile on macOS. refclock_sock.c:64:32: error: function-like macro '__GLIBC_PREREQ' is not defined #if defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 34) && __TIMESIZE == 32 ^ gcc --version Apple clang version 14.0.0

[chrony-dev] [GIT] chrony/chrony.git branch master updated. 4.3-32-gbadaa83

2023-01-18 Thread git
This is an automated email from git. It was generated because a ref change was pushed to the "chrony/chrony.git" repository. The branch, master has been updated via badaa83c319ae5a0bef872d1e7a55bf1260c1b84 (commit) from bbeec7361c339090cbca0356b83a4131f9b4502a (commit) Those