From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22993 invoked by alias); 8 Jan 2014 21:00:46 -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 22983 invoked by uid 89); 8 Jan 2014 21:00:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail3-relais-sop.national.inria.fr Received: from mail3-relais-sop.national.inria.fr (HELO mail3-relais-sop.national.inria.fr) (192.134.164.104) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Wed, 08 Jan 2014 21:00:45 +0000 Received: from ip-225.net-81-220-130.standre.rev.numericable.fr (HELO laptop-mg.local) ([81.220.130.225]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 08 Jan 2014 22:00:41 +0100 Date: Wed, 08 Jan 2014 21:00:00 -0000 From: Marc Glisse Reply-To: gcc-help To: Ian Pilcher cc: gcc-help Subject: Re: Flexible array member initializers In-Reply-To: <52CDB80F.2080807@gmail.com> Message-ID: References: <52CDB80F.2080807@gmail.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-SW-Source: 2014-01/txt/msg00023.txt.bz2 On Wed, 8 Jan 2014, Ian Pilcher wrote: > I don't supposed that gcc provides any facility that will allow the > pre-processor to determine endianness and/or type sizes? With an empty file empty.c, try: gcc -dM -E empty.c and see if there is anything you like in what it prints. -- Marc Glisse