From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28057 invoked by alias); 7 Apr 2010 15:09:24 -0000 Received: (qmail 28025 invoked by uid 22791); 7 Apr 2010 15:09:16 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from fg-out-1718.google.com (HELO fg-out-1718.google.com) (72.14.220.154) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 07 Apr 2010 15:09:12 +0000 Received: by fg-out-1718.google.com with SMTP id l26so444175fgb.12 for ; Wed, 07 Apr 2010 08:09:07 -0700 (PDT) Received: by 10.87.8.4 with SMTP id l4mr14023000fgi.1.1270652944353; Wed, 07 Apr 2010 08:09:04 -0700 (PDT) Received: from [192.168.3.190] ([76.164.189.82]) by mx.google.com with ESMTPS id d4sm12352413fga.0.2010.04.07.08.09.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 07 Apr 2010 08:09:03 -0700 (PDT) Message-ID: <4BBCA00B.100@doxalogos.com> Date: Wed, 07 Apr 2010 15:09:00 -0000 From: Jack Atkinson Reply-To: jgatkinsn@doxalogos.com User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: pthreads-win32@sourceware.org Subject: Need Help! Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact pthreads-win32-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sourceware.org X-SW-Source: 2010/txt/msg00003.txt.bz2 Hello, I've downloaded the latest pthreads-win32. I've put the pthreadsVCE2.dll file in my windows\system32 directory on Windows 7, 64-bit. I'm using Microsoft Visual Studio Express 2008. My project is configured to include the header file. However, I get these errors when I compile: 1>k:\adtran\managedcomponents\adbasewin32\signal.h(31) : error C2143: syntax error : missing ';' before '*' 1>k:\adtran\managedcomponents\adbasewin32\signal.h(31) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>k:\adtran\managedcomponents\adbasewin32\signal.h(31) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int When I look in the signal.h file (my own signal implementation) where the error is, I have this: pthread_attr_t* sigev_notify_attributes; I look up in the pthread.h file (pthreads-win32 file). I see that pthread_attr_t is a typedef of "struct pthread_attr_t_". However, I cannot find "struct pthread_attr_t_" anywhere inside the pthread.h file. I did see an alternate define for "_UWIN", but there are no instructions on why "_UWIN" could be needed. Could someone help me figure out what I've overlooked to get this compile? Somehow other people have got this working, but I'm clueless with these incomplete defines found in the pthreads.h file. Thanks, J. Atkinson