Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 328
    • Issues 328
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #327
Closed
Open
Issue created Aug 31, 2006 by Trac@tracbot

Build failure and warnings with svn 8308

Hi,

I use NetBSD 3_Stable...

First, there is a mistake in src/common/compat.h. I interpreted what I thought you meant and created this diff: clarity 141 -> svn di src/common/compat.h Index: src/common/compat.h

--- src/common/compat.h (revision 8308) +++ src/common/compat.h (working copy) @@ -90,7 +90,7 @@ #endif

/* GCC has several useful attributes. */ -#ifdef GNUC && GNUC_MAJOR >= 3 +#if defined(GNUC) && GNUC_MAJOR >= 3 #define ATTR_NORETURN attribute((noreturn)) #define ATTR_PURE attribute((pure)) #define ATTR_MALLOC attribute((malloc))


In addition, after fixing this, I find the following warnings as probable mistakes:

util.c: In function tor_strlower': util.c:311: warning: subscript has type char' util.c: In function tor_strupper': util.c:322: warning: subscript has type char'

config.c: In function get_default_nickname': config.c:1740: warning: subscript has type char'

I don't know if this functions properly, I do not want to install until it builds clean. --gene

[Automatically added by flyspray2trac: Operating System: All]

Trac:
Username: yancm

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