Bootstrap failure (Re: [Patch] Java: Prepare for %q, %< and %> in diagnostic messages)

Ranjit Mathew rmathew@gmail.com
Wed Oct 6 05:14:00 GMT 2004


> this causes bootstrap failure on s390(x) and presumably all other
> platforms where va_list is an array type.
> 
> Note that if va_list is an array type, it decays to a pointer
> when used a formal parameter like here:
> >@@ -3141,7 +3143,7 @@ issue_warning_error_from_context (
> >+                                const char *msgid, va_list ap)
> 
> and thus &ap does *not* have type va_list *, so this assignment
> >+  text.args_ptr = ≈
> fails due to type mismatch.

Awfully sorry for the breakage Ulrich! I had taken
the "text_info" bits as is from pretty-print.c (pp_printf)
and didn't realise the (subtle) difference.

Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT gmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/



More information about the Java-patches mailing list