Git Product home page Git Product logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024

Original comment by [email protected] on 9 Oct 2007 at 8:58

  • Changed state: Started

from sparsehash.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
Thank you.

Original comment by [email protected] on 10 Oct 2007 at 1:00

from sparsehash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.