Opened 12 years ago

Last modified 8 years ago

#625 closed defect (Fixed)

'SIZE_MAX' undeclared

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


OpenBSD_malloc_Linux.c: In function 'calloc':
OpenBSD_malloc_Linux.c:1941: error: 'SIZE_MAX' undeclared (first use in this function)
OpenBSD_malloc_Linux.c:1941: error: (Each undeclared identifier is reported only once
OpenBSD_malloc_Linux.c:1941: error: for each function it appears in.)

[on alpha]

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (4)

comment:1 Changed 12 years ago by nickm

Ug. The openbsd_malloc_linux.c code has:

#if defined(i386)

#define SIZE_MAX 0xffffffff
#if defined(x86_64)
#define SIZE_MAX 0xffffffffffffffff

I thought this kind of tomfoolery went out of style in the 90s.

comment:2 Changed 12 years ago by nickm

Should be fixed by r14000...r14002.

comment:3 Changed 12 years ago by nickm

flyspray2trac: bug closed.

comment:4 Changed 8 years ago by nickm

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