From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20740 invoked by alias); 29 Oct 2012 15:13:59 -0000 Received: (qmail 20655 invoked by uid 48); 29 Oct 2012 15:13:35 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/55115] [>=4.5.0 regression] missing headers as fatal breaks cproto logic Date: Mon, 29 Oct 2012 15:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: manu 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" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 2012-10/txt/msg02706.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55115 --- Comment #9 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez 2012-10-29 15:13:33 UTC --- (In reply to comment #8) > (In reply to comment #5) > > Or even better, use libClang = to do > > what you want instead of parsing GCC errors, which are likely to change= in > > unexpected ways. >=20 > Did GCC team told me to go on clang side to fix my gcc issues ? :-D Just trying to help! :-D GCC is not really ready for this type of use. But = you can try to develop a gcc plugin: http://gcc.gnu.org/wiki/plugins, and contribute to GCC any functionality missing for your plugin. But I honestly think the workarounds Jonathan and I have proposed should be more than enough to fix your problem.