From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10467 invoked by alias); 4 May 2006 11:44:33 -0000 Received: (qmail 10457 invoked by uid 22791); 4 May 2006 11:44:32 -0000 X-Spam-Check-By: sourceware.org Received: from mail37.opentransfer.com (HELO mail37.opentransfer.com) (72.41.255.206) by sourceware.org (qpsmtpd/0.31) with SMTP; Thu, 04 May 2006 11:44:31 +0000 Received: (qmail 24138 invoked by uid 399); 4 May 2006 11:41:50 -0000 Received: from unknown (HELO ?127.0.0.1?) (61.246.17.155) by mail.opentransfer.com with SMTP; 4 May 2006 11:41:50 -0000 Message-ID: <4459E879.6020309@gmail.com> Date: Thu, 04 May 2006 11:44:00 -0000 From: Divick Kishore User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: pthreads-win32@sourceware.org Subject: Compilation problem with VC7.1 and pthread -- DWORD redefinition Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00013.txt.bz2 Hi, I am trying to build a project with pthreads port on windows. But i get the following error while building my project with VC7.1 compiler. I have even tried the latest version of pthreads-win32 library compiled separately with VC7.1, but of no avail. Error thrown by VC7.1 compiler c:\myproject\pthread\include\sched.h(124) : error C2371: 'DWORD' : redefinition; different basic types c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinDef.h(141) : see declaration of 'DWORD I tried google and this mailing list itself but found no such thread/link where one has faced similar problem. I am sure though that it would be some trivial problem, otherwise there would have been lots of discussion about this. In any case please help me fix the problem. Thanks, Divick