From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11600 invoked by alias); 20 Nov 2012 17:28:47 -0000 Received: (qmail 11506 invoked by uid 22791); 20 Nov 2012 17:28:44 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from njoerd.mathematik.hu-berlin.de (HELO njoerd.mathematik.hu-berlin.de) (141.20.53.126) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 20 Nov 2012 17:28:40 +0000 Received: from localhost (localhost [127.0.0.1]) by njoerd.mathematik.hu-berlin.de (Postfix) with ESMTP id 84F8A36A863 for ; Tue, 20 Nov 2012 18:28:38 +0100 (CET) Received: from njoerd.mathematik.hu-berlin.de ([127.0.0.1]) by localhost (njoerd.mathematik.hu-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20185-02 for ; Tue, 20 Nov 2012 18:28:38 +0100 (CET) Received: from saparod.polamai (p5798F9B3.dip.t-dialin.net [87.152.249.179]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by njoerd.mathematik.hu-berlin.de (Postfix) with ESMTPSA id 077B936A83E for ; Tue, 20 Nov 2012 18:28:37 +0100 (CET) Message-ID: <50ABBDC5.3000600@math.hu-berlin.de> Date: Tue, 20 Nov 2012 17:28:00 -0000 From: Stefan Vigerske User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121025 Thunderbird/16.0.2 MIME-Version: 1.0 To: pthreads-win32@sourceware.org Subject: problems compiling with Intel compiler (64bit) 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-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sourceware.org X-SW-Source: 2012/txt/msg00029.txt.bz2 Hi, I had two issues when trying to compile with Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.0.1.119 I did nmake CC=icl VCE and got 5 compiler errors from ptw32_MCS_lock.c of the form ptw32_MCS_lock.c(106): error: argument of type "volatile size_t={unsigned __int64} *" is incompatible with parameter of type "volatile LONG64={__int64} *" (PTW32_INTERLOCKED_SIZEPTR)flag, I could get around this by changing PTW32_INTERLOCKED_SIZEPTR in implement.h: #define PTW32_INTERLOCKED_SIZEPTR PTW32_INTERLOCKED_VOLATILE LONG64* The second issue was during linking the library: nonportable.obj : error LNK2019: unresolved external symbol ptw32_robust_mutex_remove referenced in function pthread_win32_thread_detach_np This could be resolved by removing the INLINE in front of ptw32_robust_mutex_remove in pthread_mutex_consistent.c. Best, Stefan