home *** CD-ROM | disk | FTP | other *** search
- 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
- From: adc@tardis.msu.edu (Alan D. Cabrera)
- Newsgroups: comp.sys.isis
- Subject: Problems with the definition of NULLARG in isis.h
- Message-ID: <1992Nov7.231718.1707@msuinfo.cl.msu.edu>
- Date: 7 Nov 92 23:17:18 GMT
- Sender: news@msuinfo.cl.msu.edu
- Reply-To: adc@tardis.msu.edu
- Organization: Michigan State University
- Lines: 22
-
- In ISIS v3.0.5, the definition in isis.h of NULLARG is
-
- #define NULLARG (VOID*) 0
-
- Now when I compile this with an ANSI C compiler, gcc -ansi, the
- definition of qu_null() which was
-
- #define qu_null() N7fa87dd0(0,NULLARG,NULLROUTINE)
-
- turns into
-
- N7fa87dd0(0, ( *) 0 , (vfunc*) 0 ) ;
-
- in my code, so it seems that VOID gets set to " ".
-
-
- ---
- Alan Cabrera internet: adc@tardis.cl.msu.edu
- Computer Laboratory phone: (517) 353-3027
- Michigan State University fax: (517) 353-9847
- 514 Computer Center bitnet: CABRERA@MSU
- East Lansing, MI 48824
-