Look at those carefully, they are not the same. I'm not aware of compilers that don't support it, but we do have enough that one of them might not (xlc, Forte, gcc, Visual Studio).

David

In src/uipp/prompter/GARCommand.C, is now:

#if defined(HAVE_SSTREAM)
#include <sstream>
#elif defined(HAVE_STRSTREAM_H)
#include <strstream.h>
#elif defined(HAVE_STRSTREA_H)
#include <strstrea.h>
#endif


Why can't all that simply be replaced by:

#include <strstream>

Same in src/uipp/startup/StartupCommand.C and
uipp/startup/StartupApplication.h and
uipp/prompter/GARApplication.h .

(Notice that in the two .h files the testing for HAVE_STRSTREA_H
is done twice !!).


What systems so not comply to the single statement
"#include <strstream>" ?

Regards,
Rob.


--
.............................................................................
David L. Thompson                   Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED]    5515 Skyway Drive, Missoula, MT 59804
                                    Phone : (406)756-7472

Reply via email to