summaryrefslogtreecommitdiffstats
path: root/libcxx/www
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-09-12 14:15:45 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-09-12 14:15:45 +0000
commit55f2a50994a3cb823e21bfe963829c43aab4075a (patch)
tree1dfb2b9e34a94ff4c7c676ff24aea31739b5956f /libcxx/www
parentbe207b3c745fd0419da17d2b14144ad4d51e369d (diff)
downloadbcm5719-llvm-55f2a50994a3cb823e21bfe963829c43aab4075a.tar.gz
bcm5719-llvm-55f2a50994a3cb823e21bfe963829c43aab4075a.zip
Address PR10909: http://llvm.org/bugs/show_bug.cgi?id=10909
llvm-svn: 139493
Diffstat (limited to 'libcxx/www')
-rw-r--r--libcxx/www/index.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/libcxx/www/index.html b/libcxx/www/index.html
index e49b067ecb0..711c5f1aef3 100644
--- a/libcxx/www/index.html
+++ b/libcxx/www/index.html
@@ -178,10 +178,14 @@
<li><code>cd libcxx/test</code></li>
<li><code>./testit</code></li>
<ul>
- <li><p>On Mac OS 10.6 add "-U__STRICT_ANSI__" to the command line with:</p>
- <blockquote><pre>
-export OPTIONS="-std=c++0x -stdlib=libc++ -U__STRICT_ANSI__"
- </pre></blockqutoe></li>
+ <li>On Mac OS 10.6, to work around bugs in libc headers like
+ math.h and inttypes.h, add "-U__STRICT_ANSI__" and
+ "-D__STDC_FORMAT_MACROS" to the command line with:
+ <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>
OpenPOWER on IntegriCloud