[cfe-commits] [libcxx] r139493 - /libcxx/trunk/www/index.html

Howard Hinnant hhinnant at apple.com
Mon Sep 12 07:15:45 PDT 2011


Author: hhinnant
Date: Mon Sep 12 09:15:45 2011
New Revision: 139493

URL: http://llvm.org/viewvc/llvm-project?rev=139493&view=rev
Log:
Address PR10909: http://llvm.org/bugs/show_bug.cgi?id=10909

Modified:
    libcxx/trunk/www/index.html

Modified: libcxx/trunk/www/index.html
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/www/index.html?rev=139493&r1=139492&r2=139493&view=diff
==============================================================================
--- libcxx/trunk/www/index.html (original)
+++ libcxx/trunk/www/index.html Mon Sep 12 09:15:45 2011
@@ -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>
 





More information about the cfe-commits mailing list