[tor-bugs] #19752 [Core Tor/Tor]: mingw compile failure

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jul 25 22:22:54 UTC 2016


#19752: mingw compile failure
------------------------------+-----------------
     Reporter:  bc348         |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+-----------------
 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
 [https://gitweb.torproject.org/tor.git/commit/?id=22314f9050851ddebd29bd63085d83f4fa5ba926
 this commit]
 HAVE_CLOCK_GETTIME undefined
 [https://gitweb.torproject.org/tor.git/tree/src/common/compat_time.c?id=22314f9050851ddebd29bd63085d83f4fa5ba926#n16
 at line 16 in compat_time.c] but
 [https://gitweb.torproject.org/tor.git/tree/src/common/compat_time.c?id=22314f9050851ddebd29bd63085d83f4fa5ba926#n39
 at line 39 included "util.h"]  which include orconfig.h where
 HAVE_CLOCK_GETTIME defined again

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19752>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list