This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch for bug c++/17964 (cpp error locations for C++)


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]