[PATCH] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.
Jerry Quinn
jlquinn@optonline.net
Mon Nov 24 13:44:00 GMT 2003
Carlo Wood writes:
> 2003-11-24 Carlo Wood <carlo@alinoe.com>
>
> PR libstdc++/13045
> * bits/demangle.h
> namespace __gnu_cxx::demangler
> (enum substitution_nt): Removed trailing comma.
> (print_IEEE_fp): Added extern declaration.
I have a couple of curiosity questions:
1) Are IEEE numbers the only ones that will ever be seen by
print_IEEE_fp?
2) Why not use sprintf?
3) Why not use code based on floatconv.c in libio?
I'm in the midst of getting a floating point printing patch based on
the floatconv code ready for the v3 library, so I'm wondering whether
the printer you wrote would make better sense as a base than the
floatconv-based code I have.
Jerry Quinn
More information about the Libstdc++
mailing list