Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
T
Tor
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,082
    • Issues 1,082
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 27
    • Merge Requests 27
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • The Tor Project
  • Core
  • Tor
  • Issues
  • #8278

Closed
Open
Created Feb 19, 2013 by Nick Mathewson@nickm🤹Owner

Wrap conditionally-compiled C files in #ifdefs

For people editing Tor with an IDE, it can be helpful to have the files which won't get built surrounded with appropriate #ifdef blocks. That way, their IDE won't complain that the file is uncompileable when in fact it's not even supposed to get built.

This is also an issue for people writing their own build scripts/tools for Tor and getting it wrong, but I'm less interested in handling that case.

This ticket is more or less in "Lorax" status. ("Unless someone like you cares a whole awful lot / nothing is going to get better. It's not.") I'll take a clean patch for it in 0.2.5 or later if somebody writes one.

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