[Freeciv-Dev] Re: (PR#11213) Making client headers compatible with C++
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11213 >
On Wed, 15 Dec 2004, Jason Short wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=11213 >
>
> What is left to be fixed?
>
> Before making any real C++-specific changes I would like to change the
> docs to clarify what the code is "supposed" to do. Does everyone agree
> that header files can be C++-compatible?
As I said before, I'm ok with variable renaming or adding casts to void
pointers, etc. What I am *not* ok with is adding "#ifdef __cplusplus" all over
the common code, or other C++ specific features. The common code is 100% C
and should remain so. It is a bad idea to pollute it with C++, because for all
we know someone could want to make an Objective-C client next, do the
same things, and turn the common code into a total mess.
GCC should remain as our target compiler suite.
---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
- [Freeciv-Dev] Re: (PR#11213) Making client headers compatible with C++, Frédéric Brière, 2004/12/01
- [Freeciv-Dev] Re: (PR#11213) Making client headers compatible with C++, Frédéric Brière, 2004/12/01
- [Freeciv-Dev] Re: (PR#11213) Making client headers compatible with C++, Jason Short, 2004/12/01
- [Freeciv-Dev] Re: (PR#11213) Making client headers compatible with C++, Frédéric Brière, 2004/12/03
- [Freeciv-Dev] (PR#11213) Making client headers compatible with C++, Jason Short, 2004/12/15
- [Freeciv-Dev] Re: (PR#11213) Making client headers compatible with C++, Frédéric Brière, 2004/12/15
- [Freeciv-Dev] Re: (PR#11213) Making client headers compatible with C++, Per I. Mathisen, 2004/12/15
- [Freeciv-Dev] Re: (PR#11213) Making client headers compatible with C++, Frédéric Brière, 2004/12/15
- [Freeciv-Dev] Re: (PR#11213) Making client headers compatible with C++,
Vasco Alexandre da Silva Costa <=
- [Freeciv-Dev] Re: (PR#11213) Making client headers compatible with C++, Frédéric Brière, 2004/12/15
- [Freeciv-Dev] (PR#11213) Making client headers compatible with C++, Vasco Alexandre da Silva Costa, 2004/12/15
- [Freeciv-Dev] Re: (PR#11213) Making client headers compatible with C++, Jason Short, 2004/12/16
- [Freeciv-Dev] Re: (PR#11213) Making client headers compatible with C++, Frédéric Brière, 2004/12/16
- [Freeciv-Dev] (PR#11213) Making client headers compatible with C++, Jason Short, 2004/12/26
|
|