X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=hXWyXZX YkjkabW3bbwrg5H2ZsfyhrfcIl2+v51FK5y6XbyRIKALutL0wG/9lTqtNJvOHzI+ 1FdUMfXa6IOdx3TR5eFMN+SZGKE7CMHvNYzykXFKo+5WiPAGPv/gfYrXMGFhrhVh Xf98ri3GLflmYwVBCduit4t/b+RSI8UCX44s= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=YhGEVd3igbLNs 2MmKwP2zlFfF90=; b=bFVKMO2ZZv2Iqw3ExHpNwGrMbrvGkBny+zGB0lp+x1CnM t01RCgT5dNPGvzr/xMvPD9OPJnZ0FTR9xcY9Z/HJ47x3VLnQGNl8WrpC9m7KRJVR T9ykxaWWQtBi4yB1iJtmkfflz1gYCrpJ7g8khFarXEVsIAdGe1ukxYnJbrHrYI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=marco DOT atzeri AT gmail DOT com, marcoatzerigmailcom, avert X-HELO: mail-wm0-f44.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=4Zo+FLoF2lg2l/7Fd0gUVKu5Iz2i+UDW/N/T9pPTnTY=; b=nNF/Pbb21nYX2Jw3gV4S9H6VEokZnRtCzqw+FNvCqIYEx57URQVoER/TtO9eC8FM5N oFEXxMrq4tfbVjeJkkz+G6aU0fkAxgTLmz5yH1P6FOdxr1Jm4CKPZ7ZevqQ9/OHiI2bC YXBKBbpZ7jD5yaOyEQyo62SJMK2UUxm5b8zal9iGUF97QeBKoqnc9mPdGpNOFK+/xmGc V15dpS03dVY+w41bf70Oa/VFRB+lAKt+6DckW9A1TWYazxVgQm4DJzKU2IEgYcPIuJpL XYvrGLXMmcvtfbvniMiGxrL66xhXxD2noh91lZf+scO8dDqTy7bTaMU1z8RtUFDHRFYU wGig== X-Gm-Message-State: AD7BkJIpH+Q24gePLR0XsnECXWs1QxXYSGJBbChkToDuR4EmOe2z3CJ0s2xTCcMzyFcFXwLdtFTPuDgWw+t94A== X-Received: by 10.194.60.145 with SMTP id h17mr10653458wjr.47.1458222196340; Thu, 17 Mar 2016 06:43:16 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <56EAB2A8.4010400@gmail.com> References: <56EAAD1B DOT 4030107 AT t-online DOT de> <56EAB2A8 DOT 4010400 AT gmail DOT com> From: Ismail Donmez Date: Thu, 17 Mar 2016 15:42:46 +0200 Message-ID: Subject: Re: clang copy of limits.h misses NAME_MAX To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes On Thu, Mar 17, 2016 at 3:35 PM, Marco Atzeri wrote: > it seems to prefer gcc headers > > # 1 "/usr/bin/../lib/clang/3.7.1/include/limits.h" 1 3 4 > # 37 "/usr/bin/../lib/clang/3.7.1/include/limits.h" 3 4 > # 1 "/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/include/limits.h" 1 3 4 > # 38 "/usr/bin/../lib/clang/3.7.1/include/limits.h" 2 3 4 > # 17 "/usr/include/sys/dirent.h" 2 3 4 I am looking at clang 3.7 headers on Linux so this might be not 100% same on Cygwin but, clang's limits.h has this on top: /* The system's limits.h may, in turn, try to #include_next GCC's limits.h. Avert this #include_next madness. */ #if defined __GNUC__ && !defined _GCC_LIMITS_H_ #define _GCC_LIMITS_H_ #endif which should prevent including gcc's own limits.h but looks like it doesn't. ismail -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple