Address PR10909: http://llvm.org/bugs/show_bug.cgi?id=10909
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@139493 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9cbee430da
commit
8b3fae3cc7
@ -178,10 +178,14 @@
|
|||||||
<li><code>cd libcxx/test</code></li>
|
<li><code>cd libcxx/test</code></li>
|
||||||
<li><code>./testit</code></li>
|
<li><code>./testit</code></li>
|
||||||
<ul>
|
<ul>
|
||||||
<li><p>On Mac OS 10.6 add "-U__STRICT_ANSI__" to the command line with:</p>
|
<li>On Mac OS 10.6, to work around bugs in libc headers like
|
||||||
<blockquote><pre>
|
math.h and inttypes.h, add "-U__STRICT_ANSI__" and
|
||||||
export OPTIONS="-std=c++0x -stdlib=libc++ -U__STRICT_ANSI__"
|
"-D__STDC_FORMAT_MACROS" to the command line with:
|
||||||
</pre></blockqutoe></li>
|
<blockquote>
|
||||||
|
<pre>export OPTIONS="-std=c++0x -stdlib=libc++ -U__STRICT_ANSI__ -D__STDC_FORMAT_MACROS"</pre>
|
||||||
|
</blockquote></li>
|
||||||
|
<li>People porting libc++ to other OSes will likely have to
|
||||||
|
define similar macros.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user