[tor-bugs] #1848 [Tor Client]: many "warning: 'struct in_addr' declared inside parameter list" when compiled on OpenBSD 4.8

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Aug 21 15:01:43 UTC 2010


#1848: many "warning: 'struct in_addr' declared inside parameter list" when
compiled on OpenBSD 4.8
------------------------+---------------------------------------------------
 Reporter:  Tas         |       Owner:  arma               
     Type:  defect      |      Status:  accepted           
 Priority:  normal      |   Milestone:  Tor: 0.2.2.x-final 
Component:  Tor Client  |     Version:  Tor: 0.2.2.15-alpha
 Keywords:  easy        |      Parent:                     
------------------------+---------------------------------------------------

Comment(by Tas):

 New info: These warnings during compilation show also up with older Tor
 versions (I tried with 0.2.2.10-alpha as the oldest one), so this is /not/
 related to any recent changes in the Tor source. OpenBSD upgraded gcc
 recently, and what will get released as OpenBSD 4.8 will have this gcc
 version (and that's what I tested with):

 $ gcc -v
 Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd4.8/4.2.1/specs
 Target: i386-unknown-openbsd4.8
 Configured with: OpenBSD/i386 system compiler
 Thread model: posix
 gcc version 4.2.1 20070719

 Interestingly that's just the same gcc version I have also on FreeBSD 8.1,
 and there Tor compiles without any warnings.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1848#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list