<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
With regards to "where do we want to be", we shouldn't take the
complete opposite approach and have the libcxx provide none of the C
headers. At a minimum, we need a libcxx version of tgmath.h that
hides the C version of tgmath.h. The generic macros from tgmath.h
would play havoc with the overloaded functions in cmath.<br>
<br>
Maybe all the other libcxx C headers could forward to the underlying
C headers (or maybe not), but tgmath.h (and maybe others I'm
forgetting) are special, and should not forward to the underlying C
header.<br>
<br>
<div class="moz-cite-prefix">On 1/25/2016 4:30 PM, Marshall Clow via
cfe-dev wrote:<br>
</div>
<blockquote
cite="mid:CAMBqOsieGU7eazMgNbujhjJ+6YyXP7sqsnaemNkRE3PR06acXQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Sat, Jan 23, 2016 at 12:46 PM,
Howard Hinnant <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:howard.hinnant@gmail.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:howard.hinnant@gmail.com">howard.hinnant@gmail.com</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">[snip]<br>
Martin is 100% correct as far as historical intent goes.
The mis-interpretation of these words by Richard and Eric
is evidence that the standard remains buggy in this area.<br>
<br>
</blockquote>
<div><br>
</div>
<div>While I bow to Howard's experience and to his
recollection, I have to disagree with his characterization
of Richard and Eric's posts as "mis-interpretation".</div>
<div><br>
</div>
<div>I believe that they have accurately reflected what is
written in the standard.</div>
<div><br>
</div>
<div>But that's just a nit.</div>
<div>The real questions are - where do we want to be, and
how can we get there?</div>
<div><br>
</div>
<div>(and let's not forget <a moz-do-not-send="true"
href="http://cplusplus.github.io/LWG/lwg-defects.html#2086">http://cplusplus.github.io/LWG/lwg-defects.html#2086</a>)
as well, which implies that there is no support for
user-defined types in <cmath>.</div>
<div><br>
</div>
<div>-- Marhsall</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
</pre>
</body>
</html>