home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / isis / 293 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.0 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!netnews.upenn.edu!msuinfo!tardis!adc
  2. From: adc@tardis.msu.edu (Alan D. Cabrera)
  3. Newsgroups: comp.sys.isis
  4. Subject: Problems with the definition of NULLARG in isis.h
  5. Message-ID: <1992Nov7.231718.1707@msuinfo.cl.msu.edu>
  6. Date: 7 Nov 92 23:17:18 GMT
  7. Sender: news@msuinfo.cl.msu.edu
  8. Reply-To: adc@tardis.msu.edu
  9. Organization: Michigan State University
  10. Lines: 22
  11.  
  12. In ISIS v3.0.5, the definition in isis.h of NULLARG is 
  13.  
  14.     #define NULLARG         (VOID*)         0
  15.  
  16. Now when I compile this with an ANSI C compiler, gcc -ansi, the
  17. definition of qu_null() which was
  18.  
  19.     #define qu_null() N7fa87dd0(0,NULLARG,NULLROUTINE)
  20.  
  21. turns into 
  22.  
  23.     N7fa87dd0(0,        ( *)         0 ,    (vfunc*)  0 ) ;
  24.  
  25. in my code, so it seems that VOID gets set to " ".
  26.  
  27.  
  28. ---
  29. Alan Cabrera                internet:  adc@tardis.cl.msu.edu
  30. Computer Laboratory            phone:     (517) 353-3027
  31. Michigan State University        fax:       (517) 353-9847
  32. 514 Computer Center            bitnet:    CABRERA@MSU
  33. East Lansing, MI 48824
  34.