basmith / sparsehash

Automatically exported from code.google.com/p/sparsehash
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

libc_allocator_with_realloc::deallocate: warning: unused parameter ‘n’ #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When compiling using gcc -Wall -Werror, I see the following error message: 
/usr/local/include/google/sparsehash/libc_allocator_with_realloc.h:66:
warning: unused parameter ‘n’

A patch is attached.

Cheers,
Shaun

Original issue reported on code.google.com by sjackman on 23 Apr 2010 at 10:57

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, we'll fix this for the next release.

Original comment by csilv...@gmail.com on 23 Apr 2010 at 11:49

GoogleCodeExporter commented 9 years ago
Hi Craig,

I continue get bug reports about this issue. Would you have the time to put out 
a release?

Thanks,
Shaun

Original comment by sjackman on 15 Jul 2010 at 5:57

GoogleCodeExporter commented 9 years ago
Hmm, interesting.  Who are you getting bug reports from?  Is it possible for 
these people to get the code from svn-root?

There have been lots of changes in svn since the next release, and it will take 
a while to test them all on the various platforms we support.  I could try to 
make a "bugfix only" release that just fixes this warning (and perhaps one or 
two others).  But even that might take a little while.

Original comment by csilv...@gmail.com on 16 Jul 2010 at 3:33

GoogleCodeExporter commented 9 years ago
This should be fixed in sparsehash 1.8, just released.

Original comment by csilv...@gmail.com on 29 Jul 2010 at 9:52

GoogleCodeExporter commented 9 years ago
Great! Thanks, Craig.

Original comment by sjackman on 30 Jul 2010 at 12:27