Re: MERGE: bse2cxx-part3
Tim Janik <timj <at> gnu.org>
2011-08-01 15:46:47 GMT
On 27.07.2011 20:03, Stefan Westerfeld wrote:
> Hi!
>
> On Tue, Jul 26, 2011 at 04:17:37AM +0200, Tim Janik wrote:
>> On Fri, 22 Jul 2011, Stefan Westerfeld wrote:
>>
>>> Hi!
>>>
>>> I've ported a few bse more sources to C++. Sorry about minor mistakes in the
>>> commit order. Anyway, you can fetch the branch into your bse repo by using:
>>>
>>> git fetch http://space.twc.de/public/git/stwbeast.git bse2cxx-part3:bse2cxx-part3
>>
>> Thanks, great. I see you put a lot of work in there,
>> here're my bits:
>> - please use "uint" in the future, see my other mail.
>> - remove cxxdummy.cc from compilation rules if another C++ source is present.
>> - "void * boxed" should be "void *boxed" (unfixed in master)
>> - pointer casts should be written as: (void*) ptr
>> (no extra space between "void" and "*")
>
> Ok. Here is my cxxport.pl script, let me know if you need changes to that.
>
> #!/usr/bin/perl -w -pi.bak
> s,\bclass\b,klass,g;
> s,\bgint\b,int,g;
> s,\bguint\b,uint,g;
> s,\bgdouble\b,double,g;
> s,\bgfloat\b,float,g;
> s,\bgchar\b,char,g;
(Continue reading)