Re: New release of courier packages
Sam Varshavchik <[email protected]> Fri, 24 Oct 2025 07:16:54 -0400
| Newsgroups | gmane.mail.imap.courier.general |
|---|---|
| Message-ID | <[email protected]> |
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? _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRupkKLJP96aW75pIOKYPgoojZS4gUCaPtgJgAKCRCKYPgoojZS 4k0+AQCyaMXP44ZbJmHFrdaDPDftLBnAdcflVjf0Q7we6v+FPgD9E4EVLrDtDdvB d8tHGfMJGgls/uTSofXDiw3OeSBpww4= =aIPc -----END PGP SIGNATURE-----