According to Geoff Hutchison:
> On Thu, 5 Jul 2001, Gilles Detillieux wrote:
> > Instead of, or in addition to? The StepWise patch had other fixes,
> > like getting rid of things like "::read()" if I recall correctly, which
> > were fixed in the 3.2 CVS tree, but not in the 3.1 code. Maybe these
> > aren't needed with the latest Mac OS X release?
>
> Instead of the StepWise patch. It mostly does a lot of symbol renaming,
> like Connection::close() to hclose().
Yes, that renaming was needed back then, so that Connection::close()
wouldn't "obscure" the C library close() function, requiring the
"::close()" construct to get through to the function. In 3.2, we ended
up capitalizing the first letter of the Close(), Connect() and other
methods to avoid the ambiguity so we could remove the colons on the C
library calls. So, I guess what you're saying is Mac OS X's compiler
no longer has problems with these construct, as it apparently did in
the past?
> > C++ library classes enough to say for sure what it should be, though.
> > I think part of the problem was that the classes were evolving, so we
> > can't count on all systems to use the same standard.
>
> >From the current GNU libstdc++ stream.h:
> // Compatibility with old library.
> // DO NOT USE THESE FUNCTIONS IN NEW CODE!
> // They are obsolete, non-standard, and non-reentrant.
>
> #define _STREAM_COMPAT
> #include <iostream.h>
>
> I think it's pretty clear we should at least move to iostream.h. Testing
> would show if iostream.h doesn't include stream.h when needed on a
> platform with an old C++ library.
OK, works for me. I just hope that the snapshot and/or prerelease testing
will catch any problem systems still using the obsolete functions.
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html