Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6842 closed defect (fixed)

Fix compilation with older GCCs

Reported by: nickm Owned by:
Priority: Medium Milestone: Tor: 0.2.4.x-final
Component: Core Tor/Tor Version: Tor: 0.2.4.2-alpha
Severity: Keywords: tor-client
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

old gcc versions don't like preprocessor directives inside macro args, but it looks like we grew a few in 0.2.4.2-alpha. Found by grarpamp on tor-talk

Child Tickets

Change History (4)

comment:1 Changed 7 years ago by nickm

Resolution: fixed
Status: newclosed

Fixed in e4ce8cd9691708d9bc0bcc9904d656fe35001946.

comment:2 Changed 7 years ago by nickm

For reference, the offending compiler is apparently GCC 2.95.

comment:3 Changed 7 years ago by nickm

Keywords: tor-client added

comment:4 Changed 7 years ago by nickm

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