Brad King
09b147b3a7
Merge branch 'upstream-kwsys' into update-kwsys
2013-08-07 08:18:32 -04:00
Daniel R. Gomez
4f170e2575
KWSys: Fix hashtable prime list on g++ 2.9 ( #13273 )
...
Building CMake with g++ 2.9-aix51-020209 on an AIX 5.3 system gives:
cmsys/hashtable.hxx: In function `const long unsigned int *cmsys::get_stl_prime_list ()':
cmsys/hashtable.hxx:399: warning: sorry: semantics of inline function static data
`const long unsigned int _stl_prime_list[31]' are wrong (you'll wind up with multiple copies)
cmsys/hashtable.hxx:399: warning: you can work around this by removing the initializer
Give get_stl_prime_list internal linkage.
2012-06-05 16:23:09 -04:00
Bill Hoffman
0b5288849f
Silence warnings on sgi compiler.
2010-05-12 09:37:42 -04:00
Bill Hoffman
54319451a5
Make get_stl_prime_list an inline function to avoid duplicate copies of it.
2010-04-29 08:51:39 -04:00
Bill Hoffman
a170690fd2
Fix for bug #10550 , work around instantiation out of scope
2010-04-28 17:42:22 -04:00
Brad King
de955e4b6d
Convert KWSys to OSI-approved BSD License
...
This converts the KWSys license to a pure 3-clause OSI-approved BSD
License. We drop the previous license clause requiring modified
versions to be plainly marked. We also update the KWSys copyright to
cover the full development time range.
2009-09-28 11:37:35 -04:00
Bill Hoffman
b81f09e341
STYLE: suppress warnings for borland
2009-06-09 15:18:51 -04:00
Dave Partyka
cbc1938ee3
COMP: Hopefully fix hashmap on VS6, Thanks Brad K!
2009-06-05 14:59:47 -04:00
Brad King
72b08a80c8
COMP: Fixed unreferenced parameter warning for VS6 with /W4.
2007-03-09 16:27:14 -05:00
Brad King
f3cc908e42
STYLE: Move warning disable pragma into push/pop block.
2007-03-07 16:00:21 -05:00
Ken Martin
12b8643fee
COMP: shut up w4 warning
2007-03-06 10:56:21 -05:00
Bill Hoffman
5a2668b326
ENH: add support for win64 for visual studio 2005 ide and nmake, also fix warnings produced by building for win64
2006-03-30 13:49:56 -05:00
Brad King
553f7a04d0
ENH: Added some smaller primes to allow small hash table sizes and therefore shorter initial construction times.
2005-06-23 10:25:57 -04:00
Brad King
60c904a58e
COMP: Removed unused parameter warning.
2005-05-05 09:09:38 -04:00
Brad King
49cb763452
COMP: Removed line continuation characters from #if lines to avoid linefeed problems on cygwin.
2005-04-22 11:57:59 -04:00
Brad King
cf8a3a1521
BUG: Fixed hash_allocator_n size computation.
2005-04-21 16:46:39 -04:00
Brad King
8ddc8accb3
COMP: Added KWSys try-compiles KWSYS_STL_HAS_ALLOCATOR_TEMPLATE and KWSYS_STL_HAS_ALLOCATOR_OBJECTS. Needed for more old-stl support in the hashtable.
2005-04-21 13:47:43 -04:00
Brad King
bddade9696
COMP: Added KWSYS_CXX_HAS_CSTDDEF try-compile to KWSys to provide kwsys/cstddef header (to get size_t for hash_fun.hxx).
2005-04-15 16:00:44 -04:00
Brad King
cc996274f8
COMP: Replaced kwsys_stl with @KWSYS_NAMESPACE@_stl to properly use the configured namespace.
2005-04-15 15:30:28 -04:00
Brad King
6c68c81475
ENH: Added KWSys try-compiles KWSYS_STL_HAS_ITERATOR_TRAITS, KWSYS_STL_HAS_ITERATOR_CATEGORY, KWSYS_STL_HAS___ITERATOR_CATEGORY, and KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE to get the hash table to compile on old HP and Sun compilers.
2005-04-15 09:54:03 -04:00
Brad King
7f706ecc98
ENH: Added KWSYS_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP try-compile to KWSys. Needed to optionally bring hash table comparison operators into the global namespace when argument dependent lookup is not supported.
2005-04-15 08:59:30 -04:00
Brad King
4fe07aa481
COMP: Remove friend templates and always use template friends (possibly with <>). Needed to work-around Sun CC bug.
2005-04-13 23:04:23 -04:00
Brad King
be1084b524
COMP: Added KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT check for non-standard argument to stl allocator<>::max_size method. Needed for kwsys hashtable to compile on Sun CC.
2005-04-13 15:39:03 -04:00
Brad King
5bebcea6e7
COMP: Fix for Sun CC stl allocator signature of allocate method.
2005-04-13 15:22:32 -04:00
Brad King
81f7bc9cdb
BUG: When constructing the bucket vector type the allocator given must have been rebound to _Node* already because GCC 3.4's vector type does not rebind it.
2005-04-13 15:04:39 -04:00
Brad King
743ab3a05f
ENH: Adding SGI hash_map and hash_set implementation ported from STL to KWSys. This also adds try-compiles for KWSYS_STL_HAS_ALLOCATOR_REBIND, KWSYS_CXX_HAS_FULL_SPECIALIZATION, KWSYS_CXX_HAS_MEMBER_TEMPLATES, and KWSYS_CXX_HAS_NULL_TEMPLATE_ARGS.
2005-04-13 08:08:54 -04:00