Opened 12 years ago

Last modified 7 years ago

#482 closed defect (Fixed)

MSVC build failed since r10880

Reported by: roytam1 Owned by: nickm
Priority: Low Milestone:
Component: Core Tor/Tor Version: 0.2.0.2-alpha
Severity: Keywords:
Cc: roytam1, nickm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

MSVC build failed since r10880 because there's no s6_addr16 and s6_addr32 in MS Platform SDK.

structure details in MSDN:
http://msdn2.microsoft.com/en-us/library/ms738664.aspx

[Automatically added by flyspray2trac: Operating System: Windows 2k/XP]

Child Tickets

Change History (7)

comment:1 Changed 12 years ago by nickm

I've checked in a possible fix as r11155. Does it work any better now?

comment:2 Changed 12 years ago by roytam1

A bit better.

error C2039: 's6_addr32' : is not a member of 'in6_addr'

static INLINE uint32_t
IPV4MAPh(const tor_addr_t *a)
{
! return ntohl(a->sa6.sin6_addr.s6_addr32[3]);
}

this function needs modify too.

comment:3 Changed 12 years ago by nickm

Thanks! I've tried to fix that in r11162. Are there more errors?

(My deep apologies for this; I don't own a copy of MSVC.)

comment:4 Changed 12 years ago by roytam1

It compiles now. Thanks. ;-)

comment:5 Changed 12 years ago by nickm

Thanks for your help!

comment:6 Changed 12 years ago by nickm

flyspray2trac: bug closed.

comment:7 Changed 7 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.