Le 16/11/2024 à 22:46, Peter Pentchev a écrit :
Hm, ICBW, but, at least to me, this enum change looks like an actual breaking ABI (not API) change. If a program was compiled to call that function with the SentinelFilter value, the program code would pass 32 as a parameter and invoke the function. If loaded with the new version of the library, this would cause the function to assume that the caller wanted to pass MagicKernelSharp2013Filter and... do something unexpected.
No, SentinelFilter is a special value keeping track of first free value A program will never use this in an arg call (OK name is confusing) Typical usage if (filter < SentinelFilter) { SetResampleFilter(RF, filter); } else { printf("Bad filter value\n"); exit(1); } Notice: the bad map change have been reverted, so 7.1.1-41 is OK with same ABI than 7.1.1-39 Remi -- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue