[libcxx-commits] [PATCH] D147356: Fixing conflicting macro definitions between curses.h and the standard library.

Nicole Rabjohn via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jun 27 12:09:06 PDT 2023


nicolerabjohn updated this revision to Diff 535093.
nicolerabjohn added a comment.

Including __undef_macro in more header files - anywhere that move, refresh, or erase are used. This should fix the gcc compat problem.

Lots of files are changed here, so if there are any objections to this direction, I'm happy to hear them - otherwise, I will land in a few days if the CI goes green.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147356/new/

https://reviews.llvm.org/D147356

Files:
  libcxx/include/__algorithm/adjacent_find.h
  libcxx/include/__algorithm/in_out_result.h
  libcxx/include/__algorithm/is_permutation.h
  libcxx/include/__algorithm/iterator_operations.h
  libcxx/include/__algorithm/make_heap.h
  libcxx/include/__algorithm/min_element.h
  libcxx/include/__algorithm/pop_heap.h
  libcxx/include/__algorithm/pstl_backends/cpu_backends/thread.h
  libcxx/include/__algorithm/push_heap.h
  libcxx/include/__algorithm/sift_down.h
  libcxx/include/__algorithm/unwrap_iter.h
  libcxx/include/__algorithm/upper_bound.h
  libcxx/include/__concepts/swappable.h
  libcxx/include/__config
  libcxx/include/__expected/bad_expected_access.h
  libcxx/include/__expected/expected.h
  libcxx/include/__expected/unexpected.h
  libcxx/include/__functional/perfect_forward.h
  libcxx/include/__iterator/advance.h
  libcxx/include/__iterator/back_insert_iterator.h
  libcxx/include/__iterator/bounded_iter.h
  libcxx/include/__iterator/common_iterator.h
  libcxx/include/__iterator/counted_iterator.h
  libcxx/include/__iterator/erase_if_container.h
  libcxx/include/__iterator/front_insert_iterator.h
  libcxx/include/__iterator/insert_iterator.h
  libcxx/include/__iterator/iter_move.h
  libcxx/include/__iterator/iter_swap.h
  libcxx/include/__iterator/move_iterator.h
  libcxx/include/__iterator/move_sentinel.h
  libcxx/include/__memory/allocation_guard.h
  libcxx/include/__memory/compressed_pair.h
  libcxx/include/__memory/construct_at.h
  libcxx/include/__memory/ranges_construct_at.h
  libcxx/include/__memory/unique_ptr.h
  libcxx/include/__memory/uses_allocator_construction.h
  libcxx/include/__node_handle
  libcxx/include/__numeric/accumulate.h
  libcxx/include/__numeric/adjacent_difference.h
  libcxx/include/__numeric/exclusive_scan.h
  libcxx/include/__numeric/inner_product.h
  libcxx/include/__numeric/partial_sum.h
  libcxx/include/__ranges/as_rvalue_view.h
  libcxx/include/__ranges/common_view.h
  libcxx/include/__ranges/owning_view.h
  libcxx/include/__ranges/range_adaptor.h
  libcxx/include/__ranges/subrange.h
  libcxx/include/__stop_token/intrusive_shared_ptr.h
  libcxx/include/__undef_macros
  libcxx/include/__utility/exception_guard.h
  libcxx/include/__utility/exchange.h
  libcxx/include/__utility/move.h
  libcxx/include/__utility/pair.h
  libcxx/include/__utility/swap.h
  libcxx/include/any
  libcxx/include/experimental/propagate_const
  libcxx/include/optional
  libcxx/include/scoped_allocator
  libcxx/include/tuple
  libcxx/include/utility
  libcxx/test/libcxx/nasty_macros.gen.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147356.535093.patch
Type: text/x-patch
Size: 31348 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230627/ed062237/attachment-0001.bin>


More information about the libcxx-commits mailing list