Article View: comp.sys.dec
Article #3061at&tc++2.1 on dec-vaxstations 3100
From: Monisha Guglani
Date: Wed, 06 Feb 1991 21:56
Date: Wed, 06 Feb 1991 21:56
21 lines
1298 bytes
1298 bytes
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" */ /**************************************************************/
Technical Details
Message-ID:
<csmoe.665877384@knuth>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mjbtn!knuth!csmoeShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mjbtn!knuth!csmoe From: csmoe@knuth.MTSU.EDU (Monisha Guglani) Newsgroups: comp.sys.dec,comp.unix.ultrix,comp.lang.c++,comp.sys.misc Subject: at&tc++2.1 on dec-vaxstations 3100 Summary: incompatible types for clock() Message-ID: <csmoe.665877384@knuth> Date: 6 Feb 91 21:56:24 GMT Followup-To: comp.sys.dec Organization: Dept of CS, Mid-Tenn State Univ, Murfreesboro, TN Lines: 21