From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42361 invoked by alias); 9 Sep 2015 09:55:06 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 42304 invoked by uid 89); 9 Sep 2015 09:55:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f172.google.com Received: from mail-yk0-f172.google.com (HELO mail-yk0-f172.google.com) (209.85.160.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 09 Sep 2015 09:55:02 +0000 Received: by ykdg206 with SMTP id g206so6656121ykd.1 for ; Wed, 09 Sep 2015 02:55:00 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.129.56.139 with SMTP id f133mr36402050ywa.61.1441792500045; Wed, 09 Sep 2015 02:55:00 -0700 (PDT) Received: by 10.37.207.208 with HTTP; Wed, 9 Sep 2015 02:54:59 -0700 (PDT) In-Reply-To: References: Date: Wed, 09 Sep 2015 09:55:00 -0000 Message-ID: Subject: Re: Where are Darwin behaviors documented? From: Jonathan Wakely To: Jeffrey Walton Cc: "gcc-help@gcc.gnu.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00047.txt.bz2 On 9 September 2015 at 10:51, Jeffrey Walton wrote: > I'm encountering an issue related to the use of __attribute__ > ((constructor(priority)) and __attribute__ ((init_priority(priority)) > under Darwin, and I want to read more about it. The issue is the > program fails to compile, which means GCC cannot consume a well > defined program for which it defined the extensions. Cf., > https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#Common-Function-Attributes > and https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Attributes.html. > > I know the GCC manual has a section on Darwin specific options at > https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gcc/Darwin-Options.html#Darwin-Options. > > Where can I find reading on Darwin specific behavior when it diverges > from "standard" GCC platform behavior? That sounds like a bug, so should be fixed rather than documented.