Re: New release of courier packages
Milan Obuch <[email protected]> Fri, 24 Oct 2025 13:23:00 +0200
| Newsgroups | gmane.mail.imap.courier.general |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 24 Oct 2025 07:16:54 -0400 Sam Varshavchik <[email protected]> wrote: > Milan Obuch writes: > > > ../rfc2045/rfc2045.h:3227:46: error: use 'template' keyword to > > treat 'headers' as a dependent template name > > 3227 | typename > > rfc2045::entity::line_iter<crlf>::headers< | > > ^ | > > template 4 warnings and 1 error > > generated. gmake[2]: *** [Makefile:663: reformime.o] Error 1 > > gmake[2]: Leaving directory > > '/work/usr/ports/mail/courier/work/courier-1.5.1/ libs/rfc2045' > > gmake[1]: *** [Makefile:504: all] Error 2 > > gmake[1]: Leaving directory > > '/work/usr/ports/mail/courier/work/courier-1.5.1/ libs/rfc2045' > > gmake: *** [Makefile:475: all-recursive] Error 1 > > *** Error code 1 > > > > (Full log is 360 kB, available on request, I'd rather not spam this > > mailing list with it.) > > > > I built courier-1.4.1 before courier-unicode update just fine. Other > > packages, namely courier-unicode-2.4.0, > > courier-authlib-base-0.72.5, and courier-authlib-userdb-0.72.5 > > build just fine. Any idea what I could do to fix the issue? > > Try changing the line in question to read: > > typename rfc2045::entity::line_iter<crlf>::template headers< > > This part was tricky, trying to get this part to compile on all the > versions of gcc that were available to me. > > The current version compiles without any warnings on versions of gcc > starting from the current 15, and going back to gcc 10. Which > compiler are you using? FreeBSD uses clang, exact compiler version depends on OS version. On the box I did the test: # cc -v FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) Target: x86_64-unknown-freebsd14.3 Thread model: posix InstalledDir: /usr/bin I'll test your proposal and report back my findings. Regards, Milan _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users