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:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=gG9 q3B3aH6zquRcBgqkARnpy5MqABrdM8D8IH8867pV0gUe1XfO+b3AbjZZLj3IDLtT 543LkxqljCB4j+604zwSEnzoqRZgLsUta5l/6f0XV5vSwGWOleI0OHu9meSNbMMp TZY4be92c48nYL0YYMWDNp2ZUEFwZQCU72Zzc1SA= 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:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=dVu9E71Wj +Q8lmGx+2Zotj1QeHM=; b=GcDvJjAi5a7xr67iMY8AtZ5iKZsM+TX8DmW+InNLu e6EWJ/fTxBkUxkmRDk1W3ohHTbAIswWylcNV8ialYfvZT2onniLCaaSYOgFTjR6O fL9n7gUhdTSgRNlJZ+6xg76k0zwz83J8gDqTOY0Ft1F14RRc0AMrUpMQzDMOpbqv iA= 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,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 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) To: cygwin AT cygwin DOT 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 14:23:12 -0400 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 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