From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 83805 invoked by alias); 30 Oct 2016 18:23:18 -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 83777 invoked by uid 89); 30 Oct 2016 18:23:16 -0000 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,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:ip*192.168.0.6 X-HELO: mail-oi0-f46.google.com Received: from mail-oi0-f46.google.com (HELO mail-oi0-f46.google.com) (209.85.218.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 30 Oct 2016 18:23:14 +0000 Received: by mail-oi0-f46.google.com with SMTP id i127so182054848oia.2 for ; Sun, 30 Oct 2016 11:23:14 -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:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=vOB3CUWbMvnun/cdO03cy5Xdt5iGJ4al8RXIVk16vos=; b=KpiLjuSvlf/PViuFKwtA/BOHRNpSVVpygUFxNol1sPN1bexMT9DXqmvl+CXP1vVl2d VIEBpGkdwHTiXwfOmEJLK5h8/cN5YrWfU1a83WniH2rp5o7P3Y7rsGRZ1hAyXOKzUH5/ aESjUeCHAXOZctudM+J24M6mz5sEz9ymYfyEzSTPUdRXXI7e6mD6yTL9ZVBRj5p5uEoo 8h6KB9aM+A9HmSbGSZnVqPmVP0xJuANz3zg9eXPsev0fMQnlFLRFzn19LzklTgpHUnG4 MByTwoDynq0uBrSxSllRrHATyGBrpxspKJhYMXh1ZYQTkoja7VhsNN6E/CAs0xoIU/Qi /0JQ== X-Gm-Message-State: ABUngvde/tuQk8vi6iQRrrbP9CKV5SSZ8m6ihhP61lWEcN9kweiHLOLXG/QTJ3ssxoyGEA== X-Received: by 10.36.88.79 with SMTP id f76mr5993978itb.96.1477851792680; Sun, 30 Oct 2016 11:23:12 -0700 (PDT) Received: from [192.168.0.6] (d27-96-48-76.nap.wideopenwest.com. [96.27.76.48]) by smtp.gmail.com with ESMTPSA id 86sm9020470ioj.38.2016.10.30.11.23.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Oct 2016 11:23:12 -0700 (PDT) To: cygwin@cygwin.com From: cyg Simple Subject: sys/cdefs.h or maybe gcc build issue Message-ID: <57cbf5e2-f37b-ae50-f65c-dd6782481962@gmail.com> Date: Sun, 30 Oct 2016 18:37:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00295.txt.bz2 The below sample code will give a warning that visibility isn't supported in this configuration. Either the GCC build is incorrect or the sys/cdefs.h needs to be modified to define __hidden to empty. /********************************************/ #include #include __hidden void hello (char * str) { printf("%s %s\n", "Hello", str); } int main (int argc, char ** argv) { hello("cruel world!"); } /********************************************/ -- cyg Simple -- 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