From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24767 invoked by alias); 10 Feb 2011 13:53:09 -0000 Received: (qmail 24759 invoked by uid 22791); 10 Feb 2011 13:53:08 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,SARE_SUB_ENC_UTF8 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 10 Feb 2011 13:53:00 +0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/47676] error:=?UTF-8?Q?=20field=20=C3=A2Ottyb=C3=A2=20has=20incomplete=20type?= X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 10 Feb 2011 14:39:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-02/txt/msg01310.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47676 --- Comment #3 from Jonathan Wakely 2011-02-10 13:52:48 UTC --- (In reply to comment #2) > The same code is being used before, which was compiling properly, but when > migrated to Linux+gcc, it is giving this issue. That's not a compiler bug. That means your code is not portable. This code will compile on some UNIX platforms, but not on GNU/Linux: #include caddr_t* p = 0; But that's not a GCC bug, it's because the code is not portable. Anyway, if you think it is a bug you need to follow the bug reporting instructions.