This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for bug c++/17964 (cpp error locations for C++)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Gerald Pfeifer <gerald at pfeifer dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 13 Nov 2005 01:03:34 +0000 (UTC)
- Subject: Re: Patch for bug c++/17964 (cpp error locations for C++)
- References: <Pine.BSF.4.62.0511130128390.10583@pulcherrima.dbai.tuwien.ac.at>
On Sun, 13 Nov 2005, Gerald Pfeifer wrote:
> The patch below fixes this. Bootstrapped on i386-unknown-freebsd4.10.
On mainline or with --enable-werror? This attribute was put there to
avoid a bootstrap failure for the assignment cpp_get_callbacks
(parse_in)->error = cp_cpp_error; (which otherwise received a warning that
the LHS should have a format attribute). It may be necessary to remove
the attribute from cp_cpp_error as well (with a comment explaining why).
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)