home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / c / 18662 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  462 b 

  1. Path: sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!news.ysu.edu!psuvm!sml108
  2. Organization: Penn State University
  3. Date: Fri, 18 Dec 1992 20:39:41 EST
  4. From: <SML108@psuvm.psu.edu>
  5. Message-ID: <92353.203941SML108@psuvm.psu.edu>
  6. Newsgroups: comp.lang.c
  7. Subject: Interesting bug
  8. Lines: 15
  9.  
  10. I had a program with code like
  11.  
  12. void routine (x)
  13. int *x;
  14. {
  15.   int x;
  16.  
  17.  
  18. }
  19.  
  20. My compiler did not trap this as an error...  Shouldn't it?  Or at least
  21. give a warning?
  22.  
  23. Scott
  24.  
  25.