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=mGh ivCfmW4/N9cv95OyMdHq9iSNIzYNB3ybJVnYKNKdeKo1gx+P7zyj1uYgmPTptQ/4 QLcNeKXo1JIZdHq/wqmEqkgeS3RrPnPGUsCXq/d+8nz2sxe+KD6wq685fhCaiuS4 mkwKHZKHlh4TIj9vUh81Xt0w/d8mApu8ROX4fq+Y= 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=ktfBETKF7 QFffYE9jHcxAcJzaEo=; b=MxdbYMI6Pf5RU09oGEnN4XE0GP197g4qM/LetQN3o 0oN3DDF7dwftz6+ZnefWxBUV4yzNOs0zzhFHLQ4YdxLXXkM4Rm/y+b/0E+Ocd+h5 md1oitPiZu8tqpyjz3cz0Y2U0QkRDvrGalR/YWURqVOPWKFvaEBLoMkGBbBtxMWJ N4= 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=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=***************************************************** X-HELO: mail-it0-f66.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=c26XZZJENLbdAT1dBsjKyaj/VXNufjqpdMk5f2uxTHE=; b=kQoIA1eICQKJNP1AZ4uOmk3Nsmaf6A0ZtZ9HWuPecpnti4FkpzIq2LNOe7RwOjYeKd MDvY50RjKi9mcDYqvRmGbQLvGCfY4fX7DCuXigaFw6xjqRW/cIGS1i03KhSTJNsde/w6 XGa7CzkfB/ucLR45lGME8+LQJTPbssTPHqzhBLFEttBFGH8dcOd56ptTdkgGYk7K1sy7 9dqouyWCPx1IeQKZkVX8e6t2+FlRWDop4fk4MU7B2RfDPdyvjw8qXI5mQfbkyWavat8i SzZCl0E4Q1Qb3IPicTfPMBdgEt17geWwRY1aiE8zjQmziAPIcld+/Mh14hfII87Sf8Tu M9mw== X-Gm-Message-State: ABUngvfUjhq+Yat9XiQ+nPvGFlD+bbJfSvgw/bm9Bdi8zfx18LfrsbSAdh15i+Xlf7eCPA== X-Received: by 10.36.84.82 with SMTP id t79mr1182328ita.51.1478715190898; Wed, 09 Nov 2016 10:13:10 -0800 (PST) To: cygwin AT cygwin DOT com From: cyg Simple Subject: issetugid - not declared when _XOPEN_SOURCE is also defined Message-ID: Date: Wed, 9 Nov 2016 13:13:02 -0500 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 following program demonstrates the issue. Should issetugid be declared with this scenario? /*****************************************************/ #define _XOPEN_SOURCE 1 /* Causes declare warning */ #define __BSD_VISIBLE 1 #include int main(int argc, char ** argv) { int result; result = issetugid(); } /****************************************************/ -- 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