Issue 51 in google-sparsehash: Experminal sparse hash c code won't compile on visual studio 2008

7 views
Skip to first unread message

google-s...@googlecode.com

unread,
Dec 25, 2009, 12:13:49 AM12/25/09
to google-s...@googlegroups.com
Status: New
Owner: ----

New issue 51 by m.nabil.hafez: Experminal sparse hash c code won't compile
on visual studio 2008
http://code.google.com/p/google-sparsehash/issues/detail?id=51

What steps will reproduce the problem?
1. Compile the experimental C sparsehash on visual studio
2. netinet/in.h not found -> as it's a unix specific header


What is the expected output? What do you see instead?
Code is portable

What version of the product are you using? On what operating system?
windows 7

Please provide any additional information below.

we can replace netinet/in.h with the winsock lib, any idea ?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

google-s...@googlecode.com

unread,
Dec 25, 2009, 2:11:13 PM12/25/09
to google-s...@googlegroups.com
Updates:
Status: WontFix

Comment #1 on issue 51 by csilvers: Experminal sparse hash c code won't

Sorry, but we don't maintain the code in the experimental directory.
You're welcome
to do whatever you'd like to get the code working! -- and can post a patch
here. I'm
happy to add the patch to the experimental directory in future releases, in
case it
helps anyone.

That said, I think in.h is just used for the inet_ntoa routines. In modern
unices,
it's probably better to use bswap32/64. So you shouldn't need winsock,
just the
windows equivalent of bswap32/64.

Reply all
Reply to author
Forward
0 new messages