Re: Debian sa-exim with version 4.99-4
Andreas Metzler via Exim-users <[email protected]> Mon, 24 Nov 2025 12:21:05 +0100
| Newsgroups | gmane.mail.exim.user |
|---|---|
| Message-ID | <[email protected]> |
On 2025-11-23 Jeremy Harris via Exim-users <[email protected]> wrote: > On 2025/11/23 1:02 PM, Andreas Metzler via Exim-users wrote: > > --- src/local_scan.c 2025-10-27 13:16:13.000000000 +0000 > > +++ ../local_scan.c 2025-11-23 12:58:49.780675405 +0000 > > @@ -59,6 +59,8 @@ > > int > > local_scan(int fd, uschar **return_text) > > { > > + uschar *expand_result; > > + expand_result = expand_string("blah"); > > return LOCAL_SCAN_ACCEPT; > > } > > > > yields > > cc -o exim -Wl,-z,relro -Wl,-z,now acl.o atrn.o base64.o child.o [...] > > /usr/bin/ld: local_scan.o: in function `local_scan': > > ./b-exim4-daemon-light/build-Linux-x86_64/../src/local_scan.c:63:(.text+0x10): undefined reference to `expand_string' > Thanks; 66a452cb6128 addresses Hello, Cherry-picking this yields this error with dummy local_scan above. cc -DLOCAL_SCAN -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/tmp/EXIM4/exim4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGEFILE_SOURCE -fno-strict-aliasing -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -I. -o local_scan.o ../src/local_scan.c In file included from ../src/local_scan.c:31: ../src/local_scan.c: In function 'local_scan': ../src/local_scan.h:207:35: error: '_Generic' selector of type 'char *' is not compatible with any association 207 | #define expand_string(X) _Generic((X), \ | ^ ../src/local_scan.c:63:24: note: in expansion of macro 'expand_string' 63 | expand_result = expand_string("blah"); | ^~~~~~~~~~~~~ ../src/local_scan.c:62:16: warning: variable 'expand_result' set but not used [-Wunused-but-set-variable] 62 | uschar *expand_result; | ^~~~~~~~~~~~~ make[3]: *** [Makefile:996: local_scan.o] Error 1 cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure' -- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/ ## unsubscribe (doesn't require an account): ## [email protected] ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/