|> 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
|>
|>
I just returned from a long vacation and am swamped with work, so I don't have time to investigate this right now. However, I'll make a wild guess and say you should try compiling without the BUG_48 preprocessor symbol defined.