Opened 13 years ago

Last modified 7 years ago

#267 closed defect (Fixed)

undefined symbol __FUNCTION__ if not using GCC

Reported by: calessio Owned by:
Priority: High Milestone:
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: calessio Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Trying to compile both 0.1.0.x and 0.1.1.x tree with Sun C instead of GCC, I get the following error:
undefined symbol: FUNCTION

in the following files:
container.c
log.c
util.c
compat.c

I think it's needed something like:
#ifndef FUNCTION
#define FUNCTION /something.../
#endif

[Automatically added by flyspray2trac: Operating System: Solaris]

Child Tickets

Change History (2)

comment:1 Changed 13 years ago by nickm

flyspray2trac: bug closed.
Fixed in CVS; we now use func by default, and use autoconf to hunt a substitute where it's missing.

comment:2 Changed 7 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.