home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / std / cplus / 1793 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  1.2 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!allegra!alice!ark
  2. From: ark@alice.att.com (Andrew Koenig)
  3. Newsgroups: comp.std.c++
  4. Subject: Re: Nested functions (was: Re: Zero-length structures and pointer comparisons)
  5. Message-ID: <24413@alice.att.com>
  6. Date: 15 Dec 92 19:37:58 GMT
  7. Article-I.D.: alice.24413
  8. References: <9234601.10277@mulga.cs.mu.OZ.AU> <1992Dec11.231131.10956@microsoft.com> <24392@alice.att.com> <1992Dec12.162211.5076@ucc.su.OZ.AU> <24400@alice.att.com> <9235019.15484@mulga.cs.mu.OZ.AU>
  9. Reply-To: ark@alice.UUCP ()
  10. Organization: AT&T Bell Laboratories, Murray Hill NJ
  11. Lines: 13
  12.  
  13. In article <9235019.15484@mulga.cs.mu.OZ.AU> fjh@munta.cs.mu.OZ.AU (Fergus James HENDERSON) writes:
  14.  
  15. > Why are nested functions so hard? I think that 
  16. > Gnu C's implementation of nested functions shows that it does not
  17. > cause any particularly difficult implementation problems.
  18.  
  19. The first time I tried to use gcc's nested functions,
  20. my program dumped core -- apparently due to a bug in gcc.
  21. The next version of gcc I tried worked.  This suggests
  22. that the implementation isn't exactly trivial.
  23. -- 
  24.                 --Andrew Koenig
  25.                   ark@europa.att.com
  26.