On Mon, 14 Oct 2002 03:54:44 +0200 (EET) Nerijus Baliunas 
<[EMAIL PROTECTED]> wrote:

NB> Anyone knows why iostream.h is deprecated?

 Because this is what C++ standard says. Whether this was a good idea or
not is another question.

NB> Maybe include should be changed to
NB> #include <iostream> ? Won't there be problems with older g++ compilers then?

 There will be. So we need a configure test for USE_IOSTREAMH (see
Mconfig.h). I'll try to do it myself but in fact it's very easy so you
could try doing it yourself (advantage: you can test it, too). Just do

        AC_LANG_SAVE
        AC_LANG_CPLUSPLUS

        AC_CHECK_HEADER(iostream,,USE_IOSTREAMH=1)

        AC_LANG_RESTORE

somewhere in configure.in.

 Thanks,
VZ



-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to