at&tc++2.1 on dec-vaxstations 3100

Monisha Guglani csmoe at knuth.MTSU.EDU
Thu Feb 7 08:56:24 AEST 1991


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 at knuth.mtsu.edu        Monisha Guglani          */	   
/* "I haven't lost my mind its backed-up on a tape somewhere" */
/**************************************************************/



More information about the Comp.unix.ultrix mailing list