[all-commits] [llvm/llvm-project] 0cfdce: [libc++] Guard transitive include of `<locale>` wi...

Konstantin Varlamov via All-commits all-commits at lists.llvm.org
Mon Jun 17 06:31:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0cfdce854d588876bfca7030be868314e84c0e5b
      https://github.com/llvm/llvm-project/commit/0cfdce854d588876bfca7030be868314e84c0e5b
  Author: Konstantin Varlamov <varconsteq at gmail.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M libcxx/include/vector

  Log Message:
  -----------
  [libc++] Guard transitive include of `<locale>` with availability macro (#95686)

This is a follow-up to https://github.com/llvm/llvm-project/pull/80282.
The transitive includes of `<locale>` in `<vector>` were all guarded by
the availability macro -- the new include should also be guarded,
otherwise any users who compile with localization disabled will start
getting errors trying to include `<vector>`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list