[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #26779 [Core Tor/Tor]: atomic_init() and friends failing on clang



#26779: atomic_init() and friends failing on clang
--------------------------+------------------------------------
 Reporter:  mikeperry     |          Owner:  nickm
     Type:  defect        |         Status:  assigned
 Priority:  Medium        |      Milestone:  Tor: 0.3.3.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  jenkins       |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by nickm):

 atomic_init() and friends are part of C11; they're declared in
 stdatomic.h.

 It looks like this is maybe 32-bit clang only?  Or maybe only some
 versions of clang?  I ask because clang on Travis doesn't object to this
 code.

 And for that matter, I think 32-bit clang didn't object to this code a
 while ago:  these tests used to pass on Jenkins, until a couple of weeks
 ago: https://jenkins.torproject.org/job/tor-ci-linux-0.3.3-clang/ .  We've
 been using stdatomic.h for much longer than that.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26779#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs