Re: C++

From: Claude Belisle (cbeli@pop.agri.ch)
Date: 06/27/00


It won't without some modifications. Those are mainly to clean up some
of the 'loose' C constructs that are not accepted by C++.  Usually
involves casting some pointers, making implicitely int returning function
explicit, and a few other things. I did it with PhoenixMUD's code and it
took about 4 hours (but then, I'm no expert, so maybe 2 for you guys? ;)
But once it compiled (and not absolutely cleanly because one function cannot
really be fixed, but it only generates a warning), then it ran with no
complications whatsoever.

Claude Belisle


George Greer wrote:

> On Mon, 26 Jun 2000, Cassidy Barton wrote:
>
> >Is it possible to somehow use C++ code even though it uses C calls in
> >circle?
>
> CircleMUD should compile cleanly with C++.  We don't use it that way so it
> may crash upon startup and play the Star Spangled Banner on your speaker,
> but it should at least compile.
>
> --
> George Greer
> greerga@circlemud.org
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
>      +------------------------------------------------------------+


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT