home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / cplus / 12571 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.1 KB  |  31 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!tcsi.com!sriram
  3. From: sriram@tcs.com (Sriram Srinivasah)
  4. Subject: Trouble compiling NIH classes
  5. Message-ID: <1992Aug19.181622.12608@tcsi.com>
  6. Sender: news@tcsi.com
  7. Organization: Teknekron Communications, Inc
  8. Date: Wed, 19 Aug 1992 18:16:22 GMT
  9. Lines: 20
  10.  
  11.  
  12.  
  13. I used Sun's C++ compiler, and also Centerline's cfront 2.1 compatible compiler, 
  14. and get the following error on compiling the NIH classes (the SUN CC version,
  15. from alw.nih.gov)
  16.  
  17. CC    -DNESTED_TYPES   -c -I../nihincl Arraychar.c
  18. ./nihclconfig.h: 31: sparc redefined
  19. "./nihclconfig.h", line 279: error: two exact matches for ENV_PC(): unsigned
  20.                int (const JMP_BUF &) and unsigned int &(JMP_BUF )
  21. "./nihclconfig.h", line 280: error: two exact matches for ENV_SP(): unsigned 
  22.                int (const JMP_BUF &) and unsigned int &(JMP_BUF )
  23. "./nihclconfig.h", line 281: error: two exact matches for ENV_FP(): unsigned 
  24.                int (const JMP_BUF &) and unsigned int &(JMP_BUF )
  25. Compilation failed
  26.  
  27. Can anyone give me some tips on this?
  28.  
  29. Sriram
  30. (sriram@tcs.com)
  31.