This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: Converting xconq to C++: first idiot question
- From: Erik Sigra <sigra at home dot se>
- To: xconq7 at sources dot redhat dot com
- Date: Sat, 30 Mar 2002 13:07:09 +0100
- Subject: Re: Converting xconq to C++: first idiot question
- References: <F186rnIjOkBW9YXRkO00000fc52@hotmail.com>
- Reply-to: sigra at home dot se
lördagen den 30 mars 2002 10.44 skrev du:
> My inclination is to change all '.c' and '.h' file extensions as the
> language switch is made. This will make automatic diffs on the modified
> branch impossible - and hence the first modified branch should have as few
> source code changes as possible to permit external verification. (I'm
> hoping the first change will be: to rename any C++ reserved words which
> appear; change file extensions; wrap external includes in an extern "C";
> ditto for any external function declarations not in a header file)
>
> First question: this renaming is unavoidable, yes or no? If no what would
> you suggest.
Don't rename the files yet. First make them compilable with g++. Those
changes have a good chance of being accepted.
Renaming can be avoided.