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

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!decwrl!csus.edu!netcom.com!netcom!rjesse
  3. From: rjesse@netcom.Netcom.COM (Rick Jesse)
  4. Subject: Re: Trouble compiling NIH classes
  5. Message-ID: <RJESSE.92Aug22144049@netcom.Netcom.COM>
  6. Date: Sat, 22 Aug 92 22:40:49 GMT
  7. Organization: Netcom Online Communications Service
  8. In-Reply-To: sriram@tcs.com's message of Wed, 19 Aug 1992 18:16:22 GMT
  9. References: <1992Aug19.181622.12608@tcsi.com>
  10. Lines: 88
  11.  
  12. In article <1992Aug19.181622.12608@tcsi.com> sriram@tcs.com (Sriram Srinivasah) writes:
  13.  
  14.    Newsgroups: comp.lang.c++
  15.    Path: netcom.com!csus.edu!wupost!uunet!tcsi.com!sriram
  16.    From: sriram@tcs.com (Sriram Srinivasah)
  17.    Sender: news@tcsi.com
  18.    Organization: Teknekron Communications, Inc
  19.    Date: Wed, 19 Aug 1992 18:16:22 GMT
  20.    Lines: 20
  21.  
  22.  
  23.  
  24.    I used Sun's C++ compiler, and also Centerline's cfront 2.1 compatible compiler, 
  25.    and get the following error on compiling the NIH classes (the SUN CC version,
  26.    from alw.nih.gov)
  27.  
  28.    CC    -DNESTED_TYPES   -c -I../nihincl Arraychar.c
  29.    ./nihclconfig.h: 31: sparc redefined
  30.    "./nihclconfig.h", line 279: error: two exact matches for ENV_PC(): unsigned
  31.           int (const JMP_BUF &) and unsigned int &(JMP_BUF )
  32.    "./nihclconfig.h", line 280: error: two exact matches for ENV_SP(): unsigned 
  33.           int (const JMP_BUF &) and unsigned int &(JMP_BUF )
  34.    "./nihclconfig.h", line 281: error: two exact matches for ENV_FP(): unsigned 
  35.           int (const JMP_BUF &) and unsigned int &(JMP_BUF )
  36.    Compilation failed
  37.  
  38.    Can anyone give me some tips on this?
  39.  
  40.    Sriram,
  41.  
  42.    I'm getting the same errors using Sun's cfront 2.1 on a 4/110.  The
  43.    problem looks like the ENV_ functions are being overloaded at the
  44.    end of nihclconfig.h but the arguments from the previous defintions
  45.    of ENV_ in nihclconfig.h (the platform specific ones) have the
  46.    same arguments.  I haven't found a solution yet, but I'm posting
  47.    to K. Gorlen.  I'll let you know what happens.
  48.  
  49.    Rick Jesse
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.