This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: DFP build failure


On Wed, Jan 09, 2008 at 04:30:45PM -0200, Thiago Jung Bauermann wrote:
> Mmmm.... sorry about that. What do you think of the attached fix
> (dangerous question to ask!)?
> 
> DOUBLEST_PRINT_FORMAT is currently not used, so not a big deal to change
> it a bit.

OK, with changelog entry.  This matches the standard PRIx64 et al,
too.  Could you update DOUBLEST_SCAN_FORMAT to match?

> -  ret = asprintf (&buffer, "%.30Lg", value_as_double (from));
> +  ret = asprintf (&buffer, "%.30"DOUBLEST_PRINT_FORMAT, value_as_double (from));

Space between " and D.

-- 
Daniel Jacobowitz
CodeSourcery


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