[comp.unix.ultrix] at&tc++2.1 on dec-vaxstations 3100

csmoe@knuth.MTSU.EDU (Monisha Guglani) (02/07/91)

Hi,
	I'm having problems trying to compile at&tc++2.1 on our
	dec-vaxstations 3100 running ultrix 4.1 bsd. I'm getting
	errors during the compilation of the task library  

	inconsistent linkage specifications for clock().
	in file stdlib.h

	Apparently clock() is defined as long in the include stdlib.h
	for c++ but is defined as clock_t( int) for ultrix4.1 in  its
	standard header file time.h.
	Changing clock() to long in file time.h in the standard includes
	dosen't help any!!

	Does anyone have similar problems or a solution to this one??
-- 
/**************************************************************/
/*       csmoe@knuth.mtsu.edu        Monisha Guglani          */	   
/* "I haven't lost my mind its backed-up on a tape somewhere" */
/**************************************************************/