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