Hello, On Tue, Apr 14, 2026 at 06:51:36PM +1000, Seth McDonald via isync-devel wrote: > Our memrchr() implementation must cast away const from the 's' > parameter, which causes a compiler warning. Locally suppress this > warning for the relevant cast.
it actually does not have to. It's quite possible to make the return value also const. It's not how the standard defines the function but not everything in the standard makes sense. If you care about warnings and the code problems they point out using const return value sounds like a better option. Thanks Michal _______________________________________________ isync-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/isync-devel
