[343] in Pthreads mailing list archive

home help back first fref pref prev next nref lref last post

compiling with pg++?

daemon@ATHENA.MIT.EDU (Stewart Gebbie)
Fri Jun 28 19:24:29 1996

Date: Sat, 29 Jun 1996 01:04:20 +0000 (GMT)
From: Stewart Gebbie <stewart@quotient.global.co.za>
Reply-To: stewart@global.co.za
To: pthreads@MIT.EDU

When I try to compile test_create.c with pg++ I get the following err msg:
>>>>
In file included from /usr/local/pthreads/include/pthread.h:51,
                 from test_create.c:11:
/usr/local/pthreads/include/pthread/sleep.h:48: previous declaration of 
  `int machdep_gettimeofday(struct timespec *)' with C++ linkage
/usr/local/pthreads/include/pthread/sleep.h:59: conflicts with new 
  declaration with C linkage
>>>>

does any body have any idea why this has happened and how to solve this prob?

I am using Linux 2.00 

Thanks 
stewart

/******************************************************************************
Stewart Gebbie
(H)+27 11 4323196                  ``A day without tempting fate
(W)+27 11 7164534                       is a day wasted''
sgebbie@voyager.cs.wits.ac.za
stewart@global.co.za
******************************************************************************/


home help back first fref pref prev next nref lref last post