From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4871 invoked by alias); 9 Jan 2017 16:48:20 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 4787 invoked by uid 89); 9 Jan 2017 16:48:09 -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,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=marco, Marco, bloc, H*M:88ca X-HELO: mail-wj0-f179.google.com Received: from mail-wj0-f179.google.com (HELO mail-wj0-f179.google.com) (209.85.210.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 09 Jan 2017 16:48:07 +0000 Received: by mail-wj0-f179.google.com with SMTP id kq3so22657621wjc.0 for ; Mon, 09 Jan 2017 08:48:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=zD0hzCsdFugVysTgqvyTCQK9WR4dICwuBl5I3Fqbtv8=; b=igxCF2lAx2m/G9FsYSjPreFYP27Yth3pVBcO0xvqCVoqBSclhzvE8i5E35bdwREAbm c6wj1ZvPHQhWesWlOdbJ948N2UTSK8sqqrNVoa9CSYqUQ2RvnyeB3sgtaaD525YOy4eX mM13umhukITo5AcZkm5jWJspmCnewqpHYtCLBpIhRPTUGFJ2BxqAS1PujcqN8hAA9wb5 U+IsZfwEpJFXvuhZgPzK8DFLd4CklcI94Cj5bSquMI9RBSeORZnxHnlU14ofPQGQftMG xrPl8A1HGa4/fwsUBjsOi5oQh5vQ7dhpstSfumbyzpQF3y8fJTy4bnadPPEe2DZ2QoBj 52fQ== X-Gm-Message-State: AIkVDXJDN4mdLx2zngRUAZj+ukXuwuO2ltbAghq8lSOMiAZAFqTtty0vwaGSfjdAE1vwXg== X-Received: by 10.194.44.74 with SMTP id c10mr6925107wjm.72.1483980484423; Mon, 09 Jan 2017 08:48:04 -0800 (PST) Received: from [172.21.188.226] ([62.154.173.198]) by smtp.googlemail.com with ESMTPSA id s20sm19836794wmb.9.2017.01.09.08.48.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jan 2017 08:48:03 -0800 (PST) From: Marco Atzeri Subject: ushort definition To: "cygwin@cygwin.com" Message-ID: <9d119899-88ca-c530-c1b4-1a5613dc6daa@gmail.com> Date: Mon, 09 Jan 2017 16:48:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00057.txt.bz2 While building latest gdal the following bloc of /usr/include/sys/types.h ----------------------------------------------------------------------- #if __MISC_VISIBLE typedef unsigned short ushort; /* System V compatibility */ typedef unsigned int uint; /* System V compatibility */ typedef unsigned long ulong; /* System V compatibility */ #endif ------------------------------------------------------------------------- seems to cause a puzzling recursive definition (as reported by g++ -C -E) $ grep "System V" ../o/.libs/jpeg2000_vsil_io.E typedef unsigned short unsigned short; /* System V compatibility */ typedef unsigned int unsigned int; /* System V compatibility */ typedef unsigned long unsigned long; /* System V compatibility */ * from System V, which stupidly took internal interface macros and however I don't see how the definition is read two times or where ushort was previoulsy defined. grep "ushort" ../o/.libs/jpeg2000_vsil_io.E What I am missing ? Regards Marco -- 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