home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 18031 < prev    next >
Encoding:
Text File  |  1993-01-01  |  1.6 KB  |  53 lines

  1. Path: sparky!uunet!digex.com!tstark
  2. From: tstark@access.digex.com (Timothy M. Stark)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: A bug in SAS/C 6.0
  5. Date: 1 Jan 1993 20:27:57 GMT
  6. Organization: Express Access Online Communications, Greenbelt, MD USA
  7. Lines: 41
  8. Distribution: world
  9. Message-ID: <1i29gdINN2he@mirror.digex.com>
  10. NNTP-Posting-Host: access.digex.com
  11.  
  12. Hello Everyone:
  13.  
  14.       I discovered that bug in the compiler. I implemented a few typedef
  15. statements into my program and set up double-link variables. I tried compile 
  16. it but it displayed the strange message error:
  17.  
  18.       Missing closed bracket!
  19.  
  20. This bug program:
  21.  
  22. #include <stdio.h>
  23.  
  24. typedef struct bug1 {
  25.        bug2  *bugb;
  26. } bug1;
  27.  
  28. typedef struct bug2 {
  29.        bug1  *buga;
  30. } bug2;
  31.  
  32.  
  33. This program cause the compiler confusing and it displayed the strange
  34. message - Missing closed bracket (']'). I looked for the open bracket
  35. character but it is not in my program! 
  36.  
  37. Do you have any bug fixes about my program or is it a bug in the compiler?
  38. If so, please let me know as soon as possible before I will send e-mail to
  39. the technical support dept. Thanks! Is it the bug fix in SAS/C 6.1 patches?
  40.  
  41. I have SAS/C 6.1 patches here. I tried to patch them to my SAS/C 6.0 diskettes
  42. (backup diskettes) but they complaint that not enough memory in my Amiga
  43. computer ( 512K chip ram and 512K fast ram).
  44.  
  45. -- Tim Stark
  46.  
  47.  
  48. -- 
  49. Timothy Stark               Internet1: tstark@access.digex.com (Preferred)
  50. 837 North Van Dorn St       Internet2: tstark@netcom.com
  51. Alexandria, Va. 22304-2723  TDD: (703) 212-9731 Pager: (703) 702-4078
  52. "Washington, DC is the most deaf population!! -- Gallaudet University"
  53.