From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15369 invoked by alias); 7 Nov 2007 05:52:00 -0000 Received: (qmail 15360 invoked by uid 22791); 7 Nov 2007 05:51:59 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 07 Nov 2007 05:51:55 +0000 Received: from zps19.corp.google.com (zps19.corp.google.com [172.25.146.19]) by smtp-out.google.com with ESMTP id lA75pkaT017717 for ; Wed, 7 Nov 2007 05:51:46 GMT Received: from smtp.corp.google.com (spacemonkey3.corp.google.com [192.168.120.116]) by zps19.corp.google.com with ESMTP id lA75pjG5028296 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 6 Nov 2007 21:51:45 -0800 Received: from localhost.localdomain.google.com (adsl-76-249-168-94.dsl.pltn13.sbcglobal.net [76.249.168.94]) (authenticated bits=0) by smtp.corp.google.com (8.13.8/8.13.8) with ESMTP id lA75pgIf024998 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 6 Nov 2007 21:51:44 -0800 To: overseers@gcc.gnu.org Subject: [onkar.mahajan@polaris.co.in] error: array type has incomplete element type ?? From: Ian Lance Taylor Date: Wed, 07 Nov 2007 05:52:00 -0000 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Mailing-List: contact overseers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: , Sender: overseers-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00043.txt.bz2 --=-=-= Content-length: 62 Another disclaimer snuck in. They're getting trickier. Ian --=-=-= Content-Type: message/rfc822 Content-Disposition: inline Content-length: 4332 X-From-Line: imap Tue Nov 6 21:39:24 2007 Return-Path: Received: from imap6.corp.google.com ([unix socket]) by imap6.corp.google.com (Cyrus v2.2.12-Invoca-RPM-2.2.12-1gg2) with LMTPA; Tue, 06 Nov 2007 19:23:47 -0800 X-Sieve: CMU Sieve 2.2 Received: from zps64.corp.google.com (zps64.corp.google.com [172.25.146.64]) by imap6.corp.google.com with ESMTP id lA73Nl8H003592 for ; Tue, 6 Nov 2007 19:23:47 -0800 X-Spam-Report: Content analysis details: (-0.3 points, 5.0 required) 1.0 NO_REAL_NAME From: does not include a real name -1.3 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Received: from smtp.google.com (pygz25.prod.google.com [10.34.227.25]) by zps64.corp.google.com with ESMTP id lA73NYBX005779 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 6 Nov 2007 19:23:34 -0800 X-Relay-IP: 209.132.176.174 Received: from sourceware.org (sourceware.org [209.132.176.174]) by Google Production Mailgate with SMTP id lA73NWag027372 for ; Tue, 6 Nov 2007 19:23:33 -0800 Received: (qmail 19777 invoked by alias); 7 Nov 2007 03:23:25 -0000 Received: (qmail 19757 invoked by uid 22791); 7 Nov 2007 03:23:25 -0000 X-Spam-Check-By: sourceware.org Received: from SMTP1.polaris.co.in (HELO smtp1.polaris.co.in) (202.54.70.77) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 07 Nov 2007 03:23:23 +0000 X-IronPort-AV: E=Sophos;i="4.21,381,1188757800"; d="scan'208";a="26101894" Received: from unknown (HELO psldns.polaris.co.in) ([172.16.2.43]) by smtp1.polaris.co.in with ESMTP; 07 Nov 2007 08:46:50 +0530 Subject: error: array type has incomplete element type ?? To: gcc-help@gcc.gnu.org X-Mailer: Lotus Notes Release 7.0 August 18, 2005 From: onkar.mahajan@polaris.co.in Message-ID: Date: Wed, 7 Nov 2007 08:53:13 +0530 X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Delivered-To: mailing list gcc-help@gcc.gnu.org Lines: 54 Xref: localhost.localdomain mail.gcc-help:6090 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-length: 1736 This is a part of the code : -------------------------------------------------------------- extern struct dummy temp[]; error: array type has incomplete element type -------------------------------------------------------------- which i compiled without any error on : $gcc -v Reading specs from /usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0 /2.9-aix51-020209/specs gcc version 2.9-aix51-020209 but the same code doesnt compile on the : $gcc -v Using built-in specs. Target: powerpc-ibm-aix5.3.0.0 Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0 Thread model: aix gcc version 4.0.0 please suggest me the arguments I must give to gcc 4.0 to get the above code compiled. Onkar PS : I have already gone through the article : . the code I am compiling is large and it is difficult to change it now. Please suggest me something that GCC 4.0 has for backward compatibility. " Save Paper - Do you really need to print this e-mail? " This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited. Visit us at http://www.polaris.co.in --=-=-=--