[tor-bugs] #24861 [Core Tor/Tor]: Using %zu seems to break mingw :/

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 10 20:10:50 UTC 2018


#24861: Using %zu seems to break mingw :/
--------------------------------------------+------------------------------
 Reporter:  nickm                           |          Owner:  ffmancera
     Type:  defect                          |         Status:  assigned
 Priority:  High                            |      Milestone:  Tor:
                                            |  0.3.3.x-final
Component:  Core Tor/Tor                    |        Version:
 Severity:  Normal                          |     Resolution:
 Keywords:  mingw compatibility regression  |  Actual Points:
Parent ID:                                  |         Points:
 Reviewer:                                  |        Sponsor:
--------------------------------------------+------------------------------

Comment (by catalyst):

 We might want to avoid using `PRIuSZ` or anything too similar because
 macros of that shape are reserved in C99's "Future library directions" for
 inttypes.h.  Maybe `TOR_PRIuSZ`?  Or is that too long?

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


More information about the tor-bugs mailing list