home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / tcl / 1315 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.4 KB

  1. Path: sparky!uunet!wupost!spool.mu.edu!agate!sprite.Berkeley.EDU!ouster
  2. From: ouster@sprite.Berkeley.EDU (John Ousterhout)
  3. Newsgroups: comp.lang.tcl
  4. Subject: Re: Compiling tcl 6.3 with gcc 2.2.2
  5. Date: 7 Sep 1992 22:21:18 GMT
  6. Organization: U.C. Berkeley Sprite Project
  7. Lines: 20
  8. Distribution: world
  9. Message-ID: <18gkkuINN73l@agate.berkeley.edu>
  10. References: <WARSAW.92Aug28105321@anthem.nlm.nih.gov> <1992Aug29.112757.11363@athena.mit.edu> <17oqn8INNkhj@agate.berkeley.edu>
  11. NNTP-Posting-Host: tyranny.berkeley.edu
  12.  
  13. In article <17oqn8INNkhj@agate.berkeley.edu>, jbuck@forney.berkeley.edu (Joe Buck) writes:
  14. |> In article <1992Aug29.112757.11363@athena.mit.edu> joe@athena.mit.edu (Joseph C Wang) writes:
  15. |> >I've also noticed bugs you mentioned (needing -fno-builtin and
  16. |> >redefining open) on all the platforms I have gcc2.2 on (decmips, vax,
  17. |> >and rt)
  18. |> 
  19. |> This is a Tcl bug, as ANSI C and Posix have agreed on what the prototype
  20. |> for open and other functions is, and the Tcl prototypes don't agree with
  21. |> the standard.  gcc's builtin definitions and those it builds with the
  22. |> "fixincludes" script are correct; Tcl is wrong.
  23. |> 
  24. |> 
  25. |> 
  26. |> --
  27. |> Joe Buck    jbuck@ohm.berkeley.edu
  28.  
  29. I don't understand this, since I believe that the prototypes for open
  30. and other ANSI functions are identical to what's specified in my ANSI C
  31. and POSIX manuals.  Can someone provide a bit more detail on exactly
  32. what the error is?
  33.