<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 14px;" lang="x-unicode">On 2/19/2016 8:36 AM, Joerg
Sonnenberger via cfe-commits wrote:
<br>
<blockquote type="cite" style="color: #000000;">On Thu, Feb 18,
2016 at 03:39:29PM +0000, Ben Craig via cfe-commits wrote:
<br>
<blockquote type="cite" style="color: #000000;">Unfortunately, I
have no access to an AIX machine to build with, so
<br>
this change has been made blind.
<br>
</blockquote>
Any reason why this is not using "new" and "delete"? I think I
would
<br>
prefer to not define uselocale, but that can be left until
later.
<br>
<br>
Joerg
<br>
</blockquote>
For now, I'm just shuffling functionality around. The old code
used calloc and free, so this rearranged code uses calloc and
free.
<br>
<br>
Soon, I will be renaming uselocale to _CXX_uselocale. On
platforms that natively have uselocale, _CXX_uselocale will be
#define'd to uselocale. On platforms like AIX, _CXX_uselocale
will be some function.
<br>
<br>
As for changing calloc and free to new and delete... I'm in favor
of that, but I'm not the right person to do it. I'm already
nervous enough doing mechanical shuffling of code without being
able to compile the results.
<br>
<br>
<blockquote type="cite" style="color: #000000;">_______________________________________________
<br>
cfe-commits mailing list
<br>
<a class="moz-txt-link-abbreviated"
href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>
<br>
<a class="moz-txt-link-freetext"
href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a>
<br>
</blockquote>
<br>
<div class="moz-txt-sig"><span class="moz-txt-tag">-- <br>
</span>Employee of Qualcomm Innovation Center, Inc.
<br>
Qualcomm Innovation Center, Inc. is a member of Code Aurora
Forum, a Linux Foundation Collaborative Project
<br>
<br>
</div>
</div>
</body>
</html>