From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38818 invoked by alias); 19 Mar 2016 22:12:51 -0000 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 Received: (qmail 38741 invoked by uid 89); 19 Mar 2016 22:12:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=HTo:U*pthreads-win32, H*r:sk:pthread, ralph, Hx-languages-length:867 X-HELO: mail-wm0-f49.google.com Received: from mail-wm0-f49.google.com (HELO mail-wm0-f49.google.com) (74.125.82.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sat, 19 Mar 2016 22:12:40 +0000 Received: by mail-wm0-f49.google.com with SMTP id p65so110637324wmp.1 for ; Sat, 19 Mar 2016 15:12:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:references:from:subject:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=+padmcMiXOdcDs4e2hzlZGjdejULyv7MsrWoBKcCNps=; b=km6lGpImEsoftz7H3XPMK5MoyZWo2u41GoV4J/KptkD4hgMh+rkO1fMbq6gdyhs/59 ++VhqQ72BJzT6web3QUtkCzeFgs0G79xncaVMZgTVusWofj+8dgcSIfdA6/CpmA4JGX1 FPQ7f6LRdLdcdgxU1o9ho5kwKVoXV0uExTgfUudGaOiSXmoNJdV0DDTqvz5SyqBR8vtw pHcRAqJYtREmytM8hSget9wr8wDqlYM3vHTVevjie7otbBWsOQowAwz3MePQdIoYD4Re TTZIDDO7UMsEq0vj1sJbhyp77FNsrhI2y5kI0dP57ZuyJrB+g6VvQ1wR2ai18Gs7YbZB ialw== X-Gm-Message-State: AD7BkJLWG0vIZsu8V6R7OJH61PFPnbc/2y3Soh5NLO1OzGuDjy/lmI2nXU+De2xN7etWhA== X-Received: by 10.194.216.227 with SMTP id ot3mr5582126wjc.69.1458425557670; Sat, 19 Mar 2016 15:12:37 -0700 (PDT) Received: from [192.168.1.158] (dhcp-5-103-252-186.seas-nve.net. [5.103.252.186]) by smtp.gmail.com with ESMTPSA id w10sm5364429wmw.1.2016.03.19.15.12.36 for (version=TLSv1/SSLv3 cipher=OTHER); Sat, 19 Mar 2016 15:12:36 -0700 (PDT) To: pthreads-win32@sourceware.org References: <1458421807.60620.ezmlm@sourceware.org> From: ralph engels Subject: Submitting patches ? Message-ID: <56EDCED4.9050004@gmail.com> Date: Sat, 19 Mar 2016 22:12:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <1458421807.60620.ezmlm@sourceware.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016/txt/msg00000.txt.bz2 Hello. After some brainstorming and some help from a mingw.org user we managed to get gcc building again with pthreads-w32. Theres a few changes needed, first and foremost windows.h must not be included in pthread.h, i used a guard to only allow it at build time but it should newer be allowed if we want to do this correctly since it breaks gcc macros. Secondly the check for __MINGW64__ is wrong since __MINGW64__ == __MINGW32__ if you want to distinguish the builds for the mingw-w64 compiler the correct define is __MINGW64_VERSION_MAJOR. Rest of the changes are against gcc itself and have been pushed to the gcc dev team. Im not sure where to submit patches for pthreads-w32 since the repository is read only, but i can forward them to you if you prefer it that way. Let me know which option would be preferable. Regards Ralph Engels