[PATCH] Handle function name conflicts in _LIBCPP_MSVCRT mode
Saleem Abdulrasool
abdulras at fb.com
Wed Feb 4 15:35:23 PST 2015
Hi mclow.lists,
Visual Studio's SAL extension uses a macro for __deallocate. This macro is used
pervasively, and gets included through various different ways. This conflicts
with the similarly named interfaces in libc++. Introduce a __undef header
similar to __undef_min_max to handle this. This fixes a number of errors due to
the macro replacing the function name.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D7420
Files:
include/__hash_table
include/__sso_allocator
include/__undef___deallocate
include/experimental/dynarray
include/memory
include/module.modulemap
include/new
include/valarray
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7420.19358.patch
Type: text/x-patch
Size: 3102 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150204/c06b92a9/attachment.bin>
More information about the cfe-commits
mailing list