home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!exodus.Eng.Sun.COM!rbbb.Eng.Sun.COM!chased
- From: chased@rbbb.Eng.Sun.COM (David Chase)
- Newsgroups: comp.std.c++
- Subject: Re: Nested functions (was: Re: Zero-length structures and pointer comparisons)
- Date: 16 Dec 1992 23:47:32 GMT
- Organization: Sun
- Lines: 18
- Message-ID: <livg0kINN8ar@exodus.Eng.Sun.COM>
- References: <24400@alice.att.com> <9235019.15484@mulga.cs.mu.OZ.AU> <24413@alice.att.com>
- NNTP-Posting-Host: rbbb
-
- In article <24413@alice.att.com> ark@alice.UUCP () writes:
- >The first time I tried to use gcc's nested functions,
- >my program dumped core -- apparently due to a bug in gcc.
- >The next version of gcc I tried worked. This suggests
- >that the implementation isn't exactly trivial.
-
- See other post. In our (Olivetti Research Center, now defunct)
- experience, nested functions were not hard, though not trivial (is the
- compiler that you use made up only of trivial pieces? Somehow, I
- doubt it. Keep things in proportion.) We implemented C-interoperable
- nested functions in one (68k-only) release of Modula-3, and it was
- a relative no-brainer compared to most other parts of a modern
- compiler. Keep in mind that gcc 2.* says "beta-test" all over it, so
- I am not surprised if a shiny new non-standard feature doesn't work
- perfectly.
-
- David Chase
- Sun
-