Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #13577

Closed (moved)
(moved)
Open
Created Oct 26, 2014 by teor@teor

Fix clang compilation warnings in tor, trunnel

My branch silence-warnings on github contains fixes to silence clang warnings under --enable-expensive-hardening, including:

  • implicit truncation of 64 bit values to 32 bit;
  • const char assignment to self;
  • tautological compare; and
  • additional parentheses around equality tests. (gcc uses these to silence assignment, so clang warns when they're present in an equality test. But we need to use extra parentheses in macros to isolate them from other code).

Branch: silence-warnings Repository: ​​​​​​https://github.com/teor2345/tor.git

Nick, do you want the trunnel patch submitted upstream?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking