[tlbuild] Testing cxx-runtime-hack -- V 1.1

Jonathan Kew jonathan at jfkew.plus.com
Sat Jan 24 12:09:35 CET 2009


On 23 Jan 2009, at 23:21, Karl Berry wrote:

> Hi Thomas,
>
>    iostram.h is, according to this page http://www.gnu.org/software/gcc/gcc-4.3/porting_to.html
>      , a deprecated header;
>
> I doubt the new replacements are supported in the old compilers/system
> we work on.  And plenty of our existing code uses iostream.h.  We  
> can't
> rationally change any of that.
>
> Is it a matter of specifying other compiler flags, or that some
> compatibility package needs to be installed on your system, or it's
> simply and completely not available?  (Which I rather doubt, or no
> compilation of TL would ever have succeeded for you.)

It may be that TL was built with gcc 4.2 or earlier, where iostream.h  
was available (though deprecated). However, with gcc 4.3 it appears to  
have been removed altogether, AFAICT from a brief web search. So I  
suspect we're going to have to deal with this, as the newer compiler  
becomes more widespread as the default on current systems.

If modifying the code to (conditionally) use the newer header is too  
much hassle, perhaps it would be possible to provide our own   
iostream.h  that simply includes  iostream  with the appropriate  
namespace magic around it - at least, I guess that's the kind of thing  
it would need, but haven't actually looked.

JK



More information about the tlbuild mailing list