Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-05-31
10:12 • Closed ticket [935005ffff]: OSX warnings and errors (4) plus 7 other changes artifact: ffaf4a7615 user: hobbs
2004-11-12
03:29 • Ticket [935005ffff]: 1 change artifact: ba714932e7 user: hobbs
2004-04-14
15:20 • New ticket [935005ffff]. artifact: b2a6a147a4 user: tauvan

OSX warnings and errors (4)

Closed / Fixed935005ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 22 years ago
Descriptionplain2004-04-14 15:20:29
machine: mac ppc G4 (1st PCI 400Mhz) OSX 10.1.5

My (4) suggestion is:
  change configure.in
  run autoconf
  OR like dos could define in tclPort.h
    and delete test for socklen_t

Solves:
  warning: passing arg 5 of `setsockopt' as signed due to 
prototype

Condition:
    "OSX warnings and errors (1)" not required
    "OSX warnings and errors (2)" performed
    quick fix performed
    do update clean
    remove tclIOSock.o, tclUnixChan.o

Results from (2-3):
  w/o (1) Total 10602  Passed 9717  Skipped 858  Failed 27
  w/ (1)  Total 10602  Passed 9717  Skipped 858  Failed 27

Suggestion:
  AC_DEFINE(socklen_t, unsigned)  to  AC_DEFINE(socklen_t, int)

Special Notes:
  matches system prototype on OSX and appearently dos
  ?can remove #define socklen_t int? do they use configure.in?

Results from (4):
  2 less warnings
  w/o (1) Total 10602  Passed 9717  Skipped 858  Failed 27
  w/ (1)  Total 10602  Passed 9717  Skipped 858  Failed 27

Thanks.

Semi-related:
  Did report (3) to apple
  Noted gcc3.3.3 no longer supports <varargs.h>
Thanks again.
hobbs Ticket [935005ffff]: 1 change [History diff]2004-11-12 03:29:50
hobbsplain2005-05-31 10:12:55
Logged In: YES 
user_id=72656

working in 8.4 head which has updated build setup for OS X
Log in (anonymous is fine) to add a comment.