Complete.Org: Mailing Lists: Archives: freeciv-dev: June 1999:
Re: [Freeciv-Dev] MFC progress
Home

Re: [Freeciv-Dev] MFC progress

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ablack@xxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] MFC progress
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Sun, 20 Jun 1999 14:56:13 +1000 (EST)

Andy Black wrote:

> Yesterday I
> uploaded a partial copy of the source to the freeciv ftp site. 

In the MFC180alpha.README you uploaded, you wrote:

% PS: I an used to using C++ for coding, so the casts I made are in 
% the form static_cast<...>(...) insted of ...(...) or (...)...

If you want your work to be eventually included in the main 
freeciv distribution you will have to avoid doing this.

Freeciv is currently in plain C, with no C++, and that is not 
likely to change in the near future.  Freeciv is currently 
portable to many different (though mostly Unixy) platforms and 
compilers, and using C++ features would break some of those.  

Also, if you are compiling as C++ that may explain some of the 
problems you have been having, with enums and prototypes etc.
You should see if you can configure your compiler to act as
a plain C compiler.

Regards,
-- David


[Prev in Thread] Current Thread [Next in Thread]