Comments (7)
Can you include (attach) the complete make output? This will make it easier to
fix.
Original comment by [email protected]
on 22 Aug 2007 at 4:28
from sparsehash.
makefile output:
-------------------------------------------
g++ -o bin.amd64_FreeBSD/hcluster_sphash nd_clustering.cpp
-I/cs/grad/lonshy/src/cpp_util/ -Wall -O3 -DNDEBUG -DDELETE -DUSE_SPARSE_HASH
obj.amd64_FreeBSD/cmdline.o -I/cs/proto/lonshy/tools_src/sparsehash-0.8/src/
/cs/proto/lonshy/tools_src/sparsehash-0.8/src/google/sparsetable: In member
function
'void* google::sparsegroup<T, GROUP_SIZE>::realloc_or_die(void*, size_t) [with
T =
std::pair<const unsigned int, double>, short unsigned int GROUP_SIZE = 48u]':
/cs/proto/lonshy/tools_src/sparsehash-0.8/src/google/sparsetable:723:
instantiated
from 'T* google::sparsegroup<T, GROUP_SIZE>::allocate_group(size_t) [with T =
std::pair<const unsigned int, double>, short unsigned int GROUP_SIZE = 48u]'
/cs/proto/lonshy/tools_src/sparsehash-0.8/src/google/sparsetable:779:
instantiated
from 'google::sparsegroup<T, GROUP_SIZE>::sparsegroup(const
google::sparsegroup<T,
GROUP_SIZE>&) [with T = std::pair<const unsigned int, double>, short unsigned
int
GROUP_SIZE = 48u]'
/cs/proto/lonshy/tools_src/sparsehash-0.8/src/google/sparsetable:1164:
instantiated
from 'google::sparsetable<T, GROUP_SIZE>::sparsetable(size_t) [with T =
std::pair<const unsigned int, double>, short unsigned int GROUP_SIZE = 48u]'
/cs/proto/lonshy/tools_src/sparsehash-0.8/src/google/sparsehash/sparsehashtable.
h:589:
instantiated from 'google::sparse_hashtable<Value, Key, HashFcn, ExtractKey,
EqualKey, Alloc>::sparse_hashtable(const google::sparse_hashtable<Value, Key,
HashFcn, ExtractKey, EqualKey, Alloc>&, size_t) [with Value = std::pair<const
unsigned int, double>, Key = unsigned int, HashFcn = __gnu_cxx::hash<unsigned
int>,
ExtractKey = google::sparse_hash_map<unsigned int, double,
__gnu_cxx::hash<unsigned
int>, std::equal_to<unsigned int>, std::allocator<double> >::SelectKey,
EqualKey =
std::equal_to<unsigned int>, Alloc = std::allocator<double>]'
/cs/proto/lonshy/tools_src/sparsehash-0.8/src/google/sparse_hash_map:96:
instantiated from here
/cs/proto/lonshy/tools_src/sparsehash-0.8/src/google/sparsetable:714: warning:
format
'%d' expects type 'int', but argument 3 has type 'size_t'
/cs/proto/lonshy/tools_src/sparsehash-0.8/src/google/sparsetable: In member
function
'void* google::sparsegroup<T, GROUP_SIZE>::realloc_or_die(void*, size_t) [with
T =
unsigned int, short unsigned int GROUP_SIZE = 48u]':
/cs/proto/lonshy/tools_src/sparsehash-0.8/src/google/sparsetable:723:
instantiated
from 'T* google::sparsegroup<T, GROUP_SIZE>::allocate_group(size_t) [with T =
unsigned int, short unsigned int GROUP_SIZE = 48u]'
/cs/proto/lonshy/tools_src/sparsehash-0.8/src/google/sparsetable:779:
instantiated
from 'google::sparsegroup<T, GROUP_SIZE>::sparsegroup(const
google::sparsegroup<T,
GROUP_SIZE>&) [with T = unsigned int, short unsigned int GROUP_SIZE = 48u]'
/cs/proto/lonshy/tools_src/sparsehash-0.8/src/google/sparsetable:1164:
instantiated
from 'google::sparsetable<T, GROUP_SIZE>::sparsetable(size_t) [with T =
unsigned int,
short unsigned int GROUP_SIZE = 48u]'
/cs/proto/lonshy/tools_src/sparsehash-0.8/src/google/sparsehash/sparsehashtable.
h:589:
instantiated from 'google::sparse_hashtable<Value, Key, HashFcn, ExtractKey,
EqualKey, Alloc>::sparse_hashtable(const google::sparse_hashtable<Value, Key,
HashFcn, ExtractKey, EqualKey, Alloc>&, size_t) [with Value = unsigned int, Key
=
unsigned int, HashFcn = __gnu_cxx::hash<unsigned int>, ExtractKey =
google::sparse_hash_set<unsigned int, __gnu_cxx::hash<unsigned int>,
std::equal_to<unsigned int>, std::allocator<unsigned int> >::Identity, EqualKey
=
std::equal_to<unsigned int>, Alloc = std::allocator<unsigned int>]'
/cs/proto/lonshy/tools_src/sparsehash-0.8/src/google/sparse_hash_set:99:
instantiated from here
/cs/proto/lonshy/tools_src/sparsehash-0.8/src/google/sparsetable:714: warning:
format
'%d' expects type 'int', but argument 3 has type 'size_t'
Original comment by [email protected]
on 22 Aug 2007 at 10:56
from sparsehash.
Whew! All that for just one warning -- the joy of templates. I see the
problem, and
it's easy to fix; I'll do so for the next release. This is the full warning
output;
there aren't other warning when you compile?
Original comment by [email protected]
on 22 Aug 2007 at 11:01
from sparsehash.
I thought that there were multiple warnings, but there are just the same one for
different versions of the executable.
Thanks,
Yaniv
Original comment by [email protected]
on 22 Aug 2007 at 11:16
from sparsehash.
Original comment by [email protected]
on 9 Oct 2007 at 8:58
- Changed state: Started
from sparsehash.
Sparsehash 0.9 was just released, which should fix this problem.
Original comment by [email protected]
on 9 Oct 2007 at 10:39
- Changed state: Fixed
from sparsehash.
Thank you.
Original comment by [email protected]
on 10 Oct 2007 at 1:00
from sparsehash.
Related Issues (20)
- Fix the compile problem's on llvm(macosx) HOT 1
- Call resize to preallocate for memory does not work
- SPARSEHASH_COMPILE_ASSERT HOT 2
- Repair compilation with clang
- Installation fails check on Red Hat 6
- Installation fails at "make" step on Red Hat Linux 6
- make check fails with GCC 4.9 on Mac OS 10.10.1
- [PATCH] Make dense_hash_map work with non-default-constructible values HOT 1
- Is it thread safe for insertion of sparse hash table? HOT 1
- Google Code is dying
- Memory Corruption HOT 2
- Compile fails on up-to-date Fedora 18 system HOT 2
- Insert deleted key into hashmap will cause size() be increased
- Cannot compile sparsehash-2.0.2 on Ubuntu 12.04LTS
- [PATCH] Fix gcc warning: format '%p' expects argument of type 'void*'
- news page specifies wrong date
- clang compile failure on FreeBSD HOT 3
- failure during "make" of sparsehash on mac osx 10.8.5 HOT 1
- Please implement a check for try in case libstdc++ implements c++11 where tr1 is merged into std HOT 4
- Latest version of xcode Command Line tools breaks sparsehash. HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sparsehash.