[llvm-commits] CVS: llvm/win32/Configure/Configure.vcproj
Jeff Cohen
jeffc at jolt-lang.org
Sat Jan 8 20:13:20 PST 2005
Changes in directory llvm/win32/Configure:
Configure.vcproj updated: 1.6 -> 1.7
---
Log message:
Workaround a VC++ bug. Microsoft puts the hash_map class in namespace stdext, but
this classes uses a utility function in namespace std. But Microsoft apparently
assumes everyone will "using namespace std;". As LLVM doesn't.... Add a
"use std::_Distance;" to get it working.
---
Diffs of the changes: (+1 -1)
Index: llvm/win32/Configure/Configure.vcproj
diff -u llvm/win32/Configure/Configure.vcproj:1.6 llvm/win32/Configure/Configure.vcproj:1.7
--- llvm/win32/Configure/Configure.vcproj:1.6 Sat Jan 1 12:17:40 2005
+++ llvm/win32/Configure/Configure.vcproj Sat Jan 8 22:13:09 2005
@@ -98,7 +98,7 @@
<Tool
Name="VCCustomBuildTool"
Description="Generating $(SolutionDir)llvm\ADT\hash_map"
- CommandLine="..\tools\sed <$(InputPath) >$(ProjectDir)..\llvm\ADT\hash_map "s/#undef HAVE_GLOBAL_HASH_MAP/#define HAVE_GLOBAL_HASH_MAP 1/;/using HASH_NAMESPACE\:\:hash;.*$/{D};/#include.*HashExtras.*$/{D};s/define HASH_NAMESPACE std/define HASH_NAMESPACE stdext/"
+ CommandLine="..\tools\sed <$(InputPath) >$(ProjectDir)..\llvm\ADT\hash_map "s/#undef HAVE_GLOBAL_HASH_MAP/#define HAVE_GLOBAL_HASH_MAP 1/;/using HASH_NAMESPACE\:\:hash;.*$/{D};/#include.*HashExtras.*$/{D};s/define HASH_NAMESPACE std/define HASH_NAMESPACE stdext\nusing std::_Distance;/"
"
Outputs="$(ProjectDir)..\llvm\ADT\hash_map"/>
</FileConfiguration>
More information about the llvm-commits
mailing list