[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #34078 [Core Tor/Tor]: Fix compilation warnings with clang 10.0.0
#34078: Fix compilation warnings with clang 10.0.0
--------------------------+------------------------------------
Reporter: nickm | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.4.4.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------------
Comment (by nickm):
Looking at the code more: it seems that clang actually does catch the same
cases here as gcc does, but that clang does not recognize the same magic
"/* fall through" comments as gcc.
Current plan is to disable the warning in 0.3.5 through 0.4.2, but replace
the fallthrough with an attribute in 043 and later.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/34078#comment:4>
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