home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / misc / 4004 < prev    next >
Encoding:
Text File  |  1992-08-30  |  682 b   |  27 lines

  1. Xref: sparky comp.sys.sun.misc:4004 comp.lang.c:12999
  2. Newsgroups: comp.sys.sun.misc,comp.lang.c
  3. Path: sparky!uunet!odi!benson
  4. From: benson@odi.com (Benson I. Margulies)
  5. Subject: Re: Strange error in C compiler
  6. Message-ID: <1992Aug31.012735.8262@odi.com>
  7. Keywords: dynamic linking C compilation constant pointer
  8. Reply-To: benson@odi.com (Benson I. Margulies)
  9. Organization: Object Design Inc., Burlington, MA
  10. References: <13271.714953297@kiae.su> <25820@dog.ee.lbl.gov>
  11. Date: Mon, 31 Aug 92 01:27:35 GMT
  12. Lines: 13
  13.  
  14. I deal with _DYNAMIC with no trouble.
  15.  
  16. I declare it
  17.  
  18. extern struct link_dynamic _DYNAMIC;
  19.  
  20. then I ask
  21.  
  22.    if (&_DYNAMIC == 0)
  23.  
  24. works just fine. 
  25. -- 
  26. Benson I. Margulies
  27.