On Mon, Sep 3, 2012 at 11:13 AM, Howard Hinnant <span dir="ltr"><<a href="mailto:hhinnant@apple.com" target="_blank">hhinnant@apple.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Author: hhinnant<br>
Date: Mon Sep  3 13:13:11 2012<br>
New Revision: 163120<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=163120&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=163120&view=rev</a><br>
Log:<br>
Some minor mingw64 porting tweaks from Glen.<br>
<br>
Modified:<br>
    libcxx/trunk/include/__undef_min_max<br>
    libcxx/trunk/src/stdexcept.cpp<br>
<br>
Modified: libcxx/trunk/include/__undef_min_max<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__undef_min_max?rev=163120&r1=163119&r2=163120&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__undef_min_max?rev=163120&r1=163119&r2=163120&view=diff</a><br>

==============================================================================<br>
--- libcxx/trunk/include/__undef_min_max (original)<br>
+++ libcxx/trunk/include/__undef_min_max Mon Sep  3 13:13:11 2012<br>
@@ -9,11 +9,11 @@<br>
 //===----------------------------------------------------------------------===//<br>
<br>
 #ifdef min<br>
-#warning: macro min is incompatible with C++.  #undef'ing min<br>
+#warning: macro min is incompatible with C++.  #undefing min<br>
 #undef min<br>
 #endif<br>
<br>
 #ifdef max<br>
-#warning: macro max is incompatible with C++.  #undef'ing max<br>
+#warning: macro max is incompatible with C++.  #undefing max<br>
 #undef max<br>
 #endif<br></blockquote><div> </div><div>The colons in these #warnings make it into the diagnostic output (on both clang and gcc), resulting in warnings like:</div><div><br></div><div><div><stdin>:1:2: warning: : macro min is incompatible with C++.  #undefing min [-W#warnings]</div>
</div><div><br></div><div>I would suggest taking them out.</div></div>