home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!decwrl!csus.edu!netcom.com!netcom!rjesse
- From: rjesse@netcom.Netcom.COM (Rick Jesse)
- Subject: Re: Trouble compiling NIH classes
- Message-ID: <RJESSE.92Aug22144049@netcom.Netcom.COM>
- Date: Sat, 22 Aug 92 22:40:49 GMT
- Organization: Netcom Online Communications Service
- In-Reply-To: sriram@tcs.com's message of Wed, 19 Aug 1992 18:16:22 GMT
- References: <1992Aug19.181622.12608@tcsi.com>
- Lines: 88
-
- In article <1992Aug19.181622.12608@tcsi.com> sriram@tcs.com (Sriram Srinivasah) writes:
-
- Newsgroups: comp.lang.c++
- Path: netcom.com!csus.edu!wupost!uunet!tcsi.com!sriram
- From: sriram@tcs.com (Sriram Srinivasah)
- Sender: news@tcsi.com
- Organization: Teknekron Communications, Inc
- Date: Wed, 19 Aug 1992 18:16:22 GMT
- Lines: 20
-
-
-
- I used Sun's C++ compiler, and also Centerline's cfront 2.1 compatible compiler,
- and get the following error on compiling the NIH classes (the SUN CC version,
- from alw.nih.gov)
-
- CC -DNESTED_TYPES -c -I../nihincl Arraychar.c
- ./nihclconfig.h: 31: sparc redefined
- "./nihclconfig.h", line 279: error: two exact matches for ENV_PC(): unsigned
- int (const JMP_BUF &) and unsigned int &(JMP_BUF )
- "./nihclconfig.h", line 280: error: two exact matches for ENV_SP(): unsigned
- int (const JMP_BUF &) and unsigned int &(JMP_BUF )
- "./nihclconfig.h", line 281: error: two exact matches for ENV_FP(): unsigned
- int (const JMP_BUF &) and unsigned int &(JMP_BUF )
- Compilation failed
-
- Can anyone give me some tips on this?
-
- Sriram,
-
- I'm getting the same errors using Sun's cfront 2.1 on a 4/110. The
- problem looks like the ENV_ functions are being overloaded at the
- end of nihclconfig.h but the arguments from the previous defintions
- of ENV_ in nihclconfig.h (the platform specific ones) have the
- same arguments. I haven't found a solution yet, but I'm posting
- to K. Gorlen. I'll let you know what happens.
-
- Rick Jesse
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-