search for: hash_namespace

Displaying 4 results from an estimated 4 matches for "hash_namespace".

2009 Oct 13
2
[LLVMdev] hash extras
...included from /home/lefever/work/memrep/src/compiler/include/Aux.h:4, from Aux.cpp:1: /home/lefever/llvm/svn091010/llvm/include/llvm/ADT/HashExtras.h:26: error: ‘hash’ is not a template /home/lefever/llvm/svn091010/llvm/include/llvm/ADT/HashExtras.h: In member function ‘size_t HASH_NAMESPACE::hash<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator()(const std::string&) const’: /home/lefever/llvm/svn091010/llvm/include/llvm/ADT/HashExtras.h:34: error: no match for call to ‘(HASH_NAMESPACE::hash<const char*>) (const ch...
2009 Oct 13
0
[LLVMdev] hash extras
So, after digging around in the old llvm/ADT/hash_map, I think I discovered the problem. Now, if you want to include llvm/ADT/HashExtras.h, you have to include the hash_map h file from your system (ext/hash_map in my case) and define HASH_NAMESPACE, before you include llvm/ADT/HashExtras. It might be good to include some documentation about that for those using HashExtras. Regards, Ryan Ryan M. Lefever wrote: > I am trying to upgrade my code to use the latest version of llvm from > svn. Whenever I include "llvm/ADT/HashExtr...
2004 Dec 03
0
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...t; > Name="Configure|Win32"> > > <Tool > > Name="VCCustomBuildTool" > > CommandLine="..\tools\sed &lt;$(InputPath) &gt;$(InputDir)hash_map &quot;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/&quot; > > " > > Outputs="$(InputDir)hash_map"/> > > </FileConfiguration> > > </File> > > <File > > Rela...
2004 Dec 03
2
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...onType="4" > CharacterSet="2"> > <Tool > Name="VCCLCompilerTool" > Optimization="0" > AdditionalIncludeDirectories="..\..\include;.." > PreprocessorDefinitions="WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS;HASH_NAMESPACE=&quot;stdext&quot;" > MinimalRebuild="TRUE" > BasicRuntimeChecks="3" > RuntimeLibrary="3" > ForceConformanceInForLoopScope="TRUE" > RuntimeTypeInfo="TRUE" > UsePrecompiledHeader="0" &g...