From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 733 invoked by alias); 12 May 2004 01:00:58 -0000 Mailing-List: contact pthreads-win32-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sources.redhat.com Received: (qmail 722 invoked from network); 12 May 2004 01:00:54 -0000 Received: from unknown (HELO mail.npsl.co.uk) (213.232.85.2) by sourceware.org with SMTP; 12 May 2004 01:00:54 -0000 Received: from 81.96.65.27 (helo=yaffle) by mail.npsl.co.uk with smtp (Yam) id yybtp1OhBWcML; Wed, 12 May 2004 02:00:50 +0100 From: "Mark Weaver" To: "jefe goode" , Subject: RE: pthread declaration problem Date: Wed, 12 May 2004 01:00:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit In-Reply-To: <20040512003731.20656.qmail@web61001.mail.yahoo.com> X-SW-Source: 2004/txt/msg00058.txt.bz2 > Complete program below: > > compiler output is 7 errors -- (all type info not > found -- the other 6 errors are knock-on ones ) > > C:\PROJECTS\CP3\Thread1\Thread1.cpp(22) : error C2065: > 'pthread_t' : undeclared identifier > > > Regards and Thanks > > Jefe > --------------- Listing below -------------- > > #include "Thread.h" > #include "pthread.h" > #include "sched.h" > #include "semaphore.h" > #include > #include > #include > > #include "stdafx.h" > void print_message_function( void *ptr ); > If using PCH (precompiled headers) under VC6, then all lines before #include "stdafx.h" are ignored. Try moving this to the top or turning off PCH.