system_error: Add fixme.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Tue, 23 Nov 2010 21:09:11 +0000 (21:09 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Tue, 23 Nov 2010 21:09:11 +0000 (21:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120059 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/System/system_error.h

index 3bfc092ef31dd45360d812f728616ba3904e9a0c..09922c94da71b61da561b32c7488fccff7085f1c 100644 (file)
@@ -805,6 +805,9 @@ inline bool operator!=(const error_condition& _x, const error_condition& _y) {
 
 // This needs to stay here for KillTheDoctor.
 #ifdef LLVM_ON_WIN32
+// FIXME: These two headers really really really need to be removed from here.
+//        Not only is it a violation of System, they define the stupid min and
+//        max macros :(.
 #include <Windows.h>
 #include <WinError.h>