Skip to content

ABI break in locale_ref ctor (11.0.0 -> 11.1.1) #4292

Description

@jengelh

Commit ff92223 changed:

-  template <typename Locale> explicit locale_ref(const Locale& loc);
+
+  template <typename Locale, FMT_ENABLE_IF(sizeof(Locale::collate) != 0)>
+  locale_ref(const Locale& loc);

which is an ABI change for platforms like amd64-gnu-linux:

-_ZN3fmt3v116detail10locale_refC1ISt6localeEERKT_
+_ZN3fmt3v116detail10locale_refC1ISt6localeLi0EEERKT_

I am reporting this because ABI seems to be important to fmtlib (cf. commit 3e04222).
ABI break observed by end-user at https://bugzilla.suse.com/show_bug.cgi?id=1235078 .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions