[tor-bugs] #32500 [Core Tor/Tor]: consider clang -std=gnu99 in Travis for better C99 portability

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Nov 28 01:42:05 UTC 2019


#32500: consider clang -std=gnu99 in Travis for better C99 portability
-------------------------------------------------+-------------------------
 Reporter:  catalyst                             |          Owner:  teor
     Type:  enhancement                          |         Status:
                                                 |  needs_review
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.4.3.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  portability, tor-ci, 029-backport,   |  Actual Points:  0.3
  035-backport, 040-backport, 041-backport,      |
  042-backport                                   |
Parent ID:                                       |         Points:  0.1
 Reviewer:  catalyst                             |        Sponsor:
                                                 |  Sponsor31-can
-------------------------------------------------+-------------------------
Changes (by teor):

 * status:  merge_ready => needs_review


Comment:

 We were using the trusty gcc for all our builds until about a month ago
 :-)

 I'm going to experiment with using the NSS gcc in later Tor versions.
 There are two advantages:
 * we'll test the NSS-specific code with `-std=gnu99`
 * we'll get a later gcc version

 Same PRs and tests as before, but it only affects 0.3.5 and later.

 (Thanks for your patience with this ticket!)

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


More information about the tor-bugs mailing list