From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26684 invoked by alias); 23 Jun 2006 18:28:41 -0000 Received: (qmail 26676 invoked by uid 22791); 23 Jun 2006 18:28:40 -0000 X-Spam-Check-By: sourceware.org Received: from mailgw2a.lmco.com (HELO mailgw2a.lmco.com) (192.91.147.7) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 23 Jun 2006 18:28:39 +0000 Received: from emss03g01.ems.lmco.com (relay3.ems.lmco.com [141.240.4.144])by mailgw2a.lmco.com (LM-6) with ESMTP id k5NISbk6029184for ; Fri, 23 Jun 2006 14:28:37 -0400 (EDT) Received: from CONVERSION-DAEMON.lmco.com by lmco.com (PMDF V6.1-1X6 #30875) id <0J1B00G01SN7WL@lmco.com> for pthreads-win32@sourceware.org; Fri, 23 Jun 2006 14:28:36 -0400 (EDT) Received: from EMSS03I00.us.lmco.com ([166.27.250.234]) by lmco.com (PMDF V6.1-1X6 #30875) with ESMTP id <0J1B001G6SMGHE@lmco.com> for pthreads-win32@sourceware.org; Fri, 23 Jun 2006 14:28:04 -0400 (EDT) Received: from EMSS03M09.us.lmco.com ([166.27.250.218]) by EMSS03I00.us.lmco.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 23 Jun 2006 14:27:59 -0400 Date: Fri, 23 Jun 2006 18:28:00 -0000 From: "Smith, David A2" Subject: Newbie: Include file issues? To: pthreads-win32@sourceware.org Message-id: MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Content-class: urn:content-classes:message X-IsSubscribed: yes Mailing-List: contact pthreads-win32-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sourceware.org X-SW-Source: 2006/txt/msg00041.txt.bz2 Hey guys and gals, I'm trying to port some linux code to win32.=A0 I downloaded and built pthr= eads-w32 with no problems.=A0 When I try to use (include and link) it howev= er, I get a lot of compilation errors.=A0=20 error C2065: 'pthread_attr_t' : undeclared identifier error C2146: syntax error : missing ';' before identifier 'attr' error C3861: 'pthread_attr_init': identifier not found, even with argument-= dependent lookup Etc... The problem seems to be that pthread_attr_t is a typedef of pthread_attr_t_= *, which is never defined.=20=20 I noticed some people including implements.h in what appears to be an incom= plete thread in the archive. When I include implements.h after pthread.h, = it doesn't do any good. This doesn't appear to be a common problem... does= anyone know why it is happening? Thanks! Dave