Opened 3 years ago

Closed 3 years ago

#19752 closed defect (fixed)

mingw compile failure

Reported by: bc348 Owned by: nickm
Priority: Medium Milestone: Tor: 0.2.9.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: TorCoreTeam201607
Cc: Actual Points: 0
Parent ID: Points:
Reviewer: Sponsor:

Description

gcc 5.4 x86_64-w64-mingw32

src/common/compat_time.c:340:46: error: 'monotime_t {aka struct monotime_t}' has no member named 'ts_'
   int r = clock_gettime(CLOCK_MONOTONIC, &out->ts_);
                                              ^

After this commit
HAVE_CLOCK_GETTIME undefined at line 16 in compat_time.c but at line 39 included "util.h" which include orconfig.h where HAVE_CLOCK_GETTIME defined again

Child Tickets

Change History (4)

comment:1 Changed 3 years ago by nickm

Actual Points: 0
Keywords: TorCoreTeam201607 added

I think I fixed this in 3f9c036821ee5b3c5f3958d7dc41d62a450da36e ?

comment:2 Changed 3 years ago by nickm

Milestone: Tor: 0.2.9.x-final

comment:3 Changed 3 years ago by nickm

Owner: set to nickm
Status: newaccepted

comment:4 Changed 3 years ago by nickm

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.