[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: C++ functions help



On Fri, Jul 30, 1999 at 12:25:15 -0500, Stephen Pitts wrote:
> A word of warning: In my (albeit limited) experience, C++ and
> the STL has been more of a pain than a blessing. I wrote several
> programs that used the STL for linked lists and sorting, and
> found out that FreeBSD is not up to par with Linux in terms of
> C++ compilers and lacked some STL features I needed,

Strange. I thought *BSD are using EGCS as well.

> and ended up rewriting the programs in Python to get them to port over
> cleanly.

If you want to have your C++ code portable to many systems and compiler
versions, you have to be quite conservative in your choice of C++ subset.
The mozilla folks have a writeup on this:
	http://www.mozilla.org/docs/tplist/catBuild/portable-cpp.html

HTH,
Ray
-- 
Cyberspace, a final frontier. These are the voyages of my messages, 
on a lightspeed mission to explore strange new systems and to boldly go
where no data has gone before. 


Reply to: