This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch trunk] in memory pretty-printing
Richard Guenther wrote:
On Thu, Jun 18, 2009 at 5:03 PM, Basile
STARYNKEVITCH<basile@starynkevitch.net> wrote:
Hello All,
The attached patch (to trunk rev148659) is a port from the MELT branch
(which did test it quite significantly for the added features.).
The insight is that some plugins might want or need to pretty print (notably
for debugging purpose) outside of a FILE*. Using fmemopen is not portable
"Might want or need".
I don't see a reason for pushing in things that are incomplete and
are not needed now.
And fmemopen is good enough - plugin hosts are already restricted
anyway.
AFAIK, Solaris does not have fmemopen, but have a working dlopen.
However, I can do with fmemopen.
Regards.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***